├── .gitignore ├── LICENSE ├── README.md ├── build.gradle ├── common-mock ├── build.gradle └── src │ ├── main │ └── kotlin │ │ └── actions │ │ ├── AogMockFactory.kt │ │ └── Requests.kt │ └── test │ ├── kotlin │ └── actions │ │ └── ActionsSdkTest.kt │ └── resources │ ├── conversation_sample_basic_card_request.json │ ├── conversation_sample_basic_card_response.json │ ├── conversation_sample_welcome_request.json │ ├── conversation_sample_welcome_response.json │ ├── df_sample_basic_card_response.json │ ├── df_sample_browse_carousel_response.json │ ├── df_sample_carousel_response.json │ ├── df_sample_list_response.json │ ├── df_sample_media_response.json │ ├── df_sample_suggestions_response.json │ ├── df_sample_table_response.json │ ├── df_sample_test_response.json │ ├── df_sample_welcome_response.json │ ├── df_transaction_got_address.json │ └── df_transactions_confirm_transaction.json ├── common ├── build.gradle └── src │ ├── main │ └── kotlin │ │ └── actions │ │ ├── Assistant.kt │ │ ├── Common.kt │ │ ├── expected │ │ ├── BuiltInFrameworks.kt │ │ ├── Expected.kt │ │ └── GoogleAuthLib.kt │ │ ├── framework │ │ └── Framework.kt │ │ └── service │ │ ├── actionssdk │ │ ├── ActionsSdk.kt │ │ ├── CommonExtensions.kt │ │ ├── Conv.kt │ │ ├── api │ │ │ └── V2.kt │ │ └── conversation │ │ │ ├── Conversation.kt │ │ │ ├── Device.kt │ │ │ ├── Input.kt │ │ │ ├── Intent.kt │ │ │ ├── Surface.kt │ │ │ ├── User.kt │ │ │ ├── argument │ │ │ ├── Argument.kt │ │ │ ├── Media.kt │ │ │ └── NoInput.kt │ │ │ ├── question │ │ │ ├── Confirmation.kt │ │ │ ├── DateTime.kt │ │ │ ├── DeepLink.kt │ │ │ ├── NewSurface.kt │ │ │ ├── Place.kt │ │ │ ├── RegisterUpdate.kt │ │ │ ├── SignIn.kt │ │ │ ├── option │ │ │ │ ├── Carousel.kt │ │ │ │ ├── List.kt │ │ │ │ └── Option.kt │ │ │ ├── permission │ │ │ │ ├── Permission.kt │ │ │ │ └── Update.kt │ │ │ └── transaction │ │ │ │ ├── Decision.kt │ │ │ │ ├── DeliveryAddress.kt │ │ │ │ └── Requirements.kt │ │ │ └── response │ │ │ ├── Browse.kt │ │ │ ├── Image.kt │ │ │ ├── Linkout.kt │ │ │ ├── Media.kt │ │ │ ├── Order.kt │ │ │ ├── Response.kt │ │ │ ├── Rich.kt │ │ │ ├── RichResponseItem.kt │ │ │ ├── Simple.kt │ │ │ ├── Suggestion.kt │ │ │ ├── Url.kt │ │ │ └── card │ │ │ ├── Basic.kt │ │ │ ├── Button.kt │ │ │ └── Table.kt │ │ └── dialogflow │ │ ├── Context.kt │ │ ├── Conv.kt │ │ ├── Dialogflow.kt │ │ ├── DialogflowV1Message.kt │ │ ├── Incoming.kt │ │ └── api │ │ ├── V1.kt │ │ └── V2.kt │ └── test │ └── kotlin │ └── Test.kt ├── gradle └── wrapper │ ├── gradle-wrapper.jar │ └── gradle-wrapper.properties ├── gradlew ├── gradlew.bat ├── js-app ├── build.gradle └── src │ └── main │ └── kotlin │ └── js │ └── JsApp.kt ├── js ├── build.gradle ├── node_modules │ ├── .bin │ │ ├── atob │ │ ├── qunit │ │ └── which │ ├── anymatch │ │ ├── LICENSE │ │ ├── README.md │ │ ├── index.js │ │ └── package.json │ ├── arr-diff │ │ ├── LICENSE │ │ ├── README.md │ │ ├── index.js │ │ └── package.json │ ├── arr-flatten │ │ ├── LICENSE │ │ ├── README.md │ │ ├── index.js │ │ └── package.json │ ├── arr-union │ │ ├── LICENSE │ │ ├── README.md │ │ ├── index.js │ │ └── package.json │ ├── array-unique │ │ ├── LICENSE │ │ ├── README.md │ │ ├── index.js │ │ └── package.json │ ├── assign-symbols │ │ ├── LICENSE │ │ ├── README.md │ │ ├── index.js │ │ └── package.json │ ├── async-each │ │ ├── .npmignore │ │ ├── CHANGELOG.md │ │ ├── README.md │ │ ├── index.js │ │ └── package.json │ ├── atob │ │ ├── LICENSE │ │ ├── LICENSE.DOCS │ │ ├── README.md │ │ ├── bower.json │ │ ├── browser-atob.js │ │ ├── node-atob.js │ │ ├── package.json │ │ └── test.js │ ├── balanced-match │ │ ├── .npmignore │ │ ├── LICENSE.md │ │ ├── README.md │ │ ├── index.js │ │ └── package.json │ ├── base │ │ ├── LICENSE │ │ ├── README.md │ │ ├── index.js │ │ ├── node_modules │ │ │ ├── define-property │ │ │ │ ├── LICENSE │ │ │ │ ├── README.md │ │ │ │ ├── index.js │ │ │ │ └── package.json │ │ │ ├── is-accessor-descriptor │ │ │ │ ├── LICENSE │ │ │ │ ├── README.md │ │ │ │ ├── index.js │ │ │ │ └── package.json │ │ │ ├── is-data-descriptor │ │ │ │ ├── LICENSE │ │ │ │ ├── README.md │ │ │ │ ├── index.js │ │ │ │ └── package.json │ │ │ ├── is-descriptor │ │ │ │ ├── LICENSE │ │ │ │ ├── README.md │ │ │ │ ├── index.js │ │ │ │ └── package.json │ │ │ ├── is-extendable │ │ │ │ ├── LICENSE │ │ │ │ ├── README.md │ │ │ │ ├── index.d.ts │ │ │ │ ├── index.js │ │ │ │ └── package.json │ │ │ ├── isobject │ │ │ │ ├── LICENSE │ │ │ │ ├── README.md │ │ │ │ ├── index.d.ts │ │ │ │ ├── index.js │ │ │ │ └── package.json │ │ │ ├── kind-of │ │ │ │ ├── CHANGELOG.md │ │ │ │ ├── LICENSE │ │ │ │ ├── README.md │ │ │ │ ├── index.js │ │ │ │ └── package.json │ │ │ └── mixin-deep │ │ │ │ ├── LICENSE │ │ │ │ ├── README.md │ │ │ │ ├── index.js │ │ │ │ └── package.json │ │ └── package.json │ ├── binary-extensions │ │ ├── binary-extensions.json │ │ ├── license │ │ ├── package.json │ │ └── readme.md │ ├── brace-expansion │ │ ├── LICENSE │ │ ├── README.md │ │ ├── index.js │ │ └── package.json │ ├── braces │ │ ├── CHANGELOG.md │ │ ├── LICENSE │ │ ├── README.md │ │ ├── index.js │ │ ├── lib │ │ │ ├── compile.js │ │ │ ├── constants.js │ │ │ ├── expand.js │ │ │ ├── parse.js │ │ │ ├── stringify.js │ │ │ └── utils.js │ │ ├── node_modules │ │ │ ├── fill-range │ │ │ │ ├── LICENSE │ │ │ │ ├── README.md │ │ │ │ ├── index.js │ │ │ │ └── package.json │ │ │ ├── is-number │ │ │ │ ├── LICENSE │ │ │ │ ├── README.md │ │ │ │ ├── index.js │ │ │ │ └── package.json │ │ │ └── to-regex-range │ │ │ │ ├── LICENSE │ │ │ │ ├── README.md │ │ │ │ ├── index.js │ │ │ │ └── package.json │ │ └── package.json │ ├── cache-base │ │ ├── LICENSE │ │ ├── README.md │ │ ├── index.js │ │ ├── node_modules │ │ │ ├── extend-shallow │ │ │ │ ├── LICENSE │ │ │ │ ├── README.md │ │ │ │ ├── index.js │ │ │ │ └── package.json │ │ │ ├── isobject │ │ │ │ ├── LICENSE │ │ │ │ ├── README.md │ │ │ │ ├── index.d.ts │ │ │ │ ├── index.js │ │ │ │ └── package.json │ │ │ └── set-value │ │ │ │ ├── LICENSE │ │ │ │ ├── README.md │ │ │ │ ├── index.js │ │ │ │ └── package.json │ │ └── package.json │ ├── chokidar │ │ ├── CHANGELOG.md │ │ ├── README.md │ │ ├── index.js │ │ ├── lib │ │ │ ├── fsevents-handler.js │ │ │ └── nodefs-handler.js │ │ └── package.json │ ├── class-utils │ │ ├── LICENSE │ │ ├── README.md │ │ ├── index.js │ │ ├── node_modules │ │ │ ├── define-property │ │ │ │ ├── LICENSE │ │ │ │ ├── README.md │ │ │ │ ├── index.js │ │ │ │ └── package.json │ │ │ └── isobject │ │ │ │ ├── LICENSE │ │ │ │ ├── README.md │ │ │ │ ├── index.d.ts │ │ │ │ ├── index.js │ │ │ │ └── package.json │ │ └── package.json │ ├── collection-visit │ │ ├── LICENSE │ │ ├── README.md │ │ ├── index.js │ │ └── package.json │ ├── commander │ │ ├── CHANGELOG.md │ │ ├── LICENSE │ │ ├── Readme.md │ │ ├── index.js │ │ ├── package.json │ │ └── typings │ │ │ └── index.d.ts │ ├── component-emitter │ │ ├── History.md │ │ ├── LICENSE │ │ ├── Readme.md │ │ ├── index.js │ │ └── package.json │ ├── concat-map │ │ ├── .travis.yml │ │ ├── LICENSE │ │ ├── README.markdown │ │ ├── example │ │ │ └── map.js │ │ ├── index.js │ │ ├── package.json │ │ └── test │ │ │ └── map.js │ ├── copy-descriptor │ │ ├── LICENSE │ │ ├── index.js │ │ └── package.json │ ├── core-util-is │ │ ├── LICENSE │ │ ├── README.md │ │ ├── float.patch │ │ ├── lib │ │ │ └── util.js │ │ ├── package.json │ │ └── test.js │ ├── debug │ │ ├── .coveralls.yml │ │ ├── .eslintrc │ │ ├── .npmignore │ │ ├── .travis.yml │ │ ├── CHANGELOG.md │ │ ├── LICENSE │ │ ├── Makefile │ │ ├── README.md │ │ ├── component.json │ │ ├── karma.conf.js │ │ ├── node.js │ │ ├── package.json │ │ └── src │ │ │ ├── browser.js │ │ │ ├── debug.js │ │ │ ├── index.js │ │ │ ├── inspector-log.js │ │ │ └── node.js │ ├── decode-uri-component │ │ ├── index.js │ │ ├── license │ │ ├── package.json │ │ └── readme.md │ ├── define-property │ │ ├── CHANGELOG.md │ │ ├── LICENSE │ │ ├── README.md │ │ ├── index.js │ │ ├── node_modules │ │ │ ├── is-accessor-descriptor │ │ │ │ ├── LICENSE │ │ │ │ ├── README.md │ │ │ │ ├── index.js │ │ │ │ └── package.json │ │ │ ├── is-data-descriptor │ │ │ │ ├── LICENSE │ │ │ │ ├── README.md │ │ │ │ ├── index.js │ │ │ │ └── package.json │ │ │ ├── is-descriptor │ │ │ │ ├── LICENSE │ │ │ │ ├── README.md │ │ │ │ ├── index.js │ │ │ │ └── package.json │ │ │ ├── isobject │ │ │ │ ├── LICENSE │ │ │ │ ├── README.md │ │ │ │ ├── index.d.ts │ │ │ │ ├── index.js │ │ │ │ └── package.json │ │ │ └── kind-of │ │ │ │ ├── CHANGELOG.md │ │ │ │ ├── LICENSE │ │ │ │ ├── README.md │ │ │ │ ├── index.js │ │ │ │ └── package.json │ │ └── package.json │ ├── detect-file │ │ ├── LICENSE │ │ ├── README.md │ │ ├── index.js │ │ └── package.json │ ├── ensure-posix-path │ │ ├── README.md │ │ ├── index.js │ │ └── package.json │ ├── exists-stat │ │ ├── .npmignore │ │ ├── .travis.yml │ │ ├── README.md │ │ ├── index.js │ │ ├── package.json │ │ └── test.js │ ├── expand-brackets │ │ ├── LICENSE │ │ ├── README.md │ │ ├── index.js │ │ └── package.json │ ├── expand-range │ │ ├── LICENSE │ │ ├── README.md │ │ ├── index.js │ │ └── package.json │ ├── expand-tilde │ │ ├── LICENSE │ │ ├── README.md │ │ ├── index.js │ │ └── package.json │ ├── extend-shallow │ │ ├── LICENSE │ │ ├── README.md │ │ ├── index.js │ │ ├── node_modules │ │ │ └── is-extendable │ │ │ │ ├── LICENSE │ │ │ │ ├── README.md │ │ │ │ ├── index.d.ts │ │ │ │ ├── index.js │ │ │ │ └── package.json │ │ └── package.json │ ├── extglob │ │ ├── LICENSE │ │ ├── README.md │ │ ├── index.js │ │ └── package.json │ ├── filename-regex │ │ ├── LICENSE │ │ ├── README.md │ │ ├── index.js │ │ └── package.json │ ├── fill-range │ │ ├── LICENSE │ │ ├── README.md │ │ ├── index.js │ │ └── package.json │ ├── findup-sync │ │ ├── README.md │ │ ├── index.js │ │ ├── node_modules │ │ │ ├── arr-diff │ │ │ │ ├── LICENSE │ │ │ │ ├── README.md │ │ │ │ ├── index.js │ │ │ │ └── package.json │ │ │ ├── array-unique │ │ │ │ ├── LICENSE │ │ │ │ ├── README.md │ │ │ │ ├── index.js │ │ │ │ └── package.json │ │ │ ├── braces │ │ │ │ ├── LICENSE │ │ │ │ ├── README.md │ │ │ │ ├── index.js │ │ │ │ ├── lib │ │ │ │ │ ├── braces.js │ │ │ │ │ ├── compilers.js │ │ │ │ │ ├── parsers.js │ │ │ │ │ └── utils.js │ │ │ │ ├── node_modules │ │ │ │ │ └── extend-shallow │ │ │ │ │ │ ├── LICENSE │ │ │ │ │ │ ├── README.md │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ └── package.json │ │ │ │ └── package.json │ │ │ ├── expand-brackets │ │ │ │ ├── LICENSE │ │ │ │ ├── README.md │ │ │ │ ├── changelog.md │ │ │ │ ├── index.js │ │ │ │ ├── lib │ │ │ │ │ ├── compilers.js │ │ │ │ │ ├── parsers.js │ │ │ │ │ └── utils.js │ │ │ │ ├── node_modules │ │ │ │ │ ├── define-property │ │ │ │ │ │ ├── LICENSE │ │ │ │ │ │ ├── README.md │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ └── package.json │ │ │ │ │ ├── extend-shallow │ │ │ │ │ │ ├── LICENSE │ │ │ │ │ │ ├── README.md │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ └── package.json │ │ │ │ │ ├── is-accessor-descriptor │ │ │ │ │ │ ├── LICENSE │ │ │ │ │ │ ├── README.md │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ ├── node_modules │ │ │ │ │ │ │ └── kind-of │ │ │ │ │ │ │ │ ├── LICENSE │ │ │ │ │ │ │ │ ├── README.md │ │ │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ │ │ └── package.json │ │ │ │ │ │ └── package.json │ │ │ │ │ ├── is-data-descriptor │ │ │ │ │ │ ├── LICENSE │ │ │ │ │ │ ├── README.md │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ ├── node_modules │ │ │ │ │ │ │ └── kind-of │ │ │ │ │ │ │ │ ├── LICENSE │ │ │ │ │ │ │ │ ├── README.md │ │ │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ │ │ └── package.json │ │ │ │ │ │ └── package.json │ │ │ │ │ ├── is-descriptor │ │ │ │ │ │ ├── LICENSE │ │ │ │ │ │ ├── README.md │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ └── package.json │ │ │ │ │ └── kind-of │ │ │ │ │ │ ├── LICENSE │ │ │ │ │ │ ├── README.md │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ └── package.json │ │ │ │ └── package.json │ │ │ ├── extglob │ │ │ │ ├── LICENSE │ │ │ │ ├── README.md │ │ │ │ ├── changelog.md │ │ │ │ ├── index.js │ │ │ │ ├── lib │ │ │ │ │ ├── compilers.js │ │ │ │ │ ├── extglob.js │ │ │ │ │ ├── parsers.js │ │ │ │ │ └── utils.js │ │ │ │ ├── node_modules │ │ │ │ │ ├── define-property │ │ │ │ │ │ ├── LICENSE │ │ │ │ │ │ ├── README.md │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ └── package.json │ │ │ │ │ └── extend-shallow │ │ │ │ │ │ ├── LICENSE │ │ │ │ │ │ ├── README.md │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ └── package.json │ │ │ │ └── package.json │ │ │ ├── fill-range │ │ │ │ ├── LICENSE │ │ │ │ ├── README.md │ │ │ │ ├── index.js │ │ │ │ ├── node_modules │ │ │ │ │ └── extend-shallow │ │ │ │ │ │ ├── LICENSE │ │ │ │ │ │ ├── README.md │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ └── package.json │ │ │ │ └── package.json │ │ │ ├── is-accessor-descriptor │ │ │ │ ├── LICENSE │ │ │ │ ├── README.md │ │ │ │ ├── index.js │ │ │ │ └── package.json │ │ │ ├── is-data-descriptor │ │ │ │ ├── LICENSE │ │ │ │ ├── README.md │ │ │ │ ├── index.js │ │ │ │ └── package.json │ │ │ ├── is-descriptor │ │ │ │ ├── LICENSE │ │ │ │ ├── README.md │ │ │ │ ├── index.js │ │ │ │ └── package.json │ │ │ ├── is-extglob │ │ │ │ ├── LICENSE │ │ │ │ ├── README.md │ │ │ │ ├── index.js │ │ │ │ └── package.json │ │ │ ├── is-glob │ │ │ │ ├── LICENSE │ │ │ │ ├── README.md │ │ │ │ ├── index.js │ │ │ │ └── package.json │ │ │ ├── is-number │ │ │ │ ├── LICENSE │ │ │ │ ├── README.md │ │ │ │ ├── index.js │ │ │ │ ├── node_modules │ │ │ │ │ └── kind-of │ │ │ │ │ │ ├── LICENSE │ │ │ │ │ │ ├── README.md │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ └── package.json │ │ │ │ └── package.json │ │ │ ├── isobject │ │ │ │ ├── LICENSE │ │ │ │ ├── README.md │ │ │ │ ├── index.d.ts │ │ │ │ ├── index.js │ │ │ │ └── package.json │ │ │ ├── kind-of │ │ │ │ ├── CHANGELOG.md │ │ │ │ ├── LICENSE │ │ │ │ ├── README.md │ │ │ │ ├── index.js │ │ │ │ └── package.json │ │ │ └── micromatch │ │ │ │ ├── CHANGELOG.md │ │ │ │ ├── LICENSE │ │ │ │ ├── README.md │ │ │ │ ├── index.js │ │ │ │ ├── lib │ │ │ │ ├── cache.js │ │ │ │ ├── compilers.js │ │ │ │ ├── parsers.js │ │ │ │ └── utils.js │ │ │ │ └── package.json │ │ └── package.json │ ├── for-in │ │ ├── LICENSE │ │ ├── README.md │ │ ├── index.js │ │ └── package.json │ ├── for-own │ │ ├── LICENSE │ │ ├── README.md │ │ ├── index.js │ │ └── package.json │ ├── fragment-cache │ │ ├── LICENSE │ │ ├── README.md │ │ ├── index.js │ │ └── package.json │ ├── fsevents │ │ ├── .npmignore │ │ ├── .travis.yml │ │ ├── ISSUE_TEMPLATE.md │ │ ├── LICENSE │ │ ├── Readme.md │ │ ├── binding.gyp │ │ ├── fsevents.cc │ │ ├── fsevents.js │ │ ├── install.js │ │ ├── lib │ │ │ └── binding │ │ │ │ └── Release │ │ │ │ ├── node-v11-darwin-x64 │ │ │ │ └── fse.node │ │ │ │ ├── node-v46-darwin-x64 │ │ │ │ └── fse.node │ │ │ │ ├── node-v47-darwin-x64 │ │ │ │ └── fse.node │ │ │ │ ├── node-v48-darwin-x64 │ │ │ │ └── fse.node │ │ │ │ └── node-v57-darwin-x64 │ │ │ │ └── fse.node │ │ ├── node_modules │ │ │ ├── .bin │ │ │ │ ├── detect-libc │ │ │ │ ├── mkdirp │ │ │ │ ├── needle │ │ │ │ ├── node-pre-gyp │ │ │ │ ├── nopt │ │ │ │ ├── rc │ │ │ │ ├── rimraf │ │ │ │ └── semver │ │ │ ├── abbrev │ │ │ │ ├── LICENSE │ │ │ │ ├── README.md │ │ │ │ ├── abbrev.js │ │ │ │ └── package.json │ │ │ ├── ansi-regex │ │ │ │ ├── index.js │ │ │ │ ├── license │ │ │ │ ├── package.json │ │ │ │ └── readme.md │ │ │ ├── aproba │ │ │ │ ├── LICENSE │ │ │ │ ├── README.md │ │ │ │ ├── index.js │ │ │ │ └── package.json │ │ │ ├── are-we-there-yet │ │ │ │ ├── CHANGES.md │ │ │ │ ├── LICENSE │ │ │ │ ├── README.md │ │ │ │ ├── index.js │ │ │ │ ├── package.json │ │ │ │ ├── tracker-base.js │ │ │ │ ├── tracker-group.js │ │ │ │ ├── tracker-stream.js │ │ │ │ └── tracker.js │ │ │ ├── balanced-match │ │ │ │ ├── .npmignore │ │ │ │ ├── LICENSE.md │ │ │ │ ├── README.md │ │ │ │ ├── index.js │ │ │ │ └── package.json │ │ │ ├── brace-expansion │ │ │ │ ├── LICENSE │ │ │ │ ├── README.md │ │ │ │ ├── index.js │ │ │ │ └── package.json │ │ │ ├── chownr │ │ │ │ ├── LICENSE │ │ │ │ ├── README.md │ │ │ │ ├── chownr.js │ │ │ │ └── package.json │ │ │ ├── code-point-at │ │ │ │ ├── index.js │ │ │ │ ├── license │ │ │ │ ├── package.json │ │ │ │ └── readme.md │ │ │ ├── concat-map │ │ │ │ ├── .travis.yml │ │ │ │ ├── LICENSE │ │ │ │ ├── README.markdown │ │ │ │ ├── example │ │ │ │ │ └── map.js │ │ │ │ ├── index.js │ │ │ │ ├── package.json │ │ │ │ └── test │ │ │ │ │ └── map.js │ │ │ ├── console-control-strings │ │ │ │ ├── LICENSE │ │ │ │ ├── README.md │ │ │ │ ├── index.js │ │ │ │ └── package.json │ │ │ ├── core-util-is │ │ │ │ ├── LICENSE │ │ │ │ ├── README.md │ │ │ │ ├── float.patch │ │ │ │ ├── lib │ │ │ │ │ └── util.js │ │ │ │ ├── package.json │ │ │ │ └── test.js │ │ │ ├── debug │ │ │ │ ├── .coveralls.yml │ │ │ │ ├── .eslintrc │ │ │ │ ├── .npmignore │ │ │ │ ├── .travis.yml │ │ │ │ ├── CHANGELOG.md │ │ │ │ ├── LICENSE │ │ │ │ ├── Makefile │ │ │ │ ├── README.md │ │ │ │ ├── component.json │ │ │ │ ├── karma.conf.js │ │ │ │ ├── node.js │ │ │ │ ├── package.json │ │ │ │ └── src │ │ │ │ │ ├── browser.js │ │ │ │ │ ├── debug.js │ │ │ │ │ ├── index.js │ │ │ │ │ ├── inspector-log.js │ │ │ │ │ └── node.js │ │ │ ├── deep-extend │ │ │ │ ├── CHANGELOG.md │ │ │ │ ├── LICENSE │ │ │ │ ├── README.md │ │ │ │ ├── index.js │ │ │ │ ├── lib │ │ │ │ │ └── deep-extend.js │ │ │ │ └── package.json │ │ │ ├── delegates │ │ │ │ ├── .npmignore │ │ │ │ ├── History.md │ │ │ │ ├── License │ │ │ │ ├── Makefile │ │ │ │ ├── Readme.md │ │ │ │ ├── index.js │ │ │ │ ├── package.json │ │ │ │ └── test │ │ │ │ │ └── index.js │ │ │ ├── detect-libc │ │ │ │ ├── .npmignore │ │ │ │ ├── LICENSE │ │ │ │ ├── README.md │ │ │ │ ├── lib │ │ │ │ │ └── detect-libc.js │ │ │ │ └── package.json │ │ │ ├── fs-minipass │ │ │ │ ├── LICENSE │ │ │ │ ├── README.md │ │ │ │ ├── index.js │ │ │ │ └── package.json │ │ │ ├── fs.realpath │ │ │ │ ├── LICENSE │ │ │ │ ├── README.md │ │ │ │ ├── index.js │ │ │ │ ├── old.js │ │ │ │ └── package.json │ │ │ ├── gauge │ │ │ │ ├── CHANGELOG.md │ │ │ │ ├── LICENSE │ │ │ │ ├── README.md │ │ │ │ ├── base-theme.js │ │ │ │ ├── error.js │ │ │ │ ├── has-color.js │ │ │ │ ├── index.js │ │ │ │ ├── package.json │ │ │ │ ├── plumbing.js │ │ │ │ ├── process.js │ │ │ │ ├── progress-bar.js │ │ │ │ ├── render-template.js │ │ │ │ ├── set-immediate.js │ │ │ │ ├── set-interval.js │ │ │ │ ├── spin.js │ │ │ │ ├── template-item.js │ │ │ │ ├── theme-set.js │ │ │ │ ├── themes.js │ │ │ │ └── wide-truncate.js │ │ │ ├── glob │ │ │ │ ├── LICENSE │ │ │ │ ├── README.md │ │ │ │ ├── changelog.md │ │ │ │ ├── common.js │ │ │ │ ├── glob.js │ │ │ │ ├── package.json │ │ │ │ └── sync.js │ │ │ ├── has-unicode │ │ │ │ ├── LICENSE │ │ │ │ ├── README.md │ │ │ │ ├── index.js │ │ │ │ └── package.json │ │ │ ├── iconv-lite │ │ │ │ ├── .travis.yml │ │ │ │ ├── Changelog.md │ │ │ │ ├── LICENSE │ │ │ │ ├── README.md │ │ │ │ ├── encodings │ │ │ │ │ ├── dbcs-codec.js │ │ │ │ │ ├── dbcs-data.js │ │ │ │ │ ├── index.js │ │ │ │ │ ├── internal.js │ │ │ │ │ ├── sbcs-codec.js │ │ │ │ │ ├── sbcs-data-generated.js │ │ │ │ │ ├── sbcs-data.js │ │ │ │ │ ├── tables │ │ │ │ │ │ ├── big5-added.json │ │ │ │ │ │ ├── cp936.json │ │ │ │ │ │ ├── cp949.json │ │ │ │ │ │ ├── cp950.json │ │ │ │ │ │ ├── eucjp.json │ │ │ │ │ │ ├── gb18030-ranges.json │ │ │ │ │ │ ├── gbk-added.json │ │ │ │ │ │ └── shiftjis.json │ │ │ │ │ ├── utf16.js │ │ │ │ │ └── utf7.js │ │ │ │ ├── lib │ │ │ │ │ ├── bom-handling.js │ │ │ │ │ ├── extend-node.js │ │ │ │ │ ├── index.d.ts │ │ │ │ │ ├── index.js │ │ │ │ │ └── streams.js │ │ │ │ └── package.json │ │ │ ├── ignore-walk │ │ │ │ ├── LICENSE │ │ │ │ ├── README.md │ │ │ │ ├── index.js │ │ │ │ └── package.json │ │ │ ├── inflight │ │ │ │ ├── LICENSE │ │ │ │ ├── README.md │ │ │ │ ├── inflight.js │ │ │ │ └── package.json │ │ │ ├── inherits │ │ │ │ ├── LICENSE │ │ │ │ ├── README.md │ │ │ │ ├── inherits.js │ │ │ │ ├── inherits_browser.js │ │ │ │ └── package.json │ │ │ ├── ini │ │ │ │ ├── LICENSE │ │ │ │ ├── README.md │ │ │ │ ├── ini.js │ │ │ │ └── package.json │ │ │ ├── is-fullwidth-code-point │ │ │ │ ├── index.js │ │ │ │ ├── license │ │ │ │ ├── package.json │ │ │ │ └── readme.md │ │ │ ├── isarray │ │ │ │ ├── .npmignore │ │ │ │ ├── .travis.yml │ │ │ │ ├── Makefile │ │ │ │ ├── README.md │ │ │ │ ├── component.json │ │ │ │ ├── index.js │ │ │ │ ├── package.json │ │ │ │ └── test.js │ │ │ ├── minimatch │ │ │ │ ├── LICENSE │ │ │ │ ├── README.md │ │ │ │ ├── minimatch.js │ │ │ │ └── package.json │ │ │ ├── minimist │ │ │ │ ├── .travis.yml │ │ │ │ ├── LICENSE │ │ │ │ ├── example │ │ │ │ │ └── parse.js │ │ │ │ ├── index.js │ │ │ │ ├── package.json │ │ │ │ ├── readme.markdown │ │ │ │ └── test │ │ │ │ │ ├── dash.js │ │ │ │ │ ├── default_bool.js │ │ │ │ │ ├── dotted.js │ │ │ │ │ ├── long.js │ │ │ │ │ ├── parse.js │ │ │ │ │ ├── parse_modified.js │ │ │ │ │ ├── short.js │ │ │ │ │ └── whitespace.js │ │ │ ├── minipass │ │ │ │ ├── README.md │ │ │ │ ├── index.js │ │ │ │ └── package.json │ │ │ ├── minizlib │ │ │ │ ├── LICENSE │ │ │ │ ├── README.md │ │ │ │ ├── constants.js │ │ │ │ ├── index.js │ │ │ │ └── package.json │ │ │ ├── mkdirp │ │ │ │ ├── .travis.yml │ │ │ │ ├── LICENSE │ │ │ │ ├── examples │ │ │ │ │ └── pow.js │ │ │ │ ├── index.js │ │ │ │ ├── package.json │ │ │ │ ├── readme.markdown │ │ │ │ └── test │ │ │ │ │ ├── chmod.js │ │ │ │ │ ├── clobber.js │ │ │ │ │ ├── mkdirp.js │ │ │ │ │ ├── opts_fs.js │ │ │ │ │ ├── opts_fs_sync.js │ │ │ │ │ ├── perm.js │ │ │ │ │ ├── perm_sync.js │ │ │ │ │ ├── race.js │ │ │ │ │ ├── rel.js │ │ │ │ │ ├── return.js │ │ │ │ │ ├── return_sync.js │ │ │ │ │ ├── root.js │ │ │ │ │ ├── sync.js │ │ │ │ │ ├── umask.js │ │ │ │ │ └── umask_sync.js │ │ │ ├── ms │ │ │ │ ├── index.js │ │ │ │ ├── license.md │ │ │ │ ├── package.json │ │ │ │ └── readme.md │ │ │ ├── needle │ │ │ │ ├── README.md │ │ │ │ ├── examples │ │ │ │ │ ├── deflated-stream.js │ │ │ │ │ ├── digest-auth.js │ │ │ │ │ ├── download-to-file.js │ │ │ │ │ ├── multipart-stream.js │ │ │ │ │ ├── parsed-stream.js │ │ │ │ │ ├── parsed-stream2.js │ │ │ │ │ ├── stream-events.js │ │ │ │ │ ├── stream-to-file.js │ │ │ │ │ └── upload-image.js │ │ │ │ ├── lib │ │ │ │ │ ├── auth.js │ │ │ │ │ ├── cookies.js │ │ │ │ │ ├── decoder.js │ │ │ │ │ ├── multipart.js │ │ │ │ │ ├── needle.js │ │ │ │ │ ├── parsers.js │ │ │ │ │ └── querystring.js │ │ │ │ ├── license.txt │ │ │ │ ├── package.json │ │ │ │ └── test │ │ │ │ │ ├── basic_auth_spec.js │ │ │ │ │ ├── compression_spec.js │ │ │ │ │ ├── cookies_spec.js │ │ │ │ │ ├── decoder_spec.js │ │ │ │ │ ├── errors_spec.js │ │ │ │ │ ├── headers_spec.js │ │ │ │ │ ├── helpers.js │ │ │ │ │ ├── long_string_spec.js │ │ │ │ │ ├── output_spec.js │ │ │ │ │ ├── parsing_spec.js │ │ │ │ │ ├── post_data_spec.js │ │ │ │ │ ├── proxy_spec.js │ │ │ │ │ ├── querystring_spec.js │ │ │ │ │ ├── redirect_spec.js │ │ │ │ │ ├── redirect_with_timeout.js │ │ │ │ │ ├── request_stream_spec.js │ │ │ │ │ ├── response_stream_spec.js │ │ │ │ │ ├── socket_pool_spec.js │ │ │ │ │ ├── url_spec.js │ │ │ │ │ └── utils │ │ │ │ │ ├── formidable.js │ │ │ │ │ ├── proxy.js │ │ │ │ │ └── test.js │ │ │ ├── node-pre-gyp │ │ │ │ ├── CHANGELOG.md │ │ │ │ ├── LICENSE │ │ │ │ ├── README.md │ │ │ │ ├── appveyor.yml │ │ │ │ ├── contributing.md │ │ │ │ ├── lib │ │ │ │ │ ├── build.js │ │ │ │ │ ├── clean.js │ │ │ │ │ ├── configure.js │ │ │ │ │ ├── info.js │ │ │ │ │ ├── install.js │ │ │ │ │ ├── node-pre-gyp.js │ │ │ │ │ ├── package.js │ │ │ │ │ ├── pre-binding.js │ │ │ │ │ ├── publish.js │ │ │ │ │ ├── rebuild.js │ │ │ │ │ ├── reinstall.js │ │ │ │ │ ├── reveal.js │ │ │ │ │ ├── testbinary.js │ │ │ │ │ ├── testpackage.js │ │ │ │ │ ├── unpublish.js │ │ │ │ │ └── util │ │ │ │ │ │ ├── abi_crosswalk.json │ │ │ │ │ │ ├── compile.js │ │ │ │ │ │ ├── handle_gyp_opts.js │ │ │ │ │ │ ├── napi.js │ │ │ │ │ │ ├── nw-pre-gyp │ │ │ │ │ │ ├── index.html │ │ │ │ │ │ └── package.json │ │ │ │ │ │ ├── s3_setup.js │ │ │ │ │ │ └── versioning.js │ │ │ │ └── package.json │ │ │ ├── nopt │ │ │ │ ├── .npmignore │ │ │ │ ├── .travis.yml │ │ │ │ ├── CHANGELOG.md │ │ │ │ ├── LICENSE │ │ │ │ ├── README.md │ │ │ │ ├── examples │ │ │ │ │ └── my-program.js │ │ │ │ ├── lib │ │ │ │ │ └── nopt.js │ │ │ │ ├── package.json │ │ │ │ └── test │ │ │ │ │ └── basic.js │ │ │ ├── npm-bundled │ │ │ │ ├── README.md │ │ │ │ ├── index.js │ │ │ │ └── package.json │ │ │ ├── npm-packlist │ │ │ │ ├── LICENSE │ │ │ │ ├── README.md │ │ │ │ ├── index.js │ │ │ │ └── package.json │ │ │ ├── npmlog │ │ │ │ ├── CHANGELOG.md │ │ │ │ ├── LICENSE │ │ │ │ ├── README.md │ │ │ │ ├── log.js │ │ │ │ └── package.json │ │ │ ├── number-is-nan │ │ │ │ ├── index.js │ │ │ │ ├── license │ │ │ │ ├── package.json │ │ │ │ └── readme.md │ │ │ ├── object-assign │ │ │ │ ├── index.js │ │ │ │ ├── license │ │ │ │ ├── package.json │ │ │ │ └── readme.md │ │ │ ├── once │ │ │ │ ├── LICENSE │ │ │ │ ├── README.md │ │ │ │ ├── once.js │ │ │ │ └── package.json │ │ │ ├── os-homedir │ │ │ │ ├── index.js │ │ │ │ ├── license │ │ │ │ ├── package.json │ │ │ │ └── readme.md │ │ │ ├── os-tmpdir │ │ │ │ ├── index.js │ │ │ │ ├── license │ │ │ │ ├── package.json │ │ │ │ └── readme.md │ │ │ ├── osenv │ │ │ │ ├── LICENSE │ │ │ │ ├── README.md │ │ │ │ ├── osenv.js │ │ │ │ └── package.json │ │ │ ├── path-is-absolute │ │ │ │ ├── index.js │ │ │ │ ├── license │ │ │ │ ├── package.json │ │ │ │ └── readme.md │ │ │ ├── process-nextick-args │ │ │ │ ├── index.js │ │ │ │ ├── license.md │ │ │ │ ├── package.json │ │ │ │ └── readme.md │ │ │ ├── rc │ │ │ │ ├── .npmignore │ │ │ │ ├── LICENSE.APACHE2 │ │ │ │ ├── LICENSE.BSD │ │ │ │ ├── LICENSE.MIT │ │ │ │ ├── README.md │ │ │ │ ├── browser.js │ │ │ │ ├── cli.js │ │ │ │ ├── index.js │ │ │ │ ├── lib │ │ │ │ │ └── utils.js │ │ │ │ ├── node_modules │ │ │ │ │ └── minimist │ │ │ │ │ │ ├── .travis.yml │ │ │ │ │ │ ├── LICENSE │ │ │ │ │ │ ├── example │ │ │ │ │ │ └── parse.js │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ ├── package.json │ │ │ │ │ │ ├── readme.markdown │ │ │ │ │ │ └── test │ │ │ │ │ │ ├── all_bool.js │ │ │ │ │ │ ├── bool.js │ │ │ │ │ │ ├── dash.js │ │ │ │ │ │ ├── default_bool.js │ │ │ │ │ │ ├── dotted.js │ │ │ │ │ │ ├── kv_short.js │ │ │ │ │ │ ├── long.js │ │ │ │ │ │ ├── num.js │ │ │ │ │ │ ├── parse.js │ │ │ │ │ │ ├── parse_modified.js │ │ │ │ │ │ ├── short.js │ │ │ │ │ │ ├── stop_early.js │ │ │ │ │ │ ├── unknown.js │ │ │ │ │ │ └── whitespace.js │ │ │ │ ├── package.json │ │ │ │ └── test │ │ │ │ │ ├── ini.js │ │ │ │ │ ├── nested-env-vars.js │ │ │ │ │ └── test.js │ │ │ ├── readable-stream │ │ │ │ ├── .travis.yml │ │ │ │ ├── CONTRIBUTING.md │ │ │ │ ├── GOVERNANCE.md │ │ │ │ ├── LICENSE │ │ │ │ ├── README.md │ │ │ │ ├── doc │ │ │ │ │ └── wg-meetings │ │ │ │ │ │ └── 2015-01-30.md │ │ │ │ ├── duplex-browser.js │ │ │ │ ├── duplex.js │ │ │ │ ├── lib │ │ │ │ │ ├── _stream_duplex.js │ │ │ │ │ ├── _stream_passthrough.js │ │ │ │ │ ├── _stream_readable.js │ │ │ │ │ ├── _stream_transform.js │ │ │ │ │ ├── _stream_writable.js │ │ │ │ │ └── internal │ │ │ │ │ │ └── streams │ │ │ │ │ │ ├── BufferList.js │ │ │ │ │ │ ├── destroy.js │ │ │ │ │ │ ├── stream-browser.js │ │ │ │ │ │ └── stream.js │ │ │ │ ├── package.json │ │ │ │ ├── passthrough.js │ │ │ │ ├── readable-browser.js │ │ │ │ ├── readable.js │ │ │ │ ├── transform.js │ │ │ │ ├── writable-browser.js │ │ │ │ └── writable.js │ │ │ ├── rimraf │ │ │ │ ├── LICENSE │ │ │ │ ├── README.md │ │ │ │ ├── bin.js │ │ │ │ ├── package.json │ │ │ │ └── rimraf.js │ │ │ ├── safe-buffer │ │ │ │ ├── .travis.yml │ │ │ │ ├── LICENSE │ │ │ │ ├── README.md │ │ │ │ ├── index.js │ │ │ │ ├── package.json │ │ │ │ └── test.js │ │ │ ├── safer-buffer │ │ │ │ ├── LICENSE │ │ │ │ ├── Porting-Buffer.md │ │ │ │ ├── Readme.md │ │ │ │ ├── dangerous.js │ │ │ │ ├── package.json │ │ │ │ ├── safer.js │ │ │ │ └── tests.js │ │ │ ├── sax │ │ │ │ ├── LICENSE │ │ │ │ ├── README.md │ │ │ │ ├── lib │ │ │ │ │ └── sax.js │ │ │ │ └── package.json │ │ │ ├── semver │ │ │ │ ├── LICENSE │ │ │ │ ├── README.md │ │ │ │ ├── package.json │ │ │ │ ├── range.bnf │ │ │ │ └── semver.js │ │ │ ├── set-blocking │ │ │ │ ├── CHANGELOG.md │ │ │ │ ├── LICENSE.txt │ │ │ │ ├── README.md │ │ │ │ ├── index.js │ │ │ │ └── package.json │ │ │ ├── signal-exit │ │ │ │ ├── CHANGELOG.md │ │ │ │ ├── LICENSE.txt │ │ │ │ ├── README.md │ │ │ │ ├── index.js │ │ │ │ ├── package.json │ │ │ │ └── signals.js │ │ │ ├── string-width │ │ │ │ ├── index.js │ │ │ │ ├── license │ │ │ │ ├── package.json │ │ │ │ └── readme.md │ │ │ ├── string_decoder │ │ │ │ ├── .travis.yml │ │ │ │ ├── LICENSE │ │ │ │ ├── README.md │ │ │ │ ├── lib │ │ │ │ │ └── string_decoder.js │ │ │ │ └── package.json │ │ │ ├── strip-ansi │ │ │ │ ├── index.js │ │ │ │ ├── license │ │ │ │ ├── package.json │ │ │ │ └── readme.md │ │ │ ├── strip-json-comments │ │ │ │ ├── index.js │ │ │ │ ├── license │ │ │ │ ├── package.json │ │ │ │ └── readme.md │ │ │ ├── tar │ │ │ │ ├── LICENSE │ │ │ │ ├── README.md │ │ │ │ ├── index.js │ │ │ │ ├── lib │ │ │ │ │ ├── buffer.js │ │ │ │ │ ├── create.js │ │ │ │ │ ├── extract.js │ │ │ │ │ ├── header.js │ │ │ │ │ ├── high-level-opt.js │ │ │ │ │ ├── large-numbers.js │ │ │ │ │ ├── list.js │ │ │ │ │ ├── mkdir.js │ │ │ │ │ ├── pack.js │ │ │ │ │ ├── parse.js │ │ │ │ │ ├── pax.js │ │ │ │ │ ├── read-entry.js │ │ │ │ │ ├── replace.js │ │ │ │ │ ├── types.js │ │ │ │ │ ├── unpack.js │ │ │ │ │ ├── update.js │ │ │ │ │ ├── warn-mixin.js │ │ │ │ │ ├── winchars.js │ │ │ │ │ └── write-entry.js │ │ │ │ └── package.json │ │ │ ├── util-deprecate │ │ │ │ ├── History.md │ │ │ │ ├── LICENSE │ │ │ │ ├── README.md │ │ │ │ ├── browser.js │ │ │ │ ├── node.js │ │ │ │ └── package.json │ │ │ ├── wide-align │ │ │ │ ├── LICENSE │ │ │ │ ├── README.md │ │ │ │ ├── align.js │ │ │ │ └── package.json │ │ │ ├── wrappy │ │ │ │ ├── LICENSE │ │ │ │ ├── README.md │ │ │ │ ├── package.json │ │ │ │ └── wrappy.js │ │ │ └── yallist │ │ │ │ ├── LICENSE │ │ │ │ ├── README.md │ │ │ │ ├── iterator.js │ │ │ │ ├── package.json │ │ │ │ └── yallist.js │ │ ├── package.json │ │ └── src │ │ │ ├── async.cc │ │ │ ├── constants.cc │ │ │ ├── locking.cc │ │ │ ├── methods.cc │ │ │ ├── storage.cc │ │ │ └── thread.cc │ ├── get-value │ │ ├── LICENSE │ │ ├── index.js │ │ └── package.json │ ├── glob-base │ │ ├── LICENSE │ │ ├── README.md │ │ ├── index.js │ │ └── package.json │ ├── glob-parent │ │ ├── .npmignore │ │ ├── .travis.yml │ │ ├── LICENSE │ │ ├── README.md │ │ ├── index.js │ │ ├── package.json │ │ └── test.js │ ├── global-modules │ │ ├── LICENSE │ │ ├── README.md │ │ ├── index.js │ │ └── package.json │ ├── global-prefix │ │ ├── LICENSE │ │ ├── README.md │ │ ├── index.js │ │ └── package.json │ ├── graceful-fs │ │ ├── LICENSE │ │ ├── README.md │ │ ├── fs.js │ │ ├── graceful-fs.js │ │ ├── legacy-streams.js │ │ ├── package.json │ │ └── polyfills.js │ ├── has-value │ │ ├── LICENSE │ │ ├── README.md │ │ ├── index.js │ │ ├── node_modules │ │ │ └── isobject │ │ │ │ ├── LICENSE │ │ │ │ ├── README.md │ │ │ │ ├── index.d.ts │ │ │ │ ├── index.js │ │ │ │ └── package.json │ │ └── package.json │ ├── has-values │ │ ├── LICENSE │ │ ├── README.md │ │ ├── index.js │ │ ├── node_modules │ │ │ ├── is-number │ │ │ │ ├── LICENSE │ │ │ │ ├── README.md │ │ │ │ ├── index.js │ │ │ │ ├── node_modules │ │ │ │ │ └── kind-of │ │ │ │ │ │ ├── LICENSE │ │ │ │ │ │ ├── README.md │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ └── package.json │ │ │ │ └── package.json │ │ │ └── kind-of │ │ │ │ ├── LICENSE │ │ │ │ ├── README.md │ │ │ │ ├── index.js │ │ │ │ └── package.json │ │ └── package.json │ ├── homedir-polyfill │ │ ├── LICENSE │ │ ├── README.md │ │ ├── index.js │ │ └── package.json │ ├── inherits │ │ ├── LICENSE │ │ ├── README.md │ │ ├── inherits.js │ │ ├── inherits_browser.js │ │ └── package.json │ ├── ini │ │ ├── LICENSE │ │ ├── README.md │ │ ├── ini.js │ │ └── package.json │ ├── is-accessor-descriptor │ │ ├── LICENSE │ │ ├── README.md │ │ ├── index.js │ │ └── package.json │ ├── is-binary-path │ │ ├── index.js │ │ ├── license │ │ ├── package.json │ │ └── readme.md │ ├── is-buffer │ │ ├── LICENSE │ │ ├── README.md │ │ ├── index.js │ │ ├── package.json │ │ └── test │ │ │ └── basic.js │ ├── is-data-descriptor │ │ ├── LICENSE │ │ ├── README.md │ │ ├── index.js │ │ └── package.json │ ├── is-descriptor │ │ ├── LICENSE │ │ ├── README.md │ │ ├── index.js │ │ ├── node_modules │ │ │ └── kind-of │ │ │ │ ├── LICENSE │ │ │ │ ├── README.md │ │ │ │ ├── index.js │ │ │ │ └── package.json │ │ └── package.json │ ├── is-dotfile │ │ ├── LICENSE │ │ ├── README.md │ │ ├── index.js │ │ └── package.json │ ├── is-equal-shallow │ │ ├── LICENSE │ │ ├── README.md │ │ ├── index.js │ │ └── package.json │ ├── is-extendable │ │ ├── LICENSE │ │ ├── README.md │ │ ├── index.js │ │ └── package.json │ ├── is-extglob │ │ ├── LICENSE │ │ ├── README.md │ │ ├── index.js │ │ └── package.json │ ├── is-glob │ │ ├── LICENSE │ │ ├── README.md │ │ ├── index.js │ │ └── package.json │ ├── is-number │ │ ├── LICENSE │ │ ├── README.md │ │ ├── index.js │ │ └── package.json │ ├── is-odd │ │ ├── LICENSE │ │ ├── README.md │ │ ├── index.js │ │ ├── node_modules │ │ │ └── is-number │ │ │ │ ├── LICENSE │ │ │ │ ├── README.md │ │ │ │ ├── index.js │ │ │ │ └── package.json │ │ └── package.json │ ├── is-plain-object │ │ ├── LICENSE │ │ ├── README.md │ │ ├── index.d.ts │ │ ├── index.js │ │ ├── node_modules │ │ │ └── isobject │ │ │ │ ├── LICENSE │ │ │ │ ├── README.md │ │ │ │ ├── index.d.ts │ │ │ │ ├── index.js │ │ │ │ └── package.json │ │ └── package.json │ ├── is-posix-bracket │ │ ├── LICENSE │ │ ├── README.md │ │ ├── index.js │ │ └── package.json │ ├── is-primitive │ │ ├── LICENSE │ │ ├── README.md │ │ ├── index.js │ │ └── package.json │ ├── is-windows │ │ ├── LICENSE │ │ ├── README.md │ │ ├── index.js │ │ └── package.json │ ├── isarray │ │ ├── .npmignore │ │ ├── .travis.yml │ │ ├── Makefile │ │ ├── README.md │ │ ├── component.json │ │ ├── index.js │ │ ├── package.json │ │ └── test.js │ ├── isexe │ │ ├── .npmignore │ │ ├── LICENSE │ │ ├── README.md │ │ ├── index.js │ │ ├── mode.js │ │ ├── package.json │ │ ├── test │ │ │ └── basic.js │ │ └── windows.js │ ├── isobject │ │ ├── LICENSE │ │ ├── README.md │ │ ├── index.js │ │ └── package.json │ ├── js-reporters │ │ ├── .babelrc │ │ ├── CHANGELOG.md │ │ ├── LICENSE │ │ ├── README.md │ │ ├── RELEASE.md │ │ ├── dist │ │ │ └── js-reporters.js │ │ ├── docs │ │ │ ├── example.md │ │ │ └── frameworks.md │ │ ├── img │ │ │ ├── situation-expected.png │ │ │ └── situation-now.png │ │ ├── index.js │ │ ├── karma.conf.js │ │ ├── lib │ │ │ ├── Data.js │ │ │ ├── adapters │ │ │ │ ├── JasmineAdapter.js │ │ │ │ ├── MochaAdapter.js │ │ │ │ └── QUnitAdapter.js │ │ │ ├── helpers.js │ │ │ └── reporters │ │ │ │ ├── ConsoleReporter.js │ │ │ │ └── TapReporter.js │ │ ├── license-header │ │ ├── package.json │ │ ├── rollup.config.js │ │ └── test │ │ │ ├── fixtures │ │ │ ├── jasmine.js │ │ │ ├── mocha.js │ │ │ └── qunit.js │ │ │ ├── integration │ │ │ ├── adapters-run.js │ │ │ ├── adapters.js │ │ │ └── reference-data.js │ │ │ ├── unit │ │ │ ├── data.js │ │ │ ├── helpers.js │ │ │ └── tap-reporter.js │ │ │ └── versions │ │ │ ├── failing-versions.js │ │ │ ├── versions-reporting.js │ │ │ └── versions.js │ ├── kind-of │ │ ├── LICENSE │ │ ├── README.md │ │ ├── index.js │ │ └── package.json │ ├── map-cache │ │ ├── LICENSE │ │ ├── README.md │ │ ├── index.js │ │ └── package.json │ ├── map-visit │ │ ├── LICENSE │ │ ├── README.md │ │ ├── index.js │ │ └── package.json │ ├── matcher-collection │ │ ├── README.md │ │ ├── index.js │ │ └── package.json │ ├── math-random │ │ ├── .npmignore │ │ ├── .travis.yml │ │ ├── browser.js │ │ ├── node.js │ │ ├── package.json │ │ ├── readme.md │ │ └── test.js │ ├── micromatch │ │ ├── LICENSE │ │ ├── README.md │ │ ├── index.js │ │ ├── lib │ │ │ ├── chars.js │ │ │ ├── expand.js │ │ │ ├── glob.js │ │ │ └── utils.js │ │ ├── node_modules │ │ │ └── braces │ │ │ │ ├── LICENSE │ │ │ │ ├── README.md │ │ │ │ ├── index.js │ │ │ │ └── package.json │ │ └── package.json │ ├── minimatch │ │ ├── LICENSE │ │ ├── README.md │ │ ├── minimatch.js │ │ └── package.json │ ├── mixin-deep │ │ ├── LICENSE │ │ ├── README.md │ │ ├── index.js │ │ └── package.json │ ├── ms │ │ ├── index.js │ │ ├── license.md │ │ ├── package.json │ │ └── readme.md │ ├── nan │ │ ├── CHANGELOG.md │ │ ├── LICENSE.md │ │ ├── README.md │ │ ├── doc │ │ │ ├── asyncworker.md │ │ │ ├── buffers.md │ │ │ ├── callback.md │ │ │ ├── converters.md │ │ │ ├── errors.md │ │ │ ├── json.md │ │ │ ├── maybe_types.md │ │ │ ├── methods.md │ │ │ ├── new.md │ │ │ ├── node_misc.md │ │ │ ├── object_wrappers.md │ │ │ ├── persistent.md │ │ │ ├── scopes.md │ │ │ ├── script.md │ │ │ ├── string_bytes.md │ │ │ ├── v8_internals.md │ │ │ └── v8_misc.md │ │ ├── include_dirs.js │ │ ├── nan.h │ │ ├── nan_callbacks.h │ │ ├── nan_callbacks_12_inl.h │ │ ├── nan_callbacks_pre_12_inl.h │ │ ├── nan_converters.h │ │ ├── nan_converters_43_inl.h │ │ ├── nan_converters_pre_43_inl.h │ │ ├── nan_define_own_property_helper.h │ │ ├── nan_implementation_12_inl.h │ │ ├── nan_implementation_pre_12_inl.h │ │ ├── nan_json.h │ │ ├── nan_maybe_43_inl.h │ │ ├── nan_maybe_pre_43_inl.h │ │ ├── nan_new.h │ │ ├── nan_object_wrap.h │ │ ├── nan_persistent_12_inl.h │ │ ├── nan_persistent_pre_12_inl.h │ │ ├── nan_private.h │ │ ├── nan_string_bytes.h │ │ ├── nan_typedarray_contents.h │ │ ├── nan_weak.h │ │ ├── package.json │ │ └── tools │ │ │ ├── 1to2.js │ │ │ ├── README.md │ │ │ └── package.json │ ├── nanomatch │ │ ├── CHANGELOG.md │ │ ├── LICENSE │ │ ├── README.md │ │ ├── index.js │ │ ├── lib │ │ │ ├── cache.js │ │ │ ├── compiler2.js │ │ │ ├── compilers.js │ │ │ ├── parsers.js │ │ │ └── utils.js │ │ ├── node_modules │ │ │ ├── arr-diff │ │ │ │ ├── LICENSE │ │ │ │ ├── README.md │ │ │ │ ├── index.js │ │ │ │ └── package.json │ │ │ ├── array-unique │ │ │ │ ├── LICENSE │ │ │ │ ├── README.md │ │ │ │ ├── index.js │ │ │ │ └── package.json │ │ │ └── kind-of │ │ │ │ ├── CHANGELOG.md │ │ │ │ ├── LICENSE │ │ │ │ ├── README.md │ │ │ │ ├── index.js │ │ │ │ └── package.json │ │ └── package.json │ ├── normalize-path │ │ ├── LICENSE │ │ ├── README.md │ │ ├── index.js │ │ └── package.json │ ├── object-copy │ │ ├── LICENSE │ │ ├── index.js │ │ ├── node_modules │ │ │ └── define-property │ │ │ │ ├── LICENSE │ │ │ │ ├── README.md │ │ │ │ ├── index.js │ │ │ │ └── package.json │ │ └── package.json │ ├── object-visit │ │ ├── LICENSE │ │ ├── README.md │ │ ├── index.js │ │ ├── node_modules │ │ │ └── isobject │ │ │ │ ├── LICENSE │ │ │ │ ├── README.md │ │ │ │ ├── index.d.ts │ │ │ │ ├── index.js │ │ │ │ └── package.json │ │ └── package.json │ ├── object.omit │ │ ├── LICENSE │ │ ├── README.md │ │ ├── index.js │ │ └── package.json │ ├── object.pick │ │ ├── LICENSE │ │ ├── README.md │ │ ├── index.js │ │ ├── node_modules │ │ │ └── isobject │ │ │ │ ├── LICENSE │ │ │ │ ├── README.md │ │ │ │ ├── index.d.ts │ │ │ │ ├── index.js │ │ │ │ └── package.json │ │ └── package.json │ ├── parse-glob │ │ ├── LICENSE │ │ ├── README.md │ │ ├── index.js │ │ └── package.json │ ├── parse-passwd │ │ ├── LICENSE │ │ ├── README.md │ │ ├── index.js │ │ └── package.json │ ├── pascalcase │ │ ├── LICENSE │ │ ├── README.md │ │ ├── index.js │ │ └── package.json │ ├── path-is-absolute │ │ ├── index.js │ │ ├── license │ │ ├── package.json │ │ └── readme.md │ ├── path-parse │ │ ├── .travis.yml │ │ ├── README.md │ │ ├── index.js │ │ ├── index.min.js │ │ ├── package.json │ │ ├── test.js │ │ └── test.min.js │ ├── posix-character-classes │ │ ├── LICENSE │ │ ├── README.md │ │ ├── index.js │ │ └── package.json │ ├── preserve │ │ ├── .gitattributes │ │ ├── .jshintrc │ │ ├── .npmignore │ │ ├── .travis.yml │ │ ├── .verb.md │ │ ├── LICENSE │ │ ├── README.md │ │ ├── index.js │ │ ├── package.json │ │ └── test.js │ ├── process-nextick-args │ │ ├── index.js │ │ ├── license.md │ │ ├── package.json │ │ └── readme.md │ ├── qunit │ │ ├── History.md │ │ ├── LICENSE.txt │ │ ├── README.md │ │ ├── package.json │ │ └── qunit │ │ │ ├── qunit.css │ │ │ └── qunit.js │ ├── randomatic │ │ ├── LICENSE │ │ ├── README.md │ │ ├── index.js │ │ ├── node_modules │ │ │ ├── is-number │ │ │ │ ├── LICENSE │ │ │ │ ├── README.md │ │ │ │ ├── index.js │ │ │ │ └── package.json │ │ │ └── kind-of │ │ │ │ ├── CHANGELOG.md │ │ │ │ ├── LICENSE │ │ │ │ ├── README.md │ │ │ │ ├── index.js │ │ │ │ └── package.json │ │ └── package.json │ ├── readable-stream │ │ ├── .travis.yml │ │ ├── CONTRIBUTING.md │ │ ├── GOVERNANCE.md │ │ ├── LICENSE │ │ ├── README.md │ │ ├── doc │ │ │ └── wg-meetings │ │ │ │ └── 2015-01-30.md │ │ ├── duplex-browser.js │ │ ├── duplex.js │ │ ├── lib │ │ │ ├── _stream_duplex.js │ │ │ ├── _stream_passthrough.js │ │ │ ├── _stream_readable.js │ │ │ ├── _stream_transform.js │ │ │ ├── _stream_writable.js │ │ │ └── internal │ │ │ │ └── streams │ │ │ │ ├── BufferList.js │ │ │ │ ├── destroy.js │ │ │ │ ├── stream-browser.js │ │ │ │ └── stream.js │ │ ├── package.json │ │ ├── passthrough.js │ │ ├── readable-browser.js │ │ ├── readable.js │ │ ├── transform.js │ │ ├── writable-browser.js │ │ └── writable.js │ ├── readdirp │ │ ├── .npmignore │ │ ├── .travis.yml │ │ ├── LICENSE │ │ ├── README.md │ │ ├── examples │ │ │ ├── Readme.md │ │ │ ├── callback-api.js │ │ │ ├── grep.js │ │ │ ├── package.json │ │ │ ├── stream-api-pipe.js │ │ │ └── stream-api.js │ │ ├── package.json │ │ ├── readdirp.js │ │ ├── stream-api.js │ │ └── test │ │ │ ├── bed │ │ │ ├── root_dir1 │ │ │ │ ├── root_dir1_file1.ext1 │ │ │ │ ├── root_dir1_file2.ext2 │ │ │ │ ├── root_dir1_file3.ext3 │ │ │ │ └── root_dir1_subdir1 │ │ │ │ │ └── root1_dir1_subdir1_file1.ext1 │ │ │ ├── root_dir2 │ │ │ │ ├── root_dir2_file1.ext1 │ │ │ │ └── root_dir2_file2.ext2 │ │ │ ├── root_file1.ext1 │ │ │ ├── root_file2.ext2 │ │ │ └── root_file3.ext3 │ │ │ ├── readdirp-stream.js │ │ │ └── readdirp.js │ ├── regex-cache │ │ ├── LICENSE │ │ ├── README.md │ │ ├── index.js │ │ └── package.json │ ├── regex-not │ │ ├── LICENSE │ │ ├── README.md │ │ ├── index.js │ │ └── package.json │ ├── remove-trailing-separator │ │ ├── history.md │ │ ├── index.js │ │ ├── license │ │ ├── package.json │ │ └── readme.md │ ├── repeat-element │ │ ├── LICENSE │ │ ├── README.md │ │ ├── index.js │ │ └── package.json │ ├── repeat-string │ │ ├── LICENSE │ │ ├── README.md │ │ ├── index.js │ │ └── package.json │ ├── resolve-dir │ │ ├── LICENSE │ │ ├── README.md │ │ ├── index.js │ │ └── package.json │ ├── resolve-url │ │ ├── .jshintrc │ │ ├── LICENSE │ │ ├── bower.json │ │ ├── changelog.md │ │ ├── component.json │ │ ├── package.json │ │ ├── readme.md │ │ ├── resolve-url.js │ │ └── test │ │ │ └── resolve-url.js │ ├── resolve │ │ ├── .editorconfig │ │ ├── .eslintignore │ │ ├── .eslintrc │ │ ├── .travis.yml │ │ ├── LICENSE │ │ ├── appveyor.yml │ │ ├── example │ │ │ ├── async.js │ │ │ └── sync.js │ │ ├── index.js │ │ ├── lib │ │ │ ├── async.js │ │ │ ├── caller.js │ │ │ ├── core.js │ │ │ ├── core.json │ │ │ ├── node-modules-paths.js │ │ │ └── sync.js │ │ ├── package.json │ │ ├── readme.markdown │ │ └── test │ │ │ ├── core.js │ │ │ ├── dotdot.js │ │ │ ├── dotdot │ │ │ ├── abc │ │ │ │ └── index.js │ │ │ └── index.js │ │ │ ├── faulty_basedir.js │ │ │ ├── filter.js │ │ │ ├── filter_sync.js │ │ │ ├── mock.js │ │ │ ├── mock_sync.js │ │ │ ├── module_dir.js │ │ │ ├── module_dir │ │ │ ├── xmodules │ │ │ │ └── aaa │ │ │ │ │ └── index.js │ │ │ ├── ymodules │ │ │ │ └── aaa │ │ │ │ │ └── index.js │ │ │ └── zmodules │ │ │ │ └── bbb │ │ │ │ ├── main.js │ │ │ │ └── package.json │ │ │ ├── node-modules-paths.js │ │ │ ├── node_path.js │ │ │ ├── node_path │ │ │ ├── x │ │ │ │ ├── aaa │ │ │ │ │ └── index.js │ │ │ │ └── ccc │ │ │ │ │ └── index.js │ │ │ └── y │ │ │ │ ├── bbb │ │ │ │ └── index.js │ │ │ │ └── ccc │ │ │ │ └── index.js │ │ │ ├── nonstring.js │ │ │ ├── pathfilter.js │ │ │ ├── pathfilter │ │ │ └── deep_ref │ │ │ │ └── main.js │ │ │ ├── precedence.js │ │ │ ├── precedence │ │ │ ├── aaa.js │ │ │ ├── aaa │ │ │ │ ├── index.js │ │ │ │ └── main.js │ │ │ ├── bbb.js │ │ │ └── bbb │ │ │ │ └── main.js │ │ │ ├── resolver.js │ │ │ ├── resolver │ │ │ ├── baz │ │ │ │ ├── doom.js │ │ │ │ ├── package.json │ │ │ │ └── quux.js │ │ │ ├── cup.coffee │ │ │ ├── dot_main │ │ │ │ ├── index.js │ │ │ │ └── package.json │ │ │ ├── dot_slash_main │ │ │ │ ├── index.js │ │ │ │ └── package.json │ │ │ ├── foo.js │ │ │ ├── incorrect_main │ │ │ │ ├── index.js │ │ │ │ └── package.json │ │ │ ├── mug.coffee │ │ │ ├── mug.js │ │ │ ├── other_path │ │ │ │ ├── lib │ │ │ │ │ └── other-lib.js │ │ │ │ └── root.js │ │ │ ├── quux │ │ │ │ └── foo │ │ │ │ │ └── index.js │ │ │ ├── same_names │ │ │ │ ├── foo.js │ │ │ │ └── foo │ │ │ │ │ └── index.js │ │ │ ├── symlinked │ │ │ │ └── _ │ │ │ │ │ └── symlink_target │ │ │ │ │ └── .gitkeep │ │ │ └── without_basedir │ │ │ │ └── main.js │ │ │ ├── resolver_sync.js │ │ │ ├── subdirs.js │ │ │ └── symlinks.js │ ├── ret │ │ ├── LICENSE │ │ ├── README.md │ │ ├── lib │ │ │ ├── index.js │ │ │ ├── positions.js │ │ │ ├── sets.js │ │ │ ├── types.js │ │ │ └── util.js │ │ └── package.json │ ├── safe-buffer │ │ ├── LICENSE │ │ ├── README.md │ │ ├── index.d.ts │ │ ├── index.js │ │ └── package.json │ ├── safe-regex │ │ ├── .travis.yml │ │ ├── LICENSE │ │ ├── example │ │ │ └── safe.js │ │ ├── index.js │ │ ├── package.json │ │ ├── readme.markdown │ │ └── test │ │ │ └── regex.js │ ├── set-immediate-shim │ │ ├── index.js │ │ ├── package.json │ │ └── readme.md │ ├── set-value │ │ ├── LICENSE │ │ ├── README.md │ │ ├── index.js │ │ └── package.json │ ├── snapdragon-node │ │ ├── LICENSE │ │ ├── README.md │ │ ├── index.js │ │ ├── node_modules │ │ │ ├── define-property │ │ │ │ ├── LICENSE │ │ │ │ ├── README.md │ │ │ │ ├── index.js │ │ │ │ └── package.json │ │ │ ├── is-accessor-descriptor │ │ │ │ ├── LICENSE │ │ │ │ ├── README.md │ │ │ │ ├── index.js │ │ │ │ └── package.json │ │ │ ├── is-data-descriptor │ │ │ │ ├── LICENSE │ │ │ │ ├── README.md │ │ │ │ ├── index.js │ │ │ │ └── package.json │ │ │ ├── is-descriptor │ │ │ │ ├── LICENSE │ │ │ │ ├── README.md │ │ │ │ ├── index.js │ │ │ │ └── package.json │ │ │ ├── isobject │ │ │ │ ├── LICENSE │ │ │ │ ├── README.md │ │ │ │ ├── index.d.ts │ │ │ │ ├── index.js │ │ │ │ └── package.json │ │ │ └── kind-of │ │ │ │ ├── CHANGELOG.md │ │ │ │ ├── LICENSE │ │ │ │ ├── README.md │ │ │ │ ├── index.js │ │ │ │ └── package.json │ │ └── package.json │ ├── snapdragon-util │ │ ├── LICENSE │ │ ├── README.md │ │ ├── index.js │ │ └── package.json │ ├── snapdragon │ │ ├── LICENSE │ │ ├── README.md │ │ ├── index.js │ │ ├── lib │ │ │ ├── compiler.js │ │ │ ├── parser.js │ │ │ ├── position.js │ │ │ ├── source-maps.js │ │ │ └── utils.js │ │ ├── node_modules │ │ │ ├── define-property │ │ │ │ ├── LICENSE │ │ │ │ ├── README.md │ │ │ │ ├── index.js │ │ │ │ └── package.json │ │ │ └── extend-shallow │ │ │ │ ├── LICENSE │ │ │ │ ├── README.md │ │ │ │ ├── index.js │ │ │ │ └── package.json │ │ └── package.json │ ├── source-map-resolve │ │ ├── .jshintrc │ │ ├── .travis.yml │ │ ├── LICENSE │ │ ├── bower.json │ │ ├── changelog.md │ │ ├── component.json │ │ ├── generate-source-map-resolve.js │ │ ├── lib │ │ │ ├── decode-uri-component.js │ │ │ ├── resolve-url.js │ │ │ └── source-map-resolve-node.js │ │ ├── package.json │ │ ├── readme.md │ │ ├── source-map-resolve.js │ │ ├── source-map-resolve.js.template │ │ ├── test │ │ │ ├── common.js │ │ │ ├── read.js │ │ │ ├── source-map-resolve.js │ │ │ └── windows.js │ │ └── x-package.json5 │ ├── source-map-url │ │ ├── .jshintrc │ │ ├── LICENSE │ │ ├── bower.json │ │ ├── changelog.md │ │ ├── component.json │ │ ├── package.json │ │ ├── readme.md │ │ ├── source-map-url.js │ │ ├── test │ │ │ └── source-map-url.js │ │ └── x-package.json5 │ ├── source-map │ │ ├── CHANGELOG.md │ │ ├── LICENSE │ │ ├── README.md │ │ ├── dist │ │ │ ├── source-map.debug.js │ │ │ ├── source-map.js │ │ │ ├── source-map.min.js │ │ │ └── source-map.min.js.map │ │ ├── lib │ │ │ ├── array-set.js │ │ │ ├── base64-vlq.js │ │ │ ├── base64.js │ │ │ ├── binary-search.js │ │ │ ├── mapping-list.js │ │ │ ├── quick-sort.js │ │ │ ├── source-map-consumer.js │ │ │ ├── source-map-generator.js │ │ │ ├── source-node.js │ │ │ └── util.js │ │ ├── package.json │ │ └── source-map.js │ ├── split-string │ │ ├── LICENSE │ │ ├── README.md │ │ ├── index.js │ │ └── package.json │ ├── static-extend │ │ ├── LICENSE │ │ ├── index.js │ │ ├── node_modules │ │ │ └── define-property │ │ │ │ ├── LICENSE │ │ │ │ ├── README.md │ │ │ │ ├── index.js │ │ │ │ └── package.json │ │ └── package.json │ ├── string_decoder │ │ ├── .travis.yml │ │ ├── LICENSE │ │ ├── README.md │ │ ├── lib │ │ │ └── string_decoder.js │ │ └── package.json │ ├── to-object-path │ │ ├── LICENSE │ │ ├── README.md │ │ ├── index.js │ │ └── package.json │ ├── to-regex-range │ │ ├── LICENSE │ │ ├── README.md │ │ ├── index.js │ │ ├── node_modules │ │ │ └── is-number │ │ │ │ ├── LICENSE │ │ │ │ ├── README.md │ │ │ │ ├── index.js │ │ │ │ └── package.json │ │ └── package.json │ ├── to-regex │ │ ├── LICENSE │ │ ├── README.md │ │ ├── index.js │ │ └── package.json │ ├── union-value │ │ ├── LICENSE │ │ ├── README.md │ │ ├── index.js │ │ ├── node_modules │ │ │ ├── extend-shallow │ │ │ │ ├── LICENSE │ │ │ │ ├── README.md │ │ │ │ ├── index.js │ │ │ │ └── package.json │ │ │ └── set-value │ │ │ │ ├── LICENSE │ │ │ │ ├── README.md │ │ │ │ ├── index.js │ │ │ │ └── package.json │ │ └── package.json │ ├── unset-value │ │ ├── LICENSE │ │ ├── README.md │ │ ├── index.js │ │ ├── node_modules │ │ │ ├── has-value │ │ │ │ ├── LICENSE │ │ │ │ ├── README.md │ │ │ │ ├── index.js │ │ │ │ ├── node_modules │ │ │ │ │ └── isobject │ │ │ │ │ │ ├── LICENSE │ │ │ │ │ │ ├── README.md │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ └── package.json │ │ │ │ └── package.json │ │ │ ├── has-values │ │ │ │ ├── LICENSE │ │ │ │ ├── README.md │ │ │ │ ├── index.js │ │ │ │ └── package.json │ │ │ └── isobject │ │ │ │ ├── LICENSE │ │ │ │ ├── README.md │ │ │ │ ├── index.d.ts │ │ │ │ ├── index.js │ │ │ │ └── package.json │ │ └── package.json │ ├── urix │ │ ├── .jshintrc │ │ ├── LICENSE │ │ ├── index.js │ │ ├── package.json │ │ ├── readme.md │ │ └── test │ │ │ └── index.js │ ├── use │ │ ├── LICENSE │ │ ├── README.md │ │ ├── index.js │ │ ├── node_modules │ │ │ └── kind-of │ │ │ │ ├── CHANGELOG.md │ │ │ │ ├── LICENSE │ │ │ │ ├── README.md │ │ │ │ ├── index.js │ │ │ │ └── package.json │ │ └── package.json │ ├── util-deprecate │ │ ├── History.md │ │ ├── LICENSE │ │ ├── README.md │ │ ├── browser.js │ │ ├── node.js │ │ └── package.json │ ├── walk-sync │ │ ├── CHANGELOG.md │ │ ├── LICENSE │ │ ├── README.md │ │ ├── index.js │ │ └── package.json │ └── which │ │ ├── CHANGELOG.md │ │ ├── LICENSE │ │ ├── README.md │ │ ├── package.json │ │ └── which.js ├── package-lock.json └── src │ └── main │ └── kotlin │ └── actions │ └── expected │ ├── BuiltinFrameworks.kt │ ├── Expected.kt │ ├── OAuth2Client.kt │ ├── Serializer.kt │ ├── deserialize.kt │ └── log.kt ├── jvm-app ├── build.gradle └── src │ └── main │ └── kotlin │ └── jvm │ ├── ActionsSdkSample.kt │ ├── AogMockFactory.kt │ ├── AogSample.kt │ ├── DelegationServletInputStream.kt │ ├── DfSampleTransactions.kt │ ├── DialogflowSample.kt │ ├── JvmApp.kt │ └── Requests.kt ├── jvm ├── build.gradle └── src │ └── main │ └── java │ └── actions │ └── expected │ ├── BuiltinFrameworks.kt │ ├── Expected.kt │ ├── OAuth2Client.kt │ ├── Serializer.kt │ ├── ServletUtils.java │ ├── TypeAdapters.kt │ ├── deserialize.kt │ ├── framework │ ├── ServletFramework.kt │ └── TestHttpServlet.kt │ └── log.kt ├── sample-gae-jvm ├── build.gradle └── src │ └── main │ ├── java │ └── jvm │ │ ├── DfTransactionsWebhook.kt │ │ ├── DialogflowWebhook.kt │ │ └── SampleWebhook.kt │ └── webapp │ └── WEB-INF │ ├── appengine-web.xml │ ├── logging.properties │ └── web.xml ├── settings.gradle └── uploadArtifacts.sh /common-mock/build.gradle: -------------------------------------------------------------------------------- 1 | apply plugin: 'kotlin-platform-common' 2 | 3 | archivesBaseName = 'actions-on-google-common-mock' 4 | 5 | dependencies { 6 | compile project(":common") 7 | compile libraries.kotlin_stdlib_common 8 | testCompile libraries.kotlin_test_annotations_common 9 | testCompile libraries.kotlin_test_common 10 | } 11 | 12 | task sourcesJar(type: Jar) { 13 | classifier = 'sources' 14 | from sourceSets.main.kotlin 15 | } 16 | 17 | artifacts { 18 | archives sourcesJar 19 | } 20 | -------------------------------------------------------------------------------- /common-mock/src/main/kotlin/actions/AogMockFactory.kt: -------------------------------------------------------------------------------- 1 | package actions 2 | 3 | object AogMockFactory { 4 | fun mockWelcome() { 5 | 6 | } 7 | } -------------------------------------------------------------------------------- /common/build.gradle: -------------------------------------------------------------------------------- 1 | apply plugin: 'kotlin-platform-common' 2 | 3 | archivesBaseName = 'actions-on-google-common' 4 | 5 | configurations { 6 | testArtifacts 7 | } 8 | 9 | task testJar (type: Jar) { 10 | baseName = "$project.name}-test" 11 | from sourceSets.test.output 12 | } 13 | 14 | artifacts { 15 | testArtifacts testJar 16 | } 17 | 18 | dependencies { 19 | compile libraries.kotlin_stdlib_common 20 | testCompile libraries.kotlin_test_annotations_common 21 | testCompile libraries.kotlin_test_common 22 | } 23 | 24 | task sourcesJar(type: Jar) { 25 | classifier = 'sources' 26 | from sourceSets.main.kotlin 27 | } 28 | 29 | artifacts { 30 | archives sourcesJar 31 | } 32 | -------------------------------------------------------------------------------- /common/src/main/kotlin/actions/expected/BuiltInFrameworks.kt: -------------------------------------------------------------------------------- 1 | package actions.expected 2 | import actions.framework.Frameworks 3 | 4 | 5 | expect class BuiltinFrameworks() :Frameworks { 6 | /** 7 | * Plug and play web framework support for express using body-parser 8 | * @public 9 | */ 10 | // var express: Express 11 | 12 | /** 13 | * Plug and play web framework support for lambda API gateway 14 | * @public 15 | */ 16 | // var lambda: Lambda 17 | } -------------------------------------------------------------------------------- /common/src/main/kotlin/actions/expected/GoogleAuthLib.kt: -------------------------------------------------------------------------------- 1 | package actions.expected 2 | 3 | 4 | /** 5 | * 6 | */ 7 | expect class GoogleAuthLib { 8 | fun asyncVerify() 9 | } 10 | -------------------------------------------------------------------------------- /common/src/main/kotlin/actions/service/actionssdk/conversation/Device.kt: -------------------------------------------------------------------------------- 1 | package actions.service.actionssdk.conversation 2 | 3 | import actions.service.actionssdk.api.GoogleActionsV2Device 4 | import actions.service.actionssdk.api.GoogleActionsV2Location 5 | 6 | 7 | class Device(device: GoogleActionsV2Device? = null) { 8 | /** 9 | * If granted permission to device's location in previous intent, returns device's 10 | * location (see {@link Permission|conv.ask(new Permission)}). 11 | * @public 12 | */ 13 | var location: GoogleActionsV2Location? = null 14 | 15 | init { 16 | location = device?.location 17 | } 18 | 19 | } 20 | -------------------------------------------------------------------------------- /common/src/main/kotlin/actions/service/actionssdk/conversation/argument/Media.kt: -------------------------------------------------------------------------------- 1 | package actions.service.actionssdk.conversation.argument 2 | 3 | import actions.service.actionssdk.api.GoogleActionsV2MediaStatus 4 | 5 | typealias MediaStatusArgument = GoogleActionsV2MediaStatus -------------------------------------------------------------------------------- /common/src/main/kotlin/actions/service/actionssdk/conversation/argument/NoInput.kt: -------------------------------------------------------------------------------- 1 | package actions.service.actionssdk.conversation.argument 2 | 3 | typealias RepromptArgument = String 4 | 5 | typealias FinalRepromptArgument = Boolean -------------------------------------------------------------------------------- /common/src/main/kotlin/actions/service/actionssdk/conversation/response/Image.kt: -------------------------------------------------------------------------------- 1 | package actions.service.actionssdk.conversation.response 2 | 3 | 4 | data class ImageOptions( 5 | /** 6 | * Image source URL. 7 | * @public 8 | */ 9 | var url: String, 10 | 11 | /** 12 | * Text to replace for image for accessibility. 13 | * @public 14 | */ 15 | var alt: String, 16 | 17 | /** 18 | * Height of the image. 19 | * @public 20 | */ 21 | var height: Int? = null, 22 | 23 | /** 24 | * Width of the image. 25 | * @public 26 | */ 27 | var width: Int? = null) 28 | 29 | -------------------------------------------------------------------------------- /common/src/main/kotlin/actions/service/actionssdk/conversation/response/Linkout.kt: -------------------------------------------------------------------------------- 1 | package actions.service.actionssdk.conversation.response 2 | 3 | 4 | data class LinkOutSuggestionOptions( 5 | /** 6 | * Text shown on the suggestion chip. 7 | * @public 8 | */ 9 | var name: String, 10 | 11 | /** 12 | * String URL to open. 13 | * @public 14 | */ 15 | var url: String) 16 | 17 | 18 | -------------------------------------------------------------------------------- /common/src/main/kotlin/actions/service/actionssdk/conversation/response/Order.kt: -------------------------------------------------------------------------------- 1 | package actions.service.actionssdk.conversation.response 2 | 3 | 4 | -------------------------------------------------------------------------------- /common/src/main/kotlin/actions/service/actionssdk/conversation/response/RichResponseItem.kt: -------------------------------------------------------------------------------- 1 | package actions.service.actionssdk.conversation.response 2 | 3 | import actions.ApiClientObjectMap 4 | import actions.service.actionssdk.api.* 5 | import actions.service.actionssdk.conversation.response.card.BasicCardOptions 6 | import actions.service.actionssdk.conversation.response.card.TableOptions 7 | 8 | -------------------------------------------------------------------------------- /common/src/main/kotlin/actions/service/actionssdk/conversation/response/Simple.kt: -------------------------------------------------------------------------------- 1 | package actions.service.actionssdk.conversation.response 2 | 3 | 4 | data class SimpleResponseOptions( 5 | /** 6 | * Speech to be spoken to user. SSML allowed. 7 | * @public 8 | */ 9 | var speech: String, 10 | 11 | /** 12 | * Optional text to be shown to user 13 | * @public 14 | */ 15 | var text: String? = null 16 | ) 17 | -------------------------------------------------------------------------------- /common/src/main/kotlin/actions/service/actionssdk/conversation/response/Suggestion.kt: -------------------------------------------------------------------------------- 1 | package actions.service.actionssdk.conversation.response 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /common/src/main/kotlin/actions/service/actionssdk/conversation/response/Url.kt: -------------------------------------------------------------------------------- 1 | package actions.service.actionssdk.conversation.response 2 | 3 | import actions.service.actionssdk.api.GoogleActionsV2DevicesAndroidApp 4 | import actions.service.actionssdk.api.GoogleActionsV2UiElementsOpenUrlAction 5 | import actions.service.actionssdk.api.GoogleActionsV2UiElementsOpenUrlActionUrlTypeHint 6 | 7 | interface OpenUrlActionOptions { 8 | var url: String? 9 | } 10 | 11 | -------------------------------------------------------------------------------- /common/src/main/kotlin/actions/service/actionssdk/conversation/response/card/Basic.kt: -------------------------------------------------------------------------------- 1 | package actions.service.actionssdk.conversation.response.card 2 | 3 | import actions.service.actionssdk.api.GoogleActionsV2UiElementsBasicCardImageDisplayOptions 4 | import actions.service.actionssdk.api.GoogleActionsV2UiElementsButton 5 | import actions.service.actionssdk.api.GoogleActionsV2UiElementsImage 6 | 7 | data class BasicCardOptions( 8 | var title: String? = null, 9 | 10 | var subtitle: String? = null, 11 | 12 | var text: String? = null, 13 | 14 | var image: GoogleActionsV2UiElementsImage? = null, 15 | 16 | var buttons: MutableList? = null, 17 | 18 | var display: GoogleActionsV2UiElementsBasicCardImageDisplayOptions? = null) 19 | 20 | -------------------------------------------------------------------------------- /common/src/test/kotlin/Test.kt: -------------------------------------------------------------------------------- 1 | package actions 2 | 3 | fun test() { 4 | } -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ticketmaster/actions-on-google-kotlin/126a9d4fcaa29377f3ce7eda46e823ba131719d9/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionBase=GRADLE_USER_HOME 2 | distributionPath=wrapper/dists 3 | distributionUrl=https\://services.gradle.org/distributions/gradle-4.8-all.zip 4 | zipStoreBase=GRADLE_USER_HOME 5 | zipStorePath=wrapper/dists 6 | -------------------------------------------------------------------------------- /js-app/src/main/kotlin/js/JsApp.kt: -------------------------------------------------------------------------------- 1 | package js 2 | 3 | fun main(arguments: Array) { 4 | 5 | } 6 | -------------------------------------------------------------------------------- /js/node_modules/.bin/atob: -------------------------------------------------------------------------------- 1 | ../atob/bin/atob.js -------------------------------------------------------------------------------- /js/node_modules/.bin/qunit: -------------------------------------------------------------------------------- 1 | ../qunit/bin/qunit -------------------------------------------------------------------------------- /js/node_modules/.bin/which: -------------------------------------------------------------------------------- 1 | ../which/bin/which -------------------------------------------------------------------------------- /js/node_modules/anymatch/LICENSE: -------------------------------------------------------------------------------- 1 | The ISC License 2 | 3 | Copyright (c) 2014 Elan Shanker 4 | 5 | Permission to use, copy, modify, and/or distribute this software for any 6 | purpose with or without fee is hereby granted, provided that the above 7 | copyright notice and this permission notice appear in all copies. 8 | 9 | THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 10 | WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 11 | MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR 12 | ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 13 | WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 14 | ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR 15 | IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 16 | -------------------------------------------------------------------------------- /js/node_modules/arr-flatten/index.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * arr-flatten 3 | * 4 | * Copyright (c) 2014-2017, Jon Schlinkert. 5 | * Released under the MIT License. 6 | */ 7 | 8 | 'use strict'; 9 | 10 | module.exports = function (arr) { 11 | return flat(arr, []); 12 | }; 13 | 14 | function flat(arr, res) { 15 | var i = 0, cur; 16 | var len = arr.length; 17 | for (; i < len; i++) { 18 | cur = arr[i]; 19 | Array.isArray(cur) ? flat(cur, res) : res.push(cur); 20 | } 21 | return res; 22 | } 23 | -------------------------------------------------------------------------------- /js/node_modules/arr-union/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | module.exports = function union(init) { 4 | if (!Array.isArray(init)) { 5 | throw new TypeError('arr-union expects the first argument to be an array.'); 6 | } 7 | 8 | var len = arguments.length; 9 | var i = 0; 10 | 11 | while (++i < len) { 12 | var arg = arguments[i]; 13 | if (!arg) continue; 14 | 15 | if (!Array.isArray(arg)) { 16 | arg = [arg]; 17 | } 18 | 19 | for (var j = 0; j < arg.length; j++) { 20 | var ele = arg[j]; 21 | 22 | if (init.indexOf(ele) >= 0) { 23 | continue; 24 | } 25 | init.push(ele); 26 | } 27 | } 28 | return init; 29 | }; 30 | -------------------------------------------------------------------------------- /js/node_modules/array-unique/index.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * array-unique 3 | * 4 | * Copyright (c) 2014-2015, Jon Schlinkert. 5 | * Licensed under the MIT License. 6 | */ 7 | 8 | 'use strict'; 9 | 10 | module.exports = function unique(arr) { 11 | if (!Array.isArray(arr)) { 12 | throw new TypeError('array-unique expects an array.'); 13 | } 14 | 15 | var len = arr.length; 16 | var i = -1; 17 | 18 | while (i++ < len) { 19 | var j = i + 1; 20 | 21 | for (; j < arr.length; ++j) { 22 | if (arr[i] === arr[j]) { 23 | arr.splice(j--, 1); 24 | } 25 | } 26 | } 27 | return arr; 28 | }; 29 | -------------------------------------------------------------------------------- /js/node_modules/async-each/.npmignore: -------------------------------------------------------------------------------- 1 | bower.json 2 | component.json 3 | CHANGELOG.md 4 | -------------------------------------------------------------------------------- /js/node_modules/async-each/CHANGELOG.md: -------------------------------------------------------------------------------- 1 | # async-each 1.0.0 (26 November 2015) 2 | * Bumped version to 1.0.0 (no functional changes) 3 | 4 | # async-each 0.1.6 (5 November 2014) 5 | * Add license to package.json 6 | 7 | # async-each 0.1.5 (22 October 2014) 8 | * Clean up package.json to fix npm warning about `repo` 9 | 10 | # async-each 0.1.4 (12 November 2013) 11 | * Fixed AMD definition. 12 | 13 | # async-each 0.1.3 (25 July 2013) 14 | * Fixed double wrapping of errors. 15 | 16 | # async-each 0.1.2 (7 July 2013) 17 | * Fixed behaviour on empty arrays. 18 | 19 | # async-each 0.1.1 (14 June 2013) 20 | * Wrapped function in closure, enabled strict mode. 21 | 22 | # async-each 0.1.0 (14 June 2013) 23 | * Initial release. 24 | -------------------------------------------------------------------------------- /js/node_modules/atob/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "atob", 3 | "description": "atob for isomorphic environments", 4 | "main": "browser-atob.js", 5 | "authors": [ 6 | "AJ ONeal (https://coolaj86.com)" 7 | ], 8 | "license": "(MIT OR Apache-2.0)", 9 | "keywords": [ 10 | "atob", 11 | "browser" 12 | ], 13 | "homepage": "https://github.com/node-browser-compat/atob", 14 | "moduleType": [ 15 | "globals" 16 | ], 17 | "ignore": [ 18 | "**/.*", 19 | "node_modules", 20 | "bower_components", 21 | "test", 22 | "tests" 23 | ], 24 | "version": "2.0.3" 25 | } 26 | -------------------------------------------------------------------------------- /js/node_modules/atob/node-atob.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | 3 | function atob(str) { 4 | return Buffer.from(str, 'base64').toString('binary'); 5 | } 6 | 7 | module.exports = atob.atob = atob; 8 | -------------------------------------------------------------------------------- /js/node_modules/atob/test.js: -------------------------------------------------------------------------------- 1 | (function () { 2 | "use strict"; 3 | 4 | var atob = require('.'); 5 | var encoded = "SGVsbG8sIFdvcmxkIQ==" 6 | var unencoded = "Hello, World!"; 7 | /* 8 | , encoded = "SGVsbG8sIBZM" 9 | , unencoded = "Hello, 世界" 10 | */ 11 | 12 | if (unencoded !== atob(encoded)) { 13 | console.log('[FAIL]', unencoded, atob(encoded)); 14 | return; 15 | } 16 | 17 | console.log('[PASS] all tests pass'); 18 | }()); 19 | -------------------------------------------------------------------------------- /js/node_modules/balanced-match/.npmignore: -------------------------------------------------------------------------------- 1 | test 2 | .gitignore 3 | .travis.yml 4 | Makefile 5 | example.js 6 | -------------------------------------------------------------------------------- /js/node_modules/base/node_modules/is-descriptor/index.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * is-descriptor 3 | * 4 | * Copyright (c) 2015-2017, Jon Schlinkert. 5 | * Released under the MIT License. 6 | */ 7 | 8 | 'use strict'; 9 | 10 | var typeOf = require('kind-of'); 11 | var isAccessor = require('is-accessor-descriptor'); 12 | var isData = require('is-data-descriptor'); 13 | 14 | module.exports = function isDescriptor(obj, key) { 15 | if (typeOf(obj) !== 'object') { 16 | return false; 17 | } 18 | if ('get' in obj) { 19 | return isAccessor(obj, key); 20 | } 21 | return isData(obj, key); 22 | }; 23 | -------------------------------------------------------------------------------- /js/node_modules/base/node_modules/is-extendable/index.d.ts: -------------------------------------------------------------------------------- 1 | export = isExtendable; 2 | 3 | declare function isExtendable(val: any): boolean; 4 | 5 | declare namespace isExtendable {} 6 | -------------------------------------------------------------------------------- /js/node_modules/base/node_modules/is-extendable/index.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * is-extendable 3 | * 4 | * Copyright (c) 2015-2017, Jon Schlinkert. 5 | * Released under the MIT License. 6 | */ 7 | 8 | 'use strict'; 9 | 10 | var isPlainObject = require('is-plain-object'); 11 | 12 | module.exports = function isExtendable(val) { 13 | return isPlainObject(val) || typeof val === 'function' || Array.isArray(val); 14 | }; 15 | -------------------------------------------------------------------------------- /js/node_modules/base/node_modules/isobject/index.d.ts: -------------------------------------------------------------------------------- 1 | export = isObject; 2 | 3 | declare function isObject(val: any): boolean; 4 | 5 | declare namespace isObject {} 6 | -------------------------------------------------------------------------------- /js/node_modules/base/node_modules/isobject/index.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * isobject 3 | * 4 | * Copyright (c) 2014-2017, Jon Schlinkert. 5 | * Released under the MIT License. 6 | */ 7 | 8 | 'use strict'; 9 | 10 | module.exports = function isObject(val) { 11 | return val != null && typeof val === 'object' && Array.isArray(val) === false; 12 | }; 13 | -------------------------------------------------------------------------------- /js/node_modules/braces/node_modules/is-number/index.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * is-number 3 | * 4 | * Copyright (c) 2014-present, Jon Schlinkert. 5 | * Released under the MIT License. 6 | */ 7 | 8 | 'use strict'; 9 | 10 | module.exports = function(num) { 11 | if (typeof num === 'number') { 12 | return num - num === 0; 13 | } 14 | if (typeof num === 'string' && num.trim() !== '') { 15 | return Number.isFinite ? Number.isFinite(+num) : isFinite(+num); 16 | } 17 | return false; 18 | }; 19 | -------------------------------------------------------------------------------- /js/node_modules/cache-base/node_modules/extend-shallow/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var isObject = require('is-extendable'); 4 | 5 | module.exports = function extend(o/*, objects*/) { 6 | if (!isObject(o)) { o = {}; } 7 | 8 | var len = arguments.length; 9 | for (var i = 1; i < len; i++) { 10 | var obj = arguments[i]; 11 | 12 | if (isObject(obj)) { 13 | assign(o, obj); 14 | } 15 | } 16 | return o; 17 | }; 18 | 19 | function assign(a, b) { 20 | for (var key in b) { 21 | if (hasOwn(b, key)) { 22 | a[key] = b[key]; 23 | } 24 | } 25 | } 26 | 27 | /** 28 | * Returns true if the given `key` is an own property of `obj`. 29 | */ 30 | 31 | function hasOwn(obj, key) { 32 | return Object.prototype.hasOwnProperty.call(obj, key); 33 | } 34 | -------------------------------------------------------------------------------- /js/node_modules/cache-base/node_modules/isobject/index.d.ts: -------------------------------------------------------------------------------- 1 | export = isObject; 2 | 3 | declare function isObject(val: any): boolean; 4 | 5 | declare namespace isObject {} 6 | -------------------------------------------------------------------------------- /js/node_modules/cache-base/node_modules/isobject/index.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * isobject 3 | * 4 | * Copyright (c) 2014-2017, Jon Schlinkert. 5 | * Released under the MIT License. 6 | */ 7 | 8 | 'use strict'; 9 | 10 | module.exports = function isObject(val) { 11 | return val != null && typeof val === 'object' && Array.isArray(val) === false; 12 | }; 13 | -------------------------------------------------------------------------------- /js/node_modules/class-utils/node_modules/isobject/index.d.ts: -------------------------------------------------------------------------------- 1 | export = isObject; 2 | 3 | declare function isObject(val: any): boolean; 4 | 5 | declare namespace isObject {} 6 | -------------------------------------------------------------------------------- /js/node_modules/class-utils/node_modules/isobject/index.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * isobject 3 | * 4 | * Copyright (c) 2014-2017, Jon Schlinkert. 5 | * Released under the MIT License. 6 | */ 7 | 8 | 'use strict'; 9 | 10 | module.exports = function isObject(val) { 11 | return val != null && typeof val === 'object' && Array.isArray(val) === false; 12 | }; 13 | -------------------------------------------------------------------------------- /js/node_modules/concat-map/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - 0.4 4 | - 0.6 5 | -------------------------------------------------------------------------------- /js/node_modules/concat-map/example/map.js: -------------------------------------------------------------------------------- 1 | var concatMap = require('../'); 2 | var xs = [ 1, 2, 3, 4, 5, 6 ]; 3 | var ys = concatMap(xs, function (x) { 4 | return x % 2 ? [ x - 0.1, x, x + 0.1 ] : []; 5 | }); 6 | console.dir(ys); 7 | -------------------------------------------------------------------------------- /js/node_modules/concat-map/index.js: -------------------------------------------------------------------------------- 1 | module.exports = function (xs, fn) { 2 | var res = []; 3 | for (var i = 0; i < xs.length; i++) { 4 | var x = fn(xs[i], i); 5 | if (isArray(x)) res.push.apply(res, x); 6 | else res.push(x); 7 | } 8 | return res; 9 | }; 10 | 11 | var isArray = Array.isArray || function (xs) { 12 | return Object.prototype.toString.call(xs) === '[object Array]'; 13 | }; 14 | -------------------------------------------------------------------------------- /js/node_modules/core-util-is/README.md: -------------------------------------------------------------------------------- 1 | # core-util-is 2 | 3 | The `util.is*` functions introduced in Node v0.12. 4 | -------------------------------------------------------------------------------- /js/node_modules/debug/.coveralls.yml: -------------------------------------------------------------------------------- 1 | repo_token: SIAeZjKYlHK74rbcFvNHMUzjRiMpflxve 2 | -------------------------------------------------------------------------------- /js/node_modules/debug/.eslintrc: -------------------------------------------------------------------------------- 1 | { 2 | "env": { 3 | "browser": true, 4 | "node": true 5 | }, 6 | "rules": { 7 | "no-console": 0, 8 | "no-empty": [1, { "allowEmptyCatch": true }] 9 | }, 10 | "extends": "eslint:recommended" 11 | } 12 | -------------------------------------------------------------------------------- /js/node_modules/debug/.npmignore: -------------------------------------------------------------------------------- 1 | support 2 | test 3 | examples 4 | example 5 | *.sock 6 | dist 7 | yarn.lock 8 | coverage 9 | bower.json 10 | -------------------------------------------------------------------------------- /js/node_modules/debug/.travis.yml: -------------------------------------------------------------------------------- 1 | 2 | language: node_js 3 | node_js: 4 | - "6" 5 | - "5" 6 | - "4" 7 | 8 | install: 9 | - make node_modules 10 | 11 | script: 12 | - make lint 13 | - make test 14 | - make coveralls 15 | -------------------------------------------------------------------------------- /js/node_modules/debug/component.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "debug", 3 | "repo": "visionmedia/debug", 4 | "description": "small debugging utility", 5 | "version": "2.6.9", 6 | "keywords": [ 7 | "debug", 8 | "log", 9 | "debugger" 10 | ], 11 | "main": "src/browser.js", 12 | "scripts": [ 13 | "src/browser.js", 14 | "src/debug.js" 15 | ], 16 | "dependencies": { 17 | "rauchg/ms.js": "0.7.1" 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /js/node_modules/debug/node.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./src/node'); 2 | -------------------------------------------------------------------------------- /js/node_modules/debug/src/index.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Detect Electron renderer process, which is node, but we should 3 | * treat as a browser. 4 | */ 5 | 6 | if (typeof process !== 'undefined' && process.type === 'renderer') { 7 | module.exports = require('./browser.js'); 8 | } else { 9 | module.exports = require('./node.js'); 10 | } 11 | -------------------------------------------------------------------------------- /js/node_modules/debug/src/inspector-log.js: -------------------------------------------------------------------------------- 1 | module.exports = inspectorLog; 2 | 3 | // black hole 4 | const nullStream = new (require('stream').Writable)(); 5 | nullStream._write = () => {}; 6 | 7 | /** 8 | * Outputs a `console.log()` to the Node.js Inspector console *only*. 9 | */ 10 | function inspectorLog() { 11 | const stdout = console._stdout; 12 | console._stdout = nullStream; 13 | console.log.apply(console, arguments); 14 | console._stdout = stdout; 15 | } 16 | -------------------------------------------------------------------------------- /js/node_modules/define-property/node_modules/is-descriptor/index.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * is-descriptor 3 | * 4 | * Copyright (c) 2015-2017, Jon Schlinkert. 5 | * Released under the MIT License. 6 | */ 7 | 8 | 'use strict'; 9 | 10 | var typeOf = require('kind-of'); 11 | var isAccessor = require('is-accessor-descriptor'); 12 | var isData = require('is-data-descriptor'); 13 | 14 | module.exports = function isDescriptor(obj, key) { 15 | if (typeOf(obj) !== 'object') { 16 | return false; 17 | } 18 | if ('get' in obj) { 19 | return isAccessor(obj, key); 20 | } 21 | return isData(obj, key); 22 | }; 23 | -------------------------------------------------------------------------------- /js/node_modules/define-property/node_modules/isobject/index.d.ts: -------------------------------------------------------------------------------- 1 | export = isObject; 2 | 3 | declare function isObject(val: any): boolean; 4 | 5 | declare namespace isObject {} 6 | -------------------------------------------------------------------------------- /js/node_modules/define-property/node_modules/isobject/index.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * isobject 3 | * 4 | * Copyright (c) 2014-2017, Jon Schlinkert. 5 | * Released under the MIT License. 6 | */ 7 | 8 | 'use strict'; 9 | 10 | module.exports = function isObject(val) { 11 | return val != null && typeof val === 'object' && Array.isArray(val) === false; 12 | }; 13 | -------------------------------------------------------------------------------- /js/node_modules/ensure-posix-path/README.md: -------------------------------------------------------------------------------- 1 | # ensure-posix-path 2 | 3 | [![Build Status](https://travis-ci.org/stefanpenner/ensure-posix-path.svg)](https://travis-ci.org/stefanpenner/ensure-posix-path) 4 | [![Build status](https://ci.appveyor.com/api/projects/status/bt015k54b2ohk1oi?svg=true)](https://ci.appveyor.com/project/embercli/ensure-posix-path) 5 | -------------------------------------------------------------------------------- /js/node_modules/ensure-posix-path/index.js: -------------------------------------------------------------------------------- 1 | var path = require('path'); 2 | 3 | module.exports = function ensurePosix(filepath) { 4 | if (path.sep !== '/') { 5 | return filepath.split(path.sep).join('/'); 6 | } 7 | 8 | return filepath; 9 | }; 10 | -------------------------------------------------------------------------------- /js/node_modules/exists-stat/.npmignore: -------------------------------------------------------------------------------- 1 | fixtures/ 2 | -------------------------------------------------------------------------------- /js/node_modules/exists-stat/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - '4' # Legacy 4 | - '6' # LTS 5 | - '7' 6 | script: 7 | - "npm test" 8 | -------------------------------------------------------------------------------- /js/node_modules/exists-stat/README.md: -------------------------------------------------------------------------------- 1 | # exists-stat 2 | 3 | Synchronously check if a path exists and returns its stats object if it does. Saves you from needing `try-catch` statements when trying to get stats information. 4 | 5 | ```js 6 | existsStat('exists-dir').isDirectory(); // true 7 | existsStat('exists.js').isFile(); //true 8 | 9 | existsStat('does-not-exist-dir'); // null 10 | existsStat('does-not-exist.js'); // null 11 | ``` 12 | -------------------------------------------------------------------------------- /js/node_modules/exists-stat/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | const fs = require('fs'); 4 | 5 | module.exports = function existsStat() { 6 | try { 7 | const stats = fs.statSync.apply(fs, arguments); 8 | return stats; 9 | } catch (e) { 10 | return null; 11 | } 12 | }; 13 | -------------------------------------------------------------------------------- /js/node_modules/expand-tilde/index.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * expand-tilde 3 | * 4 | * Copyright (c) 2015 Jon Schlinkert. 5 | * Licensed under the MIT license. 6 | */ 7 | 8 | var homedir = require('homedir-polyfill'); 9 | var path = require('path'); 10 | 11 | module.exports = function expandTilde(filepath) { 12 | var home = homedir(); 13 | 14 | if (filepath.charCodeAt(0) === 126 /* ~ */) { 15 | if (filepath.charCodeAt(1) === 43 /* + */) { 16 | return path.join(process.cwd(), filepath.slice(2)); 17 | } 18 | return home ? path.join(home, filepath.slice(1)) : filepath; 19 | } 20 | 21 | return filepath; 22 | }; 23 | -------------------------------------------------------------------------------- /js/node_modules/extend-shallow/node_modules/is-extendable/index.d.ts: -------------------------------------------------------------------------------- 1 | export = isExtendable; 2 | 3 | declare function isExtendable(val: any): boolean; 4 | 5 | declare namespace isExtendable {} 6 | -------------------------------------------------------------------------------- /js/node_modules/extend-shallow/node_modules/is-extendable/index.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * is-extendable 3 | * 4 | * Copyright (c) 2015-2017, Jon Schlinkert. 5 | * Released under the MIT License. 6 | */ 7 | 8 | 'use strict'; 9 | 10 | var isPlainObject = require('is-plain-object'); 11 | 12 | module.exports = function isExtendable(val) { 13 | return isPlainObject(val) || typeof val === 'function' || Array.isArray(val); 14 | }; 15 | -------------------------------------------------------------------------------- /js/node_modules/filename-regex/index.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * filename-regex 3 | * 4 | * Copyright (c) 2014-2015, Jon Schlinkert 5 | * Licensed under the MIT license. 6 | */ 7 | 8 | module.exports = function filenameRegex() { 9 | return /([^\\\/]+)$/; 10 | }; 11 | -------------------------------------------------------------------------------- /js/node_modules/findup-sync/node_modules/braces/node_modules/extend-shallow/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var isObject = require('is-extendable'); 4 | 5 | module.exports = function extend(o/*, objects*/) { 6 | if (!isObject(o)) { o = {}; } 7 | 8 | var len = arguments.length; 9 | for (var i = 1; i < len; i++) { 10 | var obj = arguments[i]; 11 | 12 | if (isObject(obj)) { 13 | assign(o, obj); 14 | } 15 | } 16 | return o; 17 | }; 18 | 19 | function assign(a, b) { 20 | for (var key in b) { 21 | if (hasOwn(b, key)) { 22 | a[key] = b[key]; 23 | } 24 | } 25 | } 26 | 27 | /** 28 | * Returns true if the given `key` is an own property of `obj`. 29 | */ 30 | 31 | function hasOwn(obj, key) { 32 | return Object.prototype.hasOwnProperty.call(obj, key); 33 | } 34 | -------------------------------------------------------------------------------- /js/node_modules/findup-sync/node_modules/expand-brackets/node_modules/extend-shallow/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var isObject = require('is-extendable'); 4 | 5 | module.exports = function extend(o/*, objects*/) { 6 | if (!isObject(o)) { o = {}; } 7 | 8 | var len = arguments.length; 9 | for (var i = 1; i < len; i++) { 10 | var obj = arguments[i]; 11 | 12 | if (isObject(obj)) { 13 | assign(o, obj); 14 | } 15 | } 16 | return o; 17 | }; 18 | 19 | function assign(a, b) { 20 | for (var key in b) { 21 | if (hasOwn(b, key)) { 22 | a[key] = b[key]; 23 | } 24 | } 25 | } 26 | 27 | /** 28 | * Returns true if the given `key` is an own property of `obj`. 29 | */ 30 | 31 | function hasOwn(obj, key) { 32 | return Object.prototype.hasOwnProperty.call(obj, key); 33 | } 34 | -------------------------------------------------------------------------------- /js/node_modules/findup-sync/node_modules/expand-brackets/node_modules/is-descriptor/index.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * is-descriptor 3 | * 4 | * Copyright (c) 2015-2017, Jon Schlinkert. 5 | * Released under the MIT License. 6 | */ 7 | 8 | 'use strict'; 9 | 10 | var typeOf = require('kind-of'); 11 | var isAccessor = require('is-accessor-descriptor'); 12 | var isData = require('is-data-descriptor'); 13 | 14 | module.exports = function isDescriptor(obj, key) { 15 | if (typeOf(obj) !== 'object') { 16 | return false; 17 | } 18 | if ('get' in obj) { 19 | return isAccessor(obj, key); 20 | } 21 | return isData(obj, key); 22 | }; 23 | -------------------------------------------------------------------------------- /js/node_modules/findup-sync/node_modules/extglob/changelog.md: -------------------------------------------------------------------------------- 1 | ## Changelog 2 | 3 | ### v2.0.0 4 | 5 | **Added features** 6 | 7 | - Adds [.capture](readme.md#capture) method for capturing matches, thanks to [devongovett](https://github.com/devongovett) 8 | 9 | 10 | ### v1.0.0 11 | 12 | **Breaking changes** 13 | 14 | - The main export now returns the compiled string, instead of the object returned from the compiler 15 | 16 | **Added features** 17 | 18 | - Adds a `.create` method to do what the main function did before v1.0.0 19 | 20 | **Other changes** 21 | 22 | - adds `expand-brackets` parsers/compilers to handle nested brackets and extglobs 23 | - uses `to-regex` to build regex for `makeRe` method 24 | - improves coverage 25 | - optimizations -------------------------------------------------------------------------------- /js/node_modules/findup-sync/node_modules/extglob/node_modules/extend-shallow/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var isObject = require('is-extendable'); 4 | 5 | module.exports = function extend(o/*, objects*/) { 6 | if (!isObject(o)) { o = {}; } 7 | 8 | var len = arguments.length; 9 | for (var i = 1; i < len; i++) { 10 | var obj = arguments[i]; 11 | 12 | if (isObject(obj)) { 13 | assign(o, obj); 14 | } 15 | } 16 | return o; 17 | }; 18 | 19 | function assign(a, b) { 20 | for (var key in b) { 21 | if (hasOwn(b, key)) { 22 | a[key] = b[key]; 23 | } 24 | } 25 | } 26 | 27 | /** 28 | * Returns true if the given `key` is an own property of `obj`. 29 | */ 30 | 31 | function hasOwn(obj, key) { 32 | return Object.prototype.hasOwnProperty.call(obj, key); 33 | } 34 | -------------------------------------------------------------------------------- /js/node_modules/findup-sync/node_modules/fill-range/node_modules/extend-shallow/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var isObject = require('is-extendable'); 4 | 5 | module.exports = function extend(o/*, objects*/) { 6 | if (!isObject(o)) { o = {}; } 7 | 8 | var len = arguments.length; 9 | for (var i = 1; i < len; i++) { 10 | var obj = arguments[i]; 11 | 12 | if (isObject(obj)) { 13 | assign(o, obj); 14 | } 15 | } 16 | return o; 17 | }; 18 | 19 | function assign(a, b) { 20 | for (var key in b) { 21 | if (hasOwn(b, key)) { 22 | a[key] = b[key]; 23 | } 24 | } 25 | } 26 | 27 | /** 28 | * Returns true if the given `key` is an own property of `obj`. 29 | */ 30 | 31 | function hasOwn(obj, key) { 32 | return Object.prototype.hasOwnProperty.call(obj, key); 33 | } 34 | -------------------------------------------------------------------------------- /js/node_modules/findup-sync/node_modules/is-descriptor/index.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * is-descriptor 3 | * 4 | * Copyright (c) 2015-2017, Jon Schlinkert. 5 | * Released under the MIT License. 6 | */ 7 | 8 | 'use strict'; 9 | 10 | var typeOf = require('kind-of'); 11 | var isAccessor = require('is-accessor-descriptor'); 12 | var isData = require('is-data-descriptor'); 13 | 14 | module.exports = function isDescriptor(obj, key) { 15 | if (typeOf(obj) !== 'object') { 16 | return false; 17 | } 18 | if ('get' in obj) { 19 | return isAccessor(obj, key); 20 | } 21 | return isData(obj, key); 22 | }; 23 | -------------------------------------------------------------------------------- /js/node_modules/findup-sync/node_modules/is-extglob/index.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * is-extglob 3 | * 4 | * Copyright (c) 2014-2016, Jon Schlinkert. 5 | * Licensed under the MIT License. 6 | */ 7 | 8 | module.exports = function isExtglob(str) { 9 | if (typeof str !== 'string' || str === '') { 10 | return false; 11 | } 12 | 13 | var match; 14 | while ((match = /(\\).|([@?!+*]\(.*\))/g.exec(str))) { 15 | if (match[2]) return true; 16 | str = str.slice(match.index + match[0].length); 17 | } 18 | 19 | return false; 20 | }; 21 | -------------------------------------------------------------------------------- /js/node_modules/findup-sync/node_modules/is-glob/index.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * is-glob 3 | * 4 | * Copyright (c) 2014-2016, Jon Schlinkert. 5 | * Licensed under the MIT License. 6 | */ 7 | 8 | var isExtglob = require('is-extglob'); 9 | 10 | module.exports = function isGlob(str) { 11 | if (typeof str !== 'string' || str === '') { 12 | return false; 13 | } 14 | 15 | if (isExtglob(str)) return true; 16 | 17 | var regex = /(\\).|([*?]|\[.*\]|\{.*\}|\(.*\|.*\)|^!)/; 18 | var match; 19 | 20 | while ((match = regex.exec(str))) { 21 | if (match[2]) return true; 22 | str = str.slice(match.index + match[0].length); 23 | } 24 | return false; 25 | }; 26 | -------------------------------------------------------------------------------- /js/node_modules/findup-sync/node_modules/is-number/index.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * is-number 3 | * 4 | * Copyright (c) 2014-2015, Jon Schlinkert. 5 | * Licensed under the MIT License. 6 | */ 7 | 8 | 'use strict'; 9 | 10 | var typeOf = require('kind-of'); 11 | 12 | module.exports = function isNumber(num) { 13 | var type = typeOf(num); 14 | 15 | if (type === 'string') { 16 | if (!num.trim()) return false; 17 | } else if (type !== 'number') { 18 | return false; 19 | } 20 | 21 | return (num - num + 1) >= 0; 22 | }; 23 | -------------------------------------------------------------------------------- /js/node_modules/findup-sync/node_modules/isobject/index.d.ts: -------------------------------------------------------------------------------- 1 | export = isObject; 2 | 3 | declare function isObject(val: any): boolean; 4 | 5 | declare namespace isObject {} 6 | -------------------------------------------------------------------------------- /js/node_modules/findup-sync/node_modules/isobject/index.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * isobject 3 | * 4 | * Copyright (c) 2014-2017, Jon Schlinkert. 5 | * Released under the MIT License. 6 | */ 7 | 8 | 'use strict'; 9 | 10 | module.exports = function isObject(val) { 11 | return val != null && typeof val === 'object' && Array.isArray(val) === false; 12 | }; 13 | -------------------------------------------------------------------------------- /js/node_modules/findup-sync/node_modules/micromatch/lib/cache.js: -------------------------------------------------------------------------------- 1 | module.exports = new (require('fragment-cache'))(); 2 | -------------------------------------------------------------------------------- /js/node_modules/for-in/index.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * for-in 3 | * 4 | * Copyright (c) 2014-2017, Jon Schlinkert. 5 | * Released under the MIT License. 6 | */ 7 | 8 | 'use strict'; 9 | 10 | module.exports = function forIn(obj, fn, thisArg) { 11 | for (var key in obj) { 12 | if (fn.call(thisArg, obj[key], key, obj) === false) { 13 | break; 14 | } 15 | } 16 | }; 17 | -------------------------------------------------------------------------------- /js/node_modules/for-own/index.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * for-own 3 | * 4 | * Copyright (c) 2014-2017, Jon Schlinkert. 5 | * Released under the MIT License. 6 | */ 7 | 8 | 'use strict'; 9 | 10 | var forIn = require('for-in'); 11 | var hasOwn = Object.prototype.hasOwnProperty; 12 | 13 | module.exports = function forOwn(obj, fn, thisArg) { 14 | forIn(obj, function(val, key) { 15 | if (hasOwn.call(obj, key)) { 16 | return fn.call(thisArg, obj[key], key, obj); 17 | } 18 | }); 19 | }; 20 | -------------------------------------------------------------------------------- /js/node_modules/fsevents/.npmignore: -------------------------------------------------------------------------------- 1 | test/ 2 | -------------------------------------------------------------------------------- /js/node_modules/fsevents/ISSUE_TEMPLATE.md: -------------------------------------------------------------------------------- 1 | If you are NOT on OS X and have come here to file an issue about compatibility problems, 2 | please stop and go to #115 for your answer. 3 | 4 | You can look through many other similar closed issues as well if you're interested: 5 | https://github.com/strongloop/fsevents/search?utf8=%E2%9C%93&q=%22notsup%22+OR+%22EBADPLATFORM%22&type=Issues. 6 | 7 | If you are here to report an issue observed while using this module on OS X, please delete 8 | all this pre-filled text then go ahead and submit your report. 9 | -------------------------------------------------------------------------------- /js/node_modules/fsevents/binding.gyp: -------------------------------------------------------------------------------- 1 | { 2 | "targets": [ 3 | { "target_name": "" } 4 | ], 5 | "conditions": [ 6 | ['OS=="mac"', { 7 | "targets": [{ 8 | "target_name": "<(module_name)", 9 | "sources": ["fsevents.cc"], 10 | "xcode_settings": { 11 | "OTHER_LDFLAGS": [ 12 | "-framework CoreFoundation -framework CoreServices" 13 | ] 14 | }, 15 | "include_dirs": [ 16 | "<]/g; 4 | }; 5 | -------------------------------------------------------------------------------- /js/node_modules/fsevents/node_modules/aproba/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2015, Rebecca Turner 2 | 3 | Permission to use, copy, modify, and/or distribute this software for any 4 | purpose with or without fee is hereby granted, provided that the above 5 | copyright notice and this permission notice appear in all copies. 6 | 7 | THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 8 | WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 9 | MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR 10 | ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 11 | WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 12 | ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF 13 | OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 14 | 15 | -------------------------------------------------------------------------------- /js/node_modules/fsevents/node_modules/are-we-there-yet/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2015, Rebecca Turner 2 | 3 | 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. 4 | 5 | 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. 6 | -------------------------------------------------------------------------------- /js/node_modules/fsevents/node_modules/are-we-there-yet/index.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | exports.TrackerGroup = require('./tracker-group.js') 3 | exports.Tracker = require('./tracker.js') 4 | exports.TrackerStream = require('./tracker-stream.js') 5 | -------------------------------------------------------------------------------- /js/node_modules/fsevents/node_modules/are-we-there-yet/tracker-base.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | var EventEmitter = require('events').EventEmitter 3 | var util = require('util') 4 | 5 | var trackerId = 0 6 | var TrackerBase = module.exports = function (name) { 7 | EventEmitter.call(this) 8 | this.id = ++trackerId 9 | this.name = name 10 | } 11 | util.inherits(TrackerBase, EventEmitter) 12 | -------------------------------------------------------------------------------- /js/node_modules/fsevents/node_modules/balanced-match/.npmignore: -------------------------------------------------------------------------------- 1 | test 2 | .gitignore 3 | .travis.yml 4 | Makefile 5 | example.js 6 | -------------------------------------------------------------------------------- /js/node_modules/fsevents/node_modules/chownr/LICENSE: -------------------------------------------------------------------------------- 1 | The ISC License 2 | 3 | Copyright (c) Isaac Z. Schlueter and Contributors 4 | 5 | Permission to use, copy, modify, and/or distribute this software for any 6 | purpose with or without fee is hereby granted, provided that the above 7 | copyright notice and this permission notice appear in all copies. 8 | 9 | THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 10 | WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 11 | MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR 12 | ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 13 | WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 14 | ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR 15 | IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 16 | -------------------------------------------------------------------------------- /js/node_modules/fsevents/node_modules/chownr/README.md: -------------------------------------------------------------------------------- 1 | Like `chown -R`. 2 | 3 | Takes the same arguments as `fs.chown()` 4 | -------------------------------------------------------------------------------- /js/node_modules/fsevents/node_modules/code-point-at/index.js: -------------------------------------------------------------------------------- 1 | /* eslint-disable babel/new-cap, xo/throw-new-error */ 2 | 'use strict'; 3 | module.exports = function (str, pos) { 4 | if (str === null || str === undefined) { 5 | throw TypeError(); 6 | } 7 | 8 | str = String(str); 9 | 10 | var size = str.length; 11 | var i = pos ? Number(pos) : 0; 12 | 13 | if (Number.isNaN(i)) { 14 | i = 0; 15 | } 16 | 17 | if (i < 0 || i >= size) { 18 | return undefined; 19 | } 20 | 21 | var first = str.charCodeAt(i); 22 | 23 | if (first >= 0xD800 && first <= 0xDBFF && size > i + 1) { 24 | var second = str.charCodeAt(i + 1); 25 | 26 | if (second >= 0xDC00 && second <= 0xDFFF) { 27 | return ((first - 0xD800) * 0x400) + second - 0xDC00 + 0x10000; 28 | } 29 | } 30 | 31 | return first; 32 | }; 33 | -------------------------------------------------------------------------------- /js/node_modules/fsevents/node_modules/code-point-at/readme.md: -------------------------------------------------------------------------------- 1 | # code-point-at [![Build Status](https://travis-ci.org/sindresorhus/code-point-at.svg?branch=master)](https://travis-ci.org/sindresorhus/code-point-at) 2 | 3 | > ES2015 [`String#codePointAt()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/codePointAt) [ponyfill](https://ponyfill.com) 4 | 5 | 6 | ## Install 7 | 8 | ``` 9 | $ npm install --save code-point-at 10 | ``` 11 | 12 | 13 | ## Usage 14 | 15 | ```js 16 | var codePointAt = require('code-point-at'); 17 | 18 | codePointAt('🐴'); 19 | //=> 128052 20 | 21 | codePointAt('abc', 2); 22 | //=> 99 23 | ``` 24 | 25 | ## API 26 | 27 | ### codePointAt(input, [position]) 28 | 29 | 30 | ## License 31 | 32 | MIT © [Sindre Sorhus](https://sindresorhus.com) 33 | -------------------------------------------------------------------------------- /js/node_modules/fsevents/node_modules/concat-map/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - 0.4 4 | - 0.6 5 | -------------------------------------------------------------------------------- /js/node_modules/fsevents/node_modules/concat-map/example/map.js: -------------------------------------------------------------------------------- 1 | var concatMap = require('../'); 2 | var xs = [ 1, 2, 3, 4, 5, 6 ]; 3 | var ys = concatMap(xs, function (x) { 4 | return x % 2 ? [ x - 0.1, x, x + 0.1 ] : []; 5 | }); 6 | console.dir(ys); 7 | -------------------------------------------------------------------------------- /js/node_modules/fsevents/node_modules/concat-map/index.js: -------------------------------------------------------------------------------- 1 | module.exports = function (xs, fn) { 2 | var res = []; 3 | for (var i = 0; i < xs.length; i++) { 4 | var x = fn(xs[i], i); 5 | if (isArray(x)) res.push.apply(res, x); 6 | else res.push(x); 7 | } 8 | return res; 9 | }; 10 | 11 | var isArray = Array.isArray || function (xs) { 12 | return Object.prototype.toString.call(xs) === '[object Array]'; 13 | }; 14 | -------------------------------------------------------------------------------- /js/node_modules/fsevents/node_modules/console-control-strings/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2014, Rebecca Turner 2 | 3 | Permission to use, copy, modify, and/or distribute this software for any 4 | purpose with or without fee is hereby granted, provided that the above 5 | copyright notice and this permission notice appear in all copies. 6 | 7 | THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 8 | WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 9 | MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR 10 | ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 11 | WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 12 | ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF 13 | OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 14 | -------------------------------------------------------------------------------- /js/node_modules/fsevents/node_modules/core-util-is/README.md: -------------------------------------------------------------------------------- 1 | # core-util-is 2 | 3 | The `util.is*` functions introduced in Node v0.12. 4 | -------------------------------------------------------------------------------- /js/node_modules/fsevents/node_modules/debug/.coveralls.yml: -------------------------------------------------------------------------------- 1 | repo_token: SIAeZjKYlHK74rbcFvNHMUzjRiMpflxve 2 | -------------------------------------------------------------------------------- /js/node_modules/fsevents/node_modules/debug/.eslintrc: -------------------------------------------------------------------------------- 1 | { 2 | "env": { 3 | "browser": true, 4 | "node": true 5 | }, 6 | "rules": { 7 | "no-console": 0, 8 | "no-empty": [1, { "allowEmptyCatch": true }] 9 | }, 10 | "extends": "eslint:recommended" 11 | } 12 | -------------------------------------------------------------------------------- /js/node_modules/fsevents/node_modules/debug/.npmignore: -------------------------------------------------------------------------------- 1 | support 2 | test 3 | examples 4 | example 5 | *.sock 6 | dist 7 | yarn.lock 8 | coverage 9 | bower.json 10 | -------------------------------------------------------------------------------- /js/node_modules/fsevents/node_modules/debug/.travis.yml: -------------------------------------------------------------------------------- 1 | 2 | language: node_js 3 | node_js: 4 | - "6" 5 | - "5" 6 | - "4" 7 | 8 | install: 9 | - make node_modules 10 | 11 | script: 12 | - make lint 13 | - make test 14 | - make coveralls 15 | -------------------------------------------------------------------------------- /js/node_modules/fsevents/node_modules/debug/component.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "debug", 3 | "repo": "visionmedia/debug", 4 | "description": "small debugging utility", 5 | "version": "2.6.9", 6 | "keywords": [ 7 | "debug", 8 | "log", 9 | "debugger" 10 | ], 11 | "main": "src/browser.js", 12 | "scripts": [ 13 | "src/browser.js", 14 | "src/debug.js" 15 | ], 16 | "dependencies": { 17 | "rauchg/ms.js": "0.7.1" 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /js/node_modules/fsevents/node_modules/debug/node.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./src/node'); 2 | -------------------------------------------------------------------------------- /js/node_modules/fsevents/node_modules/debug/src/index.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Detect Electron renderer process, which is node, but we should 3 | * treat as a browser. 4 | */ 5 | 6 | if (typeof process !== 'undefined' && process.type === 'renderer') { 7 | module.exports = require('./browser.js'); 8 | } else { 9 | module.exports = require('./node.js'); 10 | } 11 | -------------------------------------------------------------------------------- /js/node_modules/fsevents/node_modules/debug/src/inspector-log.js: -------------------------------------------------------------------------------- 1 | module.exports = inspectorLog; 2 | 3 | // black hole 4 | const nullStream = new (require('stream').Writable)(); 5 | nullStream._write = () => {}; 6 | 7 | /** 8 | * Outputs a `console.log()` to the Node.js Inspector console *only*. 9 | */ 10 | function inspectorLog() { 11 | const stdout = console._stdout; 12 | console._stdout = nullStream; 13 | console.log.apply(console, arguments); 14 | console._stdout = stdout; 15 | } 16 | -------------------------------------------------------------------------------- /js/node_modules/fsevents/node_modules/deep-extend/CHANGELOG.md: -------------------------------------------------------------------------------- 1 | Changelog 2 | ========= 3 | 4 | v0.4.1 5 | ------ 6 | 7 | - Removed test code from npm package 8 | ([see pull request #21](https://github.com/unclechu/node-deep-extend/pull/21)); 9 | - Increased minimal version of Node from 0.4.0 to 0.12.0 10 | (because can't run tests on lesser version anyway). 11 | 12 | v0.4.0 13 | ------ 14 | 15 | Broken backward compatibility with v0.3.x 16 | 17 | - Fixed bug with extending arrays instead of cloning; 18 | - Deep cloning for arrays; 19 | - Check for own property; 20 | - Fixed some documentation issues; 21 | - Strict JS mode. 22 | -------------------------------------------------------------------------------- /js/node_modules/fsevents/node_modules/deep-extend/index.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./lib/deep-extend'); 2 | -------------------------------------------------------------------------------- /js/node_modules/fsevents/node_modules/delegates/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules/ 2 | -------------------------------------------------------------------------------- /js/node_modules/fsevents/node_modules/delegates/History.md: -------------------------------------------------------------------------------- 1 | 2 | 1.0.0 / 2015-12-14 3 | ================== 4 | 5 | * Merge pull request #12 from kasicka/master 6 | * Add license text 7 | 8 | 0.1.0 / 2014-10-17 9 | ================== 10 | 11 | * adds `.fluent()` to api 12 | 13 | 0.0.3 / 2014-01-13 14 | ================== 15 | 16 | * fix receiver for .method() 17 | 18 | 0.0.2 / 2014-01-13 19 | ================== 20 | 21 | * Object.defineProperty() sucks 22 | * Initial commit 23 | -------------------------------------------------------------------------------- /js/node_modules/fsevents/node_modules/delegates/Makefile: -------------------------------------------------------------------------------- 1 | 2 | test: 3 | @./node_modules/.bin/mocha \ 4 | --require should \ 5 | --reporter spec \ 6 | --bail 7 | 8 | .PHONY: test -------------------------------------------------------------------------------- /js/node_modules/fsevents/node_modules/detect-libc/.npmignore: -------------------------------------------------------------------------------- 1 | .nyc_output 2 | .travis.yml 3 | coverage 4 | test.js 5 | node_modules 6 | /.circleci 7 | /tests/integration 8 | -------------------------------------------------------------------------------- /js/node_modules/fsevents/node_modules/gauge/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2014, Rebecca Turner 2 | 3 | Permission to use, copy, modify, and/or distribute this software for any 4 | purpose with or without fee is hereby granted, provided that the above 5 | copyright notice and this permission notice appear in all copies. 6 | 7 | THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 8 | WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 9 | MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR 10 | ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 11 | WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 12 | ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF 13 | OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 14 | -------------------------------------------------------------------------------- /js/node_modules/fsevents/node_modules/gauge/base-theme.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | var spin = require('./spin.js') 3 | var progressBar = require('./progress-bar.js') 4 | 5 | module.exports = { 6 | activityIndicator: function (values, theme, width) { 7 | if (values.spun == null) return 8 | return spin(theme, values.spun) 9 | }, 10 | progressbar: function (values, theme, width) { 11 | if (values.completed == null) return 12 | return progressBar(theme, width, values.completed) 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /js/node_modules/fsevents/node_modules/gauge/error.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | var util = require('util') 3 | 4 | var User = exports.User = function User (msg) { 5 | var err = new Error(msg) 6 | Error.captureStackTrace(err, User) 7 | err.code = 'EGAUGE' 8 | return err 9 | } 10 | 11 | exports.MissingTemplateValue = function MissingTemplateValue (item, values) { 12 | var err = new User(util.format('Missing template value "%s"', item.type)) 13 | Error.captureStackTrace(err, MissingTemplateValue) 14 | err.template = item 15 | err.values = values 16 | return err 17 | } 18 | 19 | exports.Internal = function Internal (msg) { 20 | var err = new Error(msg) 21 | Error.captureStackTrace(err, Internal) 22 | err.code = 'EGAUGEINTERNAL' 23 | return err 24 | } 25 | -------------------------------------------------------------------------------- /js/node_modules/fsevents/node_modules/gauge/has-color.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | module.exports = isWin32() || isColorTerm() 4 | 5 | function isWin32 () { 6 | return process.platform === 'win32' 7 | } 8 | 9 | function isColorTerm () { 10 | var termHasColor = /^screen|^xterm|^vt100|color|ansi|cygwin|linux/i 11 | return !!process.env.COLORTERM || termHasColor.test(process.env.TERM) 12 | } 13 | -------------------------------------------------------------------------------- /js/node_modules/fsevents/node_modules/gauge/process.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | // this exists so we can replace it during testing 3 | module.exports = process 4 | -------------------------------------------------------------------------------- /js/node_modules/fsevents/node_modules/gauge/set-immediate.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | var process = require('./process') 3 | try { 4 | module.exports = setImmediate 5 | } catch (ex) { 6 | module.exports = process.nextTick 7 | } 8 | -------------------------------------------------------------------------------- /js/node_modules/fsevents/node_modules/gauge/set-interval.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | // this exists so we can replace it during testing 3 | module.exports = setInterval 4 | -------------------------------------------------------------------------------- /js/node_modules/fsevents/node_modules/gauge/spin.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | module.exports = function spin (spinstr, spun) { 4 | return spinstr[spun % spinstr.length] 5 | } 6 | -------------------------------------------------------------------------------- /js/node_modules/fsevents/node_modules/glob/LICENSE: -------------------------------------------------------------------------------- 1 | The ISC License 2 | 3 | Copyright (c) Isaac Z. Schlueter and Contributors 4 | 5 | Permission to use, copy, modify, and/or distribute this software for any 6 | purpose with or without fee is hereby granted, provided that the above 7 | copyright notice and this permission notice appear in all copies. 8 | 9 | THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 10 | WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 11 | MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR 12 | ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 13 | WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 14 | ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR 15 | IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 16 | -------------------------------------------------------------------------------- /js/node_modules/fsevents/node_modules/has-unicode/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2014, Rebecca Turner 2 | 3 | Permission to use, copy, modify, and/or distribute this software for any 4 | purpose with or without fee is hereby granted, provided that the above 5 | copyright notice and this permission notice appear in all copies. 6 | 7 | THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 8 | WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 9 | MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR 10 | ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 11 | WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 12 | ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF 13 | OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 14 | 15 | -------------------------------------------------------------------------------- /js/node_modules/fsevents/node_modules/has-unicode/index.js: -------------------------------------------------------------------------------- 1 | "use strict" 2 | var os = require("os") 3 | 4 | var hasUnicode = module.exports = function () { 5 | // Recent Win32 platforms (>XP) CAN support unicode in the console but 6 | // don't have to, and in non-english locales often use traditional local 7 | // code pages. There's no way, short of windows system calls or execing 8 | // the chcp command line program to figure this out. As such, we default 9 | // this to false and encourage your users to override it via config if 10 | // appropriate. 11 | if (os.type() == "Windows_NT") { return false } 12 | 13 | var isUTF8 = /UTF-?8$/i 14 | var ctype = process.env.LC_ALL || process.env.LC_CTYPE || process.env.LANG 15 | return isUTF8.test(ctype) 16 | } 17 | -------------------------------------------------------------------------------- /js/node_modules/fsevents/node_modules/iconv-lite/.travis.yml: -------------------------------------------------------------------------------- 1 | sudo: false 2 | language: node_js 3 | node_js: 4 | - "0.10" 5 | - "0.11" 6 | - "0.12" 7 | - "iojs" 8 | - "4" 9 | - "6" 10 | - "8" 11 | - "node" 12 | 13 | 14 | env: 15 | - CXX=g++-4.8 16 | addons: 17 | apt: 18 | sources: 19 | - ubuntu-toolchain-r-test 20 | packages: 21 | - gcc-4.8 22 | - g++-4.8 23 | 24 | -------------------------------------------------------------------------------- /js/node_modules/fsevents/node_modules/iconv-lite/encodings/index.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | 3 | // Update this array if you add/rename/remove files in this directory. 4 | // We support Browserify by skipping automatic module discovery and requiring modules directly. 5 | var modules = [ 6 | require("./internal"), 7 | require("./utf16"), 8 | require("./utf7"), 9 | require("./sbcs-codec"), 10 | require("./sbcs-data"), 11 | require("./sbcs-data-generated"), 12 | require("./dbcs-codec"), 13 | require("./dbcs-data"), 14 | ]; 15 | 16 | // Put all encoding/alias/codec definitions to single object and export it. 17 | for (var i = 0; i < modules.length; i++) { 18 | var module = modules[i]; 19 | for (var enc in module) 20 | if (Object.prototype.hasOwnProperty.call(module, enc)) 21 | exports[enc] = module[enc]; 22 | } 23 | -------------------------------------------------------------------------------- /js/node_modules/fsevents/node_modules/inflight/LICENSE: -------------------------------------------------------------------------------- 1 | The ISC License 2 | 3 | Copyright (c) Isaac Z. Schlueter 4 | 5 | Permission to use, copy, modify, and/or distribute this software for any 6 | purpose with or without fee is hereby granted, provided that the above 7 | copyright notice and this permission notice appear in all copies. 8 | 9 | THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 10 | WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 11 | MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR 12 | ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 13 | WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 14 | ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR 15 | IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 16 | -------------------------------------------------------------------------------- /js/node_modules/fsevents/node_modules/inherits/LICENSE: -------------------------------------------------------------------------------- 1 | The ISC License 2 | 3 | Copyright (c) Isaac Z. Schlueter 4 | 5 | Permission to use, copy, modify, and/or distribute this software for any 6 | purpose with or without fee is hereby granted, provided that the above 7 | copyright notice and this permission notice appear in all copies. 8 | 9 | THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH 10 | REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND 11 | FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, 12 | INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM 13 | LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR 14 | OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR 15 | PERFORMANCE OF THIS SOFTWARE. 16 | 17 | -------------------------------------------------------------------------------- /js/node_modules/fsevents/node_modules/inherits/inherits.js: -------------------------------------------------------------------------------- 1 | try { 2 | var util = require('util'); 3 | if (typeof util.inherits !== 'function') throw ''; 4 | module.exports = util.inherits; 5 | } catch (e) { 6 | module.exports = require('./inherits_browser.js'); 7 | } 8 | -------------------------------------------------------------------------------- /js/node_modules/fsevents/node_modules/inherits/inherits_browser.js: -------------------------------------------------------------------------------- 1 | if (typeof Object.create === 'function') { 2 | // implementation from standard node.js 'util' module 3 | module.exports = function inherits(ctor, superCtor) { 4 | ctor.super_ = superCtor 5 | ctor.prototype = Object.create(superCtor.prototype, { 6 | constructor: { 7 | value: ctor, 8 | enumerable: false, 9 | writable: true, 10 | configurable: true 11 | } 12 | }); 13 | }; 14 | } else { 15 | // old school shim for old browsers 16 | module.exports = function inherits(ctor, superCtor) { 17 | ctor.super_ = superCtor 18 | var TempCtor = function () {} 19 | TempCtor.prototype = superCtor.prototype 20 | ctor.prototype = new TempCtor() 21 | ctor.prototype.constructor = ctor 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /js/node_modules/fsevents/node_modules/ini/LICENSE: -------------------------------------------------------------------------------- 1 | The ISC License 2 | 3 | Copyright (c) Isaac Z. Schlueter and Contributors 4 | 5 | Permission to use, copy, modify, and/or distribute this software for any 6 | purpose with or without fee is hereby granted, provided that the above 7 | copyright notice and this permission notice appear in all copies. 8 | 9 | THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 10 | WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 11 | MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR 12 | ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 13 | WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 14 | ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR 15 | IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 16 | -------------------------------------------------------------------------------- /js/node_modules/fsevents/node_modules/isarray/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | -------------------------------------------------------------------------------- /js/node_modules/fsevents/node_modules/isarray/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "0.8" 4 | - "0.10" 5 | -------------------------------------------------------------------------------- /js/node_modules/fsevents/node_modules/isarray/Makefile: -------------------------------------------------------------------------------- 1 | 2 | test: 3 | @node_modules/.bin/tape test.js 4 | 5 | .PHONY: test 6 | 7 | -------------------------------------------------------------------------------- /js/node_modules/fsevents/node_modules/isarray/component.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "isarray", 3 | "description" : "Array#isArray for older browsers", 4 | "version" : "0.0.1", 5 | "repository" : "juliangruber/isarray", 6 | "homepage": "https://github.com/juliangruber/isarray", 7 | "main" : "index.js", 8 | "scripts" : [ 9 | "index.js" 10 | ], 11 | "dependencies" : {}, 12 | "keywords": ["browser","isarray","array"], 13 | "author": { 14 | "name": "Julian Gruber", 15 | "email": "mail@juliangruber.com", 16 | "url": "http://juliangruber.com" 17 | }, 18 | "license": "MIT" 19 | } 20 | -------------------------------------------------------------------------------- /js/node_modules/fsevents/node_modules/isarray/index.js: -------------------------------------------------------------------------------- 1 | var toString = {}.toString; 2 | 3 | module.exports = Array.isArray || function (arr) { 4 | return toString.call(arr) == '[object Array]'; 5 | }; 6 | -------------------------------------------------------------------------------- /js/node_modules/fsevents/node_modules/isarray/test.js: -------------------------------------------------------------------------------- 1 | var isArray = require('./'); 2 | var test = require('tape'); 3 | 4 | test('is array', function(t){ 5 | t.ok(isArray([])); 6 | t.notOk(isArray({})); 7 | t.notOk(isArray(null)); 8 | t.notOk(isArray(false)); 9 | 10 | var obj = {}; 11 | obj[0] = true; 12 | t.notOk(isArray(obj)); 13 | 14 | var arr = []; 15 | arr.foo = 'bar'; 16 | t.ok(isArray(arr)); 17 | 18 | t.end(); 19 | }); 20 | 21 | -------------------------------------------------------------------------------- /js/node_modules/fsevents/node_modules/minimist/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "0.8" 4 | - "0.10" 5 | -------------------------------------------------------------------------------- /js/node_modules/fsevents/node_modules/minimist/example/parse.js: -------------------------------------------------------------------------------- 1 | var argv = require('../')(process.argv.slice(2)); 2 | console.dir(argv); 3 | -------------------------------------------------------------------------------- /js/node_modules/fsevents/node_modules/minimist/test/default_bool.js: -------------------------------------------------------------------------------- 1 | var test = require('tape'); 2 | var parse = require('../'); 3 | 4 | test('boolean default true', function (t) { 5 | var argv = parse([], { 6 | boolean: 'sometrue', 7 | default: { sometrue: true } 8 | }); 9 | t.equal(argv.sometrue, true); 10 | t.end(); 11 | }); 12 | 13 | test('boolean default false', function (t) { 14 | var argv = parse([], { 15 | boolean: 'somefalse', 16 | default: { somefalse: false } 17 | }); 18 | t.equal(argv.somefalse, false); 19 | t.end(); 20 | }); 21 | -------------------------------------------------------------------------------- /js/node_modules/fsevents/node_modules/minimist/test/dotted.js: -------------------------------------------------------------------------------- 1 | var parse = require('../'); 2 | var test = require('tape'); 3 | 4 | test('dotted alias', function (t) { 5 | var argv = parse(['--a.b', '22'], {default: {'a.b': 11}, alias: {'a.b': 'aa.bb'}}); 6 | t.equal(argv.a.b, 22); 7 | t.equal(argv.aa.bb, 22); 8 | t.end(); 9 | }); 10 | 11 | test('dotted default', function (t) { 12 | var argv = parse('', {default: {'a.b': 11}, alias: {'a.b': 'aa.bb'}}); 13 | t.equal(argv.a.b, 11); 14 | t.equal(argv.aa.bb, 11); 15 | t.end(); 16 | }); 17 | -------------------------------------------------------------------------------- /js/node_modules/fsevents/node_modules/minimist/test/parse_modified.js: -------------------------------------------------------------------------------- 1 | var parse = require('../'); 2 | var test = require('tape'); 3 | 4 | test('parse with modifier functions' , function (t) { 5 | t.plan(1); 6 | 7 | var argv = parse([ '-b', '123' ], { boolean: 'b' }); 8 | t.deepEqual(argv, { b: true, _: ['123'] }); 9 | }); 10 | -------------------------------------------------------------------------------- /js/node_modules/fsevents/node_modules/minimist/test/whitespace.js: -------------------------------------------------------------------------------- 1 | var parse = require('../'); 2 | var test = require('tape'); 3 | 4 | test('whitespace should be whitespace' , function (t) { 5 | t.plan(1); 6 | var x = parse([ '-x', '\t' ]).x; 7 | t.equal(x, '\t'); 8 | }); 9 | -------------------------------------------------------------------------------- /js/node_modules/fsevents/node_modules/mkdirp/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "0.8" 4 | - "0.10" 5 | - "0.12" 6 | - "iojs" 7 | before_install: 8 | - npm install -g npm@~1.4.6 9 | -------------------------------------------------------------------------------- /js/node_modules/fsevents/node_modules/mkdirp/examples/pow.js: -------------------------------------------------------------------------------- 1 | var mkdirp = require('mkdirp'); 2 | 3 | mkdirp('/tmp/foo/bar/baz', function (err) { 4 | if (err) console.error(err) 5 | else console.log('pow!') 6 | }); 7 | -------------------------------------------------------------------------------- /js/node_modules/fsevents/node_modules/mkdirp/test/root.js: -------------------------------------------------------------------------------- 1 | var mkdirp = require('../'); 2 | var path = require('path'); 3 | var fs = require('fs'); 4 | var test = require('tap').test; 5 | var _0755 = parseInt('0755', 8); 6 | 7 | test('root', function (t) { 8 | // '/' on unix, 'c:/' on windows. 9 | var file = path.resolve('/'); 10 | 11 | mkdirp(file, _0755, function (err) { 12 | if (err) throw err 13 | fs.stat(file, function (er, stat) { 14 | if (er) throw er 15 | t.ok(stat.isDirectory(), 'target is a directory'); 16 | t.end(); 17 | }) 18 | }); 19 | }); 20 | -------------------------------------------------------------------------------- /js/node_modules/fsevents/node_modules/needle/examples/deflated-stream.js: -------------------------------------------------------------------------------- 1 | var fs = require('fs'), 2 | stream = require('stream'), 3 | needle = require('./../'); 4 | 5 | var url = 'http://ibl.gamechaser.net/f/tagqfxtteucbuldhezkz/bt_level1.gz'; 6 | 7 | var resp = needle.get(url, { compressed: true, follow_max: 10 }); 8 | console.log('Downloading...'); 9 | 10 | resp.on('readable', function() { 11 | 12 | while (data = this.read()) { 13 | var lines = data.toString().split('\n'); 14 | console.log('Got ' + lines.length + ' items.'); 15 | // console.log(lines); 16 | } 17 | 18 | }) 19 | 20 | resp.on('done', function(data) { 21 | console.log('Done'); 22 | }) 23 | -------------------------------------------------------------------------------- /js/node_modules/fsevents/node_modules/needle/examples/digest-auth.js: -------------------------------------------------------------------------------- 1 | var needle = require('./..'); 2 | 3 | var opts = { 4 | username: 'user3', 5 | password: 'user3', 6 | auth: 'digest' 7 | } 8 | 9 | needle.get('http://test.webdav.org/auth-digest/', opts, function(err, resp, body) { 10 | console.log(resp.headers); 11 | 12 | if (resp.statusCode == 401) 13 | console.log('\nIt failed.') 14 | else 15 | console.log('\nIt worked!') 16 | }); 17 | -------------------------------------------------------------------------------- /js/node_modules/fsevents/node_modules/needle/examples/download-to-file.js: -------------------------------------------------------------------------------- 1 | var fs = require('fs'), 2 | needle = require('./..'), 3 | path = require('path'); 4 | 5 | var url = process.argv[2] || 'https://upload.wikimedia.org/wikipedia/commons/a/af/Tux.png'; 6 | var file = path.basename(url); 7 | 8 | console.log('Downloading ' + file); 9 | 10 | needle.get(url, { output: file, follow: 3 }, function(err, resp, data){ 11 | console.log('File saved: ' + process.cwd() + '/' + file); 12 | 13 | var size = fs.statSync(file).size; 14 | if (size == resp.bytes) 15 | console.log(resp.bytes + ' bytes written to file.'); 16 | else 17 | throw new Error('File size mismatch: ' + size + ' != ' + resp.bytes); 18 | }); 19 | -------------------------------------------------------------------------------- /js/node_modules/fsevents/node_modules/needle/examples/multipart-stream.js: -------------------------------------------------------------------------------- 1 | var needle = require('./../'); 2 | 3 | var url = 'http://posttestserver.com/post.php?dir=needle'; 4 | 5 | var black_pixel = new Buffer("R0lGODlhAQABAIAAAAUEBAAAACwAAAAAAQABAAACAkQBADs=", 'base64'); 6 | 7 | var data = { 8 | foo: 'bar', 9 | nested: { 10 | test: 123 11 | }, 12 | image: { buffer: black_pixel, content_type: 'image/gif' } 13 | } 14 | 15 | var resp = needle.post(url, data, { multipart: true }); 16 | 17 | resp.on('readable', function() { 18 | while (data = this.read()) { 19 | console.log(data.toString()); 20 | } 21 | }) 22 | 23 | resp.on('done', function(data) { 24 | console.log('Done.'); 25 | }) 26 | -------------------------------------------------------------------------------- /js/node_modules/fsevents/node_modules/needle/examples/parsed-stream.js: -------------------------------------------------------------------------------- 1 | ////////////////////////////////////////// 2 | // This example demonstrates what happends 3 | // when you use the built-in JSON parser. 4 | ////////////////////////////////////////// 5 | 6 | var fs = require('fs'), 7 | stream = require('stream'), 8 | needle = require('./../'); 9 | 10 | var url = 'http://ip.jsontest.com/', 11 | resp = needle.get(url, { parse: true }); 12 | 13 | resp.on('readable', function(obj) { 14 | var chunk; 15 | 16 | while (chunk = this.read()) { 17 | console.log('root = ', chunk); 18 | } 19 | }); 20 | 21 | resp.on('done', function() { 22 | console.log('Done.'); 23 | }); 24 | -------------------------------------------------------------------------------- /js/node_modules/fsevents/node_modules/needle/examples/parsed-stream2.js: -------------------------------------------------------------------------------- 1 | ////////////////////////////////////////// 2 | // This example illustrates a more complex 3 | // example of parsing a JSON stream. 4 | ////////////////////////////////////////// 5 | 6 | var needle = require('./../'), 7 | JSONStream = require('JSONStream'); 8 | 9 | var url = 'http://jsonplaceholder.typicode.com/db'; 10 | 11 | // Initialize our GET request with our default (JSON) 12 | // parsers disabled. 13 | 14 | var json = new needle.get(url, {parse: false}) 15 | // And now interpret the stream as JSON, returning only the 16 | // title of all the posts. 17 | .pipe(new JSONStream.parse('posts.*.title')); 18 | 19 | json.on('data', function (obj) { 20 | console.log('got title: \'' + obj + '\''); 21 | }) 22 | -------------------------------------------------------------------------------- /js/node_modules/fsevents/node_modules/needle/examples/stream-events.js: -------------------------------------------------------------------------------- 1 | var needle = require('./..'); 2 | 3 | var resp = needle.get('google.com', { follow_max: 10, timeout: 5000 }); 4 | 5 | resp.on('readable', function() { 6 | var chunk; 7 | while (chunk = this.read()) { 8 | console.log('Got ' + chunk.length + ' bytes'); 9 | } 10 | }) 11 | 12 | resp.on('headers', function(headers) { 13 | console.log('Got headers', headers); 14 | }) 15 | 16 | resp.on('redirect', function(url) { 17 | console.log('Redirected to url ' + url); 18 | }) 19 | 20 | resp.on('done', function(err) { 21 | console.log('Finished. No more data to receive.'); 22 | if (err) console.log('With error', err) 23 | }) 24 | -------------------------------------------------------------------------------- /js/node_modules/fsevents/node_modules/needle/examples/stream-to-file.js: -------------------------------------------------------------------------------- 1 | var fs = require('fs'), 2 | needle = require('./..'), 3 | path = require('path'); 4 | 5 | var url = process.argv[2] || 'http://www.google.com/images/errors/robot.png'; 6 | var file = path.basename(url); 7 | 8 | console.log('Downloading ' + file + '...'); 9 | needle 10 | .get(url) 11 | .pipe(fs.createWriteStream(file)) 12 | .on('done', function() { 13 | console.log('Done!') 14 | }) 15 | -------------------------------------------------------------------------------- /js/node_modules/fsevents/node_modules/needle/test/long_string_spec.js: -------------------------------------------------------------------------------- 1 | var needle = require('../'), 2 | should = require('should'); 3 | 4 | describe('when posting a very long string', function() { 5 | 6 | this.timeout(20000); 7 | 8 | function get_string(length) { 9 | var str = ''; 10 | for (var i = 0; i < length; i++) { 11 | str += 'x'; 12 | } 13 | return str; 14 | } 15 | 16 | it("shouldn't throw an EPIPE error out of nowhere", function(done) { 17 | var error; 18 | 19 | function finished() { 20 | setTimeout(function() { 21 | should.not.exist(error); 22 | done(); 23 | }, 300); 24 | } 25 | 26 | try { 27 | needle.post('http://google.com', { data: get_string(Math.pow(2, 20)) }, finished) 28 | } catch(e) { 29 | error = e; 30 | } 31 | 32 | }) 33 | 34 | }) 35 | -------------------------------------------------------------------------------- /js/node_modules/fsevents/node_modules/needle/test/utils/formidable.js: -------------------------------------------------------------------------------- 1 | var formidable = require('formidable'), 2 | http = require('http'), 3 | util = require('util'); 4 | 5 | var port = process.argv[2] || 8888; 6 | 7 | http.createServer(function(req, res) { 8 | var form = new formidable.IncomingForm(); 9 | form.parse(req, function(err, fields, files) { 10 | res.writeHead(200, {'content-type': 'text/plain'}); 11 | res.write('received upload:\n\n'); 12 | console.log(util.inspect({fields: fields, files: files})) 13 | res.end(util.inspect({fields: fields, files: files})); 14 | }); 15 | }).listen(port); 16 | 17 | console.log('HTTP server listening on port ' + port); -------------------------------------------------------------------------------- /js/node_modules/fsevents/node_modules/node-pre-gyp/contributing.md: -------------------------------------------------------------------------------- 1 | # Contributing 2 | 3 | 4 | ### Releasing a new version: 5 | 6 | - Ensure tests are passing on travis (okay for appveyor node v4 x86 to fail) 7 | - Run `node scripts/abi_crosswalk.js` and commit any changes 8 | - Update the changelog 9 | - Tag a new release like: `git tag -a v0.6.34 -m "tagging v0.6.34" && git push --tags` 10 | - Run `npm publish` -------------------------------------------------------------------------------- /js/node_modules/fsevents/node_modules/node-pre-gyp/lib/rebuild.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | 3 | module.exports = exports = rebuild; 4 | 5 | exports.usage = 'Runs "clean" and "build" at once'; 6 | 7 | var fs = require('fs'); 8 | var napi = require('./util/napi.js'); 9 | 10 | function rebuild (gyp, argv, callback) { 11 | var package_json = JSON.parse(fs.readFileSync('./package.json')); 12 | var commands = [ 13 | { name: 'clean', args: [] }, 14 | { name: 'build', args: ['rebuild'] } 15 | ]; 16 | commands = napi.expand_commands(package_json, commands); 17 | for (var i = commands.length; i !== 0; i--) { 18 | gyp.todo.unshift(commands[i-1]); 19 | } 20 | process.nextTick(callback); 21 | } 22 | -------------------------------------------------------------------------------- /js/node_modules/fsevents/node_modules/node-pre-gyp/lib/reinstall.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | 3 | module.exports = exports = rebuild; 4 | 5 | exports.usage = 'Runs "clean" and "install" at once'; 6 | 7 | var fs = require('fs'); 8 | var napi = require('./util/napi.js'); 9 | 10 | function rebuild (gyp, argv, callback) { 11 | var package_json = JSON.parse(fs.readFileSync('./package.json')); 12 | var installArgs = []; 13 | var napi_build_version = napi.get_best_napi_version(package_json); 14 | if (napi_build_version != null) installArgs = [ napi.get_command_arg (napi_build_version) ]; 15 | gyp.todo.unshift( 16 | { name: 'clean', args: [] }, 17 | { name: 'install', args: installArgs } 18 | ); 19 | process.nextTick(callback); 20 | } 21 | -------------------------------------------------------------------------------- /js/node_modules/fsevents/node_modules/node-pre-gyp/lib/util/nw-pre-gyp/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Node-webkit-based module test 6 | 22 | 23 | 24 |

Node-webkit-based module test

25 | 26 | 27 | -------------------------------------------------------------------------------- /js/node_modules/fsevents/node_modules/node-pre-gyp/lib/util/nw-pre-gyp/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "main": "index.html", 3 | "name": "nw-pre-gyp-module-test", 4 | "description": "Node-webkit-based module test.", 5 | "version": "0.0.1", 6 | "window": { 7 | "show": false 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /js/node_modules/fsevents/node_modules/nopt/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | -------------------------------------------------------------------------------- /js/node_modules/fsevents/node_modules/nopt/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - '0.12' 4 | - '4' 5 | - '6' 6 | - '7' 7 | before_install: 8 | - npm install -g npm@latest 9 | -------------------------------------------------------------------------------- /js/node_modules/fsevents/node_modules/nopt/LICENSE: -------------------------------------------------------------------------------- 1 | The ISC License 2 | 3 | Copyright (c) Isaac Z. Schlueter and Contributors 4 | 5 | Permission to use, copy, modify, and/or distribute this software for any 6 | purpose with or without fee is hereby granted, provided that the above 7 | copyright notice and this permission notice appear in all copies. 8 | 9 | THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 10 | WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 11 | MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR 12 | ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 13 | WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 14 | ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR 15 | IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 16 | -------------------------------------------------------------------------------- /js/node_modules/fsevents/node_modules/npmlog/LICENSE: -------------------------------------------------------------------------------- 1 | The ISC License 2 | 3 | Copyright (c) Isaac Z. Schlueter and Contributors 4 | 5 | Permission to use, copy, modify, and/or distribute this software for any 6 | purpose with or without fee is hereby granted, provided that the above 7 | copyright notice and this permission notice appear in all copies. 8 | 9 | THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 10 | WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 11 | MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR 12 | ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 13 | WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 14 | ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR 15 | IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 16 | -------------------------------------------------------------------------------- /js/node_modules/fsevents/node_modules/number-is-nan/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | module.exports = Number.isNaN || function (x) { 3 | return x !== x; 4 | }; 5 | -------------------------------------------------------------------------------- /js/node_modules/fsevents/node_modules/number-is-nan/readme.md: -------------------------------------------------------------------------------- 1 | # number-is-nan [![Build Status](https://travis-ci.org/sindresorhus/number-is-nan.svg?branch=master)](https://travis-ci.org/sindresorhus/number-is-nan) 2 | 3 | > ES2015 [`Number.isNaN()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/isNaN) [ponyfill](https://ponyfill.com) 4 | 5 | 6 | ## Install 7 | 8 | ``` 9 | $ npm install --save number-is-nan 10 | ``` 11 | 12 | 13 | ## Usage 14 | 15 | ```js 16 | var numberIsNan = require('number-is-nan'); 17 | 18 | numberIsNan(NaN); 19 | //=> true 20 | 21 | numberIsNan('unicorn'); 22 | //=> false 23 | ``` 24 | 25 | 26 | ## License 27 | 28 | MIT © [Sindre Sorhus](http://sindresorhus.com) 29 | -------------------------------------------------------------------------------- /js/node_modules/fsevents/node_modules/once/LICENSE: -------------------------------------------------------------------------------- 1 | The ISC License 2 | 3 | Copyright (c) Isaac Z. Schlueter and Contributors 4 | 5 | Permission to use, copy, modify, and/or distribute this software for any 6 | purpose with or without fee is hereby granted, provided that the above 7 | copyright notice and this permission notice appear in all copies. 8 | 9 | THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 10 | WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 11 | MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR 12 | ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 13 | WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 14 | ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR 15 | IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 16 | -------------------------------------------------------------------------------- /js/node_modules/fsevents/node_modules/os-homedir/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | var os = require('os'); 3 | 4 | function homedir() { 5 | var env = process.env; 6 | var home = env.HOME; 7 | var user = env.LOGNAME || env.USER || env.LNAME || env.USERNAME; 8 | 9 | if (process.platform === 'win32') { 10 | return env.USERPROFILE || env.HOMEDRIVE + env.HOMEPATH || home || null; 11 | } 12 | 13 | if (process.platform === 'darwin') { 14 | return home || (user ? '/Users/' + user : null); 15 | } 16 | 17 | if (process.platform === 'linux') { 18 | return home || (process.getuid() === 0 ? '/root' : (user ? '/home/' + user : null)); 19 | } 20 | 21 | return home || null; 22 | } 23 | 24 | module.exports = typeof os.homedir === 'function' ? os.homedir : homedir; 25 | -------------------------------------------------------------------------------- /js/node_modules/fsevents/node_modules/os-tmpdir/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | var isWindows = process.platform === 'win32'; 3 | var trailingSlashRe = isWindows ? /[^:]\\$/ : /.\/$/; 4 | 5 | // https://github.com/nodejs/node/blob/3e7a14381497a3b73dda68d05b5130563cdab420/lib/os.js#L25-L43 6 | module.exports = function () { 7 | var path; 8 | 9 | if (isWindows) { 10 | path = process.env.TEMP || 11 | process.env.TMP || 12 | (process.env.SystemRoot || process.env.windir) + '\\temp'; 13 | } else { 14 | path = process.env.TMPDIR || 15 | process.env.TMP || 16 | process.env.TEMP || 17 | '/tmp'; 18 | } 19 | 20 | if (trailingSlashRe.test(path)) { 21 | path = path.slice(0, -1); 22 | } 23 | 24 | return path; 25 | }; 26 | -------------------------------------------------------------------------------- /js/node_modules/fsevents/node_modules/osenv/LICENSE: -------------------------------------------------------------------------------- 1 | The ISC License 2 | 3 | Copyright (c) Isaac Z. Schlueter and Contributors 4 | 5 | Permission to use, copy, modify, and/or distribute this software for any 6 | purpose with or without fee is hereby granted, provided that the above 7 | copyright notice and this permission notice appear in all copies. 8 | 9 | THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 10 | WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 11 | MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR 12 | ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 13 | WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 14 | ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR 15 | IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 16 | -------------------------------------------------------------------------------- /js/node_modules/fsevents/node_modules/path-is-absolute/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | function posix(path) { 4 | return path.charAt(0) === '/'; 5 | } 6 | 7 | function win32(path) { 8 | // https://github.com/nodejs/node/blob/b3fcc245fb25539909ef1d5eaa01dbf92e168633/lib/path.js#L56 9 | var splitDeviceRe = /^([a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/]+[^\\\/]+)?([\\\/])?([\s\S]*?)$/; 10 | var result = splitDeviceRe.exec(path); 11 | var device = result[1] || ''; 12 | var isUnc = Boolean(device && device.charAt(1) !== ':'); 13 | 14 | // UNC paths are always absolute 15 | return Boolean(result[2] || isUnc); 16 | } 17 | 18 | module.exports = process.platform === 'win32' ? win32 : posix; 19 | module.exports.posix = posix; 20 | module.exports.win32 = win32; 21 | -------------------------------------------------------------------------------- /js/node_modules/fsevents/node_modules/process-nextick-args/readme.md: -------------------------------------------------------------------------------- 1 | process-nextick-args 2 | ===== 3 | 4 | [![Build Status](https://travis-ci.org/calvinmetcalf/process-nextick-args.svg?branch=master)](https://travis-ci.org/calvinmetcalf/process-nextick-args) 5 | 6 | ```bash 7 | npm install --save process-nextick-args 8 | ``` 9 | 10 | Always be able to pass arguments to process.nextTick, no matter the platform 11 | 12 | ```js 13 | var pna = require('process-nextick-args'); 14 | 15 | pna.nextTick(function (a, b, c) { 16 | console.log(a, b, c); 17 | }, 'step', 3, 'profit'); 18 | ``` 19 | -------------------------------------------------------------------------------- /js/node_modules/fsevents/node_modules/rc/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | node_modules/* 3 | npm_debug.log 4 | -------------------------------------------------------------------------------- /js/node_modules/fsevents/node_modules/rc/LICENSE.APACHE2: -------------------------------------------------------------------------------- 1 | Apache License, Version 2.0 2 | 3 | Copyright (c) 2011 Dominic Tarr 4 | 5 | Licensed under the Apache License, Version 2.0 (the "License"); 6 | you may not use this file except in compliance with the License. 7 | You may obtain a copy of the License at 8 | 9 | http://www.apache.org/licenses/LICENSE-2.0 10 | 11 | Unless required by applicable law or agreed to in writing, software 12 | distributed under the License is distributed on an "AS IS" BASIS, 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | See the License for the specific language governing permissions and 15 | limitations under the License. 16 | -------------------------------------------------------------------------------- /js/node_modules/fsevents/node_modules/rc/browser.js: -------------------------------------------------------------------------------- 1 | 2 | // when this is loaded into the browser, 3 | // just use the defaults... 4 | 5 | module.exports = function (name, defaults) { 6 | return defaults 7 | } 8 | -------------------------------------------------------------------------------- /js/node_modules/fsevents/node_modules/rc/cli.js: -------------------------------------------------------------------------------- 1 | #! /usr/bin/env node 2 | var rc = require('./index') 3 | 4 | console.log(JSON.stringify(rc(process.argv[2]), false, 2)) 5 | -------------------------------------------------------------------------------- /js/node_modules/fsevents/node_modules/rc/node_modules/minimist/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "0.8" 4 | - "0.10" 5 | - "0.12" 6 | - "iojs" 7 | before_install: 8 | - npm install -g npm@~1.4.6 9 | -------------------------------------------------------------------------------- /js/node_modules/fsevents/node_modules/rc/node_modules/minimist/example/parse.js: -------------------------------------------------------------------------------- 1 | var argv = require('../')(process.argv.slice(2)); 2 | console.dir(argv); 3 | -------------------------------------------------------------------------------- /js/node_modules/fsevents/node_modules/rc/node_modules/minimist/test/dotted.js: -------------------------------------------------------------------------------- 1 | var parse = require('../'); 2 | var test = require('tape'); 3 | 4 | test('dotted alias', function (t) { 5 | var argv = parse(['--a.b', '22'], {default: {'a.b': 11}, alias: {'a.b': 'aa.bb'}}); 6 | t.equal(argv.a.b, 22); 7 | t.equal(argv.aa.bb, 22); 8 | t.end(); 9 | }); 10 | 11 | test('dotted default', function (t) { 12 | var argv = parse('', {default: {'a.b': 11}, alias: {'a.b': 'aa.bb'}}); 13 | t.equal(argv.a.b, 11); 14 | t.equal(argv.aa.bb, 11); 15 | t.end(); 16 | }); 17 | 18 | test('dotted default with no alias', function (t) { 19 | var argv = parse('', {default: {'a.b': 11}}); 20 | t.equal(argv.a.b, 11); 21 | t.end(); 22 | }); 23 | -------------------------------------------------------------------------------- /js/node_modules/fsevents/node_modules/rc/node_modules/minimist/test/kv_short.js: -------------------------------------------------------------------------------- 1 | var parse = require('../'); 2 | var test = require('tape'); 3 | 4 | test('short -k=v' , function (t) { 5 | t.plan(1); 6 | 7 | var argv = parse([ '-b=123' ]); 8 | t.deepEqual(argv, { b: 123, _: [] }); 9 | }); 10 | 11 | test('multi short -k=v' , function (t) { 12 | t.plan(1); 13 | 14 | var argv = parse([ '-a=whatever', '-b=robots' ]); 15 | t.deepEqual(argv, { a: 'whatever', b: 'robots', _: [] }); 16 | }); 17 | -------------------------------------------------------------------------------- /js/node_modules/fsevents/node_modules/rc/node_modules/minimist/test/parse_modified.js: -------------------------------------------------------------------------------- 1 | var parse = require('../'); 2 | var test = require('tape'); 3 | 4 | test('parse with modifier functions' , function (t) { 5 | t.plan(1); 6 | 7 | var argv = parse([ '-b', '123' ], { boolean: 'b' }); 8 | t.deepEqual(argv, { b: true, _: [123] }); 9 | }); 10 | -------------------------------------------------------------------------------- /js/node_modules/fsevents/node_modules/rc/node_modules/minimist/test/stop_early.js: -------------------------------------------------------------------------------- 1 | var parse = require('../'); 2 | var test = require('tape'); 3 | 4 | test('stops parsing on the first non-option when stopEarly is set', function (t) { 5 | var argv = parse(['--aaa', 'bbb', 'ccc', '--ddd'], { 6 | stopEarly: true 7 | }); 8 | 9 | t.deepEqual(argv, { 10 | aaa: 'bbb', 11 | _: ['ccc', '--ddd'] 12 | }); 13 | 14 | t.end(); 15 | }); 16 | -------------------------------------------------------------------------------- /js/node_modules/fsevents/node_modules/rc/node_modules/minimist/test/whitespace.js: -------------------------------------------------------------------------------- 1 | var parse = require('../'); 2 | var test = require('tape'); 3 | 4 | test('whitespace should be whitespace' , function (t) { 5 | t.plan(1); 6 | var x = parse([ '-x', '\t' ]).x; 7 | t.equal(x, '\t'); 8 | }); 9 | -------------------------------------------------------------------------------- /js/node_modules/fsevents/node_modules/rc/test/ini.js: -------------------------------------------------------------------------------- 1 | var cc =require('../lib/utils') 2 | var INI = require('ini') 3 | var assert = require('assert') 4 | 5 | function test(obj) { 6 | 7 | var _json, _ini 8 | var json = cc.parse (_json = JSON.stringify(obj)) 9 | var ini = cc.parse (_ini = INI.stringify(obj)) 10 | console.log(_ini, _json) 11 | assert.deepEqual(json, ini) 12 | } 13 | 14 | 15 | test({hello: true}) 16 | 17 | -------------------------------------------------------------------------------- /js/node_modules/fsevents/node_modules/readable-stream/duplex-browser.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./lib/_stream_duplex.js'); 2 | -------------------------------------------------------------------------------- /js/node_modules/fsevents/node_modules/readable-stream/duplex.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./readable').Duplex 2 | -------------------------------------------------------------------------------- /js/node_modules/fsevents/node_modules/readable-stream/lib/internal/streams/stream-browser.js: -------------------------------------------------------------------------------- 1 | module.exports = require('events').EventEmitter; 2 | -------------------------------------------------------------------------------- /js/node_modules/fsevents/node_modules/readable-stream/lib/internal/streams/stream.js: -------------------------------------------------------------------------------- 1 | module.exports = require('stream'); 2 | -------------------------------------------------------------------------------- /js/node_modules/fsevents/node_modules/readable-stream/passthrough.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./readable').PassThrough 2 | -------------------------------------------------------------------------------- /js/node_modules/fsevents/node_modules/readable-stream/readable-browser.js: -------------------------------------------------------------------------------- 1 | exports = module.exports = require('./lib/_stream_readable.js'); 2 | exports.Stream = exports; 3 | exports.Readable = exports; 4 | exports.Writable = require('./lib/_stream_writable.js'); 5 | exports.Duplex = require('./lib/_stream_duplex.js'); 6 | exports.Transform = require('./lib/_stream_transform.js'); 7 | exports.PassThrough = require('./lib/_stream_passthrough.js'); 8 | -------------------------------------------------------------------------------- /js/node_modules/fsevents/node_modules/readable-stream/transform.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./readable').Transform 2 | -------------------------------------------------------------------------------- /js/node_modules/fsevents/node_modules/readable-stream/writable-browser.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./lib/_stream_writable.js'); 2 | -------------------------------------------------------------------------------- /js/node_modules/fsevents/node_modules/readable-stream/writable.js: -------------------------------------------------------------------------------- 1 | var Stream = require("stream") 2 | var Writable = require("./lib/_stream_writable.js") 3 | 4 | if (process.env.READABLE_STREAM === 'disable') { 5 | module.exports = Stream && Stream.Writable || Writable 6 | } else { 7 | module.exports = Writable 8 | } 9 | -------------------------------------------------------------------------------- /js/node_modules/fsevents/node_modules/rimraf/LICENSE: -------------------------------------------------------------------------------- 1 | The ISC License 2 | 3 | Copyright (c) Isaac Z. Schlueter and Contributors 4 | 5 | Permission to use, copy, modify, and/or distribute this software for any 6 | purpose with or without fee is hereby granted, provided that the above 7 | copyright notice and this permission notice appear in all copies. 8 | 9 | THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 10 | WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 11 | MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR 12 | ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 13 | WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 14 | ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR 15 | IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 16 | -------------------------------------------------------------------------------- /js/node_modules/fsevents/node_modules/safe-buffer/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - 'node' 4 | - '5' 5 | - '4' 6 | - '0.12' 7 | - '0.10' 8 | -------------------------------------------------------------------------------- /js/node_modules/fsevents/node_modules/semver/LICENSE: -------------------------------------------------------------------------------- 1 | The ISC License 2 | 3 | Copyright (c) Isaac Z. Schlueter and Contributors 4 | 5 | Permission to use, copy, modify, and/or distribute this software for any 6 | purpose with or without fee is hereby granted, provided that the above 7 | copyright notice and this permission notice appear in all copies. 8 | 9 | THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 10 | WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 11 | MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR 12 | ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 13 | WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 14 | ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR 15 | IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 16 | -------------------------------------------------------------------------------- /js/node_modules/fsevents/node_modules/semver/range.bnf: -------------------------------------------------------------------------------- 1 | range-set ::= range ( logical-or range ) * 2 | logical-or ::= ( ' ' ) * '||' ( ' ' ) * 3 | range ::= hyphen | simple ( ' ' simple ) * | '' 4 | hyphen ::= partial ' - ' partial 5 | simple ::= primitive | partial | tilde | caret 6 | primitive ::= ( '<' | '>' | '>=' | '<=' | '=' ) partial 7 | partial ::= xr ( '.' xr ( '.' xr qualifier ? )? )? 8 | xr ::= 'x' | 'X' | '*' | nr 9 | nr ::= '0' | [1-9] ( [0-9] ) * 10 | tilde ::= '~' partial 11 | caret ::= '^' partial 12 | qualifier ::= ( '-' pre )? ( '+' build )? 13 | pre ::= parts 14 | build ::= parts 15 | parts ::= part ( '.' part ) * 16 | part ::= nr | [-0-9A-Za-z]+ 17 | -------------------------------------------------------------------------------- /js/node_modules/fsevents/node_modules/set-blocking/LICENSE.txt: -------------------------------------------------------------------------------- 1 | Copyright (c) 2016, Contributors 2 | 3 | Permission to use, copy, modify, and/or distribute this software 4 | for any purpose with or without fee is hereby granted, provided 5 | that the above copyright notice and this permission notice 6 | appear in all copies. 7 | 8 | THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 9 | WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES 10 | OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE 11 | LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES 12 | OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, 13 | WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, 14 | ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 15 | -------------------------------------------------------------------------------- /js/node_modules/fsevents/node_modules/set-blocking/index.js: -------------------------------------------------------------------------------- 1 | module.exports = function (blocking) { 2 | [process.stdout, process.stderr].forEach(function (stream) { 3 | if (stream._handle && stream.isTTY && typeof stream._handle.setBlocking === 'function') { 4 | stream._handle.setBlocking(blocking) 5 | } 6 | }) 7 | } 8 | -------------------------------------------------------------------------------- /js/node_modules/fsevents/node_modules/signal-exit/LICENSE.txt: -------------------------------------------------------------------------------- 1 | The ISC License 2 | 3 | Copyright (c) 2015, Contributors 4 | 5 | Permission to use, copy, modify, and/or distribute this software 6 | for any purpose with or without fee is hereby granted, provided 7 | that the above copyright notice and this permission notice 8 | appear in all copies. 9 | 10 | THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 11 | WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES 12 | OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE 13 | LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES 14 | OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, 15 | WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, 16 | ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 17 | -------------------------------------------------------------------------------- /js/node_modules/fsevents/node_modules/strip-ansi/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | var ansiRegex = require('ansi-regex')(); 3 | 4 | module.exports = function (str) { 5 | return typeof str === 'string' ? str.replace(ansiRegex, '') : str; 6 | }; 7 | -------------------------------------------------------------------------------- /js/node_modules/fsevents/node_modules/tar/index.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | // high-level commands 4 | exports.c = exports.create = require('./lib/create.js') 5 | exports.r = exports.replace = require('./lib/replace.js') 6 | exports.t = exports.list = require('./lib/list.js') 7 | exports.u = exports.update = require('./lib/update.js') 8 | exports.x = exports.extract = require('./lib/extract.js') 9 | 10 | // classes 11 | exports.Pack = require('./lib/pack.js') 12 | exports.Unpack = require('./lib/unpack.js') 13 | exports.Parse = require('./lib/parse.js') 14 | exports.ReadEntry = require('./lib/read-entry.js') 15 | exports.WriteEntry = require('./lib/write-entry.js') 16 | exports.Header = require('./lib/header.js') 17 | exports.Pax = require('./lib/pax.js') 18 | exports.types = require('./lib/types.js') 19 | -------------------------------------------------------------------------------- /js/node_modules/fsevents/node_modules/tar/lib/buffer.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | // Buffer in node 4.x < 4.5.0 doesn't have working Buffer.from 4 | // or Buffer.alloc, and Buffer in node 10 deprecated the ctor. 5 | // .M, this is fine .\^/M.. 6 | let B = Buffer 7 | /* istanbul ignore next */ 8 | if (!B.alloc) { 9 | B = require('safe-buffer').Buffer 10 | } 11 | module.exports = B 12 | -------------------------------------------------------------------------------- /js/node_modules/fsevents/node_modules/tar/lib/warn-mixin.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | module.exports = Base => class extends Base { 3 | warn (msg, data) { 4 | if (!this.strict) 5 | this.emit('warn', msg, data) 6 | else if (data instanceof Error) 7 | this.emit('error', data) 8 | else { 9 | const er = new Error(msg) 10 | er.data = data 11 | this.emit('error', er) 12 | } 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /js/node_modules/fsevents/node_modules/tar/lib/winchars.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | // When writing files on Windows, translate the characters to their 4 | // 0xf000 higher-encoded versions. 5 | 6 | const raw = [ 7 | '|', 8 | '<', 9 | '>', 10 | '?', 11 | ':' 12 | ] 13 | 14 | const win = raw.map(char => 15 | String.fromCharCode(0xf000 + char.charCodeAt(0))) 16 | 17 | const toWin = new Map(raw.map((char, i) => [char, win[i]])) 18 | const toRaw = new Map(win.map((char, i) => [char, raw[i]])) 19 | 20 | module.exports = { 21 | encode: s => raw.reduce((s, c) => s.split(c).join(toWin.get(c)), s), 22 | decode: s => win.reduce((s, c) => s.split(c).join(toRaw.get(c)), s) 23 | } 24 | -------------------------------------------------------------------------------- /js/node_modules/fsevents/node_modules/util-deprecate/History.md: -------------------------------------------------------------------------------- 1 | 2 | 1.0.2 / 2015-10-07 3 | ================== 4 | 5 | * use try/catch when checking `localStorage` (#3, @kumavis) 6 | 7 | 1.0.1 / 2014-11-25 8 | ================== 9 | 10 | * browser: use `console.warn()` for deprecation calls 11 | * browser: more jsdocs 12 | 13 | 1.0.0 / 2014-04-30 14 | ================== 15 | 16 | * initial commit 17 | -------------------------------------------------------------------------------- /js/node_modules/fsevents/node_modules/util-deprecate/node.js: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | * For Node.js, simply re-export the core `util.deprecate` function. 4 | */ 5 | 6 | module.exports = require('util').deprecate; 7 | -------------------------------------------------------------------------------- /js/node_modules/fsevents/node_modules/wide-align/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2015, Rebecca Turner 2 | 3 | Permission to use, copy, modify, and/or distribute this software for any 4 | purpose with or without fee is hereby granted, provided that the above 5 | copyright notice and this permission notice appear in all copies. 6 | 7 | THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 8 | WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 9 | MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR 10 | ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 11 | WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 12 | ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF 13 | OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 14 | 15 | -------------------------------------------------------------------------------- /js/node_modules/fsevents/node_modules/yallist/iterator.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | var Yallist = require('./yallist.js') 3 | 4 | Yallist.prototype[Symbol.iterator] = function* () { 5 | for (let walker = this.head; walker; walker = walker.next) { 6 | yield walker.value 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /js/node_modules/fsevents/src/locking.cc: -------------------------------------------------------------------------------- 1 | /* 2 | ** © 2014 by Philipp Dunkel 3 | ** Licensed under MIT License. 4 | */ 5 | 6 | void FSEvents::lockingStart() { 7 | if (lockStarted) return; 8 | lockStarted = true; 9 | pthread_mutex_init(&lockmutex, NULL); 10 | } 11 | 12 | void FSEvents::lock() { 13 | if (!lockStarted) return; 14 | pthread_mutex_lock(&lockmutex); 15 | } 16 | 17 | void FSEvents::unlock() { 18 | if (!lockStarted) return; 19 | pthread_mutex_unlock(&lockmutex); 20 | } 21 | 22 | void FSEvents::lockingStop() { 23 | if (!lockStarted) return; 24 | lockStarted = false; 25 | 26 | pthread_mutex_destroy(&lockmutex); 27 | } 28 | -------------------------------------------------------------------------------- /js/node_modules/fsevents/src/storage.cc: -------------------------------------------------------------------------------- 1 | /* 2 | ** © 2014 by Philipp Dunkel 3 | ** Licensed under MIT License. 4 | */ 5 | 6 | struct fse_event { 7 | UInt64 id; 8 | UInt32 flags; 9 | CFStringRef path; 10 | 11 | fse_event(CFStringRef eventPath, UInt32 eventFlag, UInt64 eventId) { 12 | this->path = eventPath; 13 | this->flags = eventFlag; 14 | this->id = eventId; 15 | if (this->path != NULL) 16 | CFRetain(this->path); 17 | } 18 | 19 | ~fse_event() { 20 | if (this->path != NULL) 21 | CFRelease(this->path); 22 | } 23 | 24 | private: 25 | fse_event(const fse_event&); 26 | void operator=(const fse_event&); 27 | }; 28 | -------------------------------------------------------------------------------- /js/node_modules/glob-parent/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | .DS_Store 3 | npm-debug.log 4 | coverage 5 | -------------------------------------------------------------------------------- /js/node_modules/glob-parent/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "4" 4 | - "iojs-v3" 5 | - "iojs-v2" 6 | - "iojs-v1" 7 | - "0.12" 8 | - "0.10" 9 | -------------------------------------------------------------------------------- /js/node_modules/glob-parent/LICENSE: -------------------------------------------------------------------------------- 1 | The ISC License 2 | 3 | Copyright (c) 2015 Elan Shanker 4 | 5 | Permission to use, copy, modify, and/or distribute this software for any 6 | purpose with or without fee is hereby granted, provided that the above 7 | copyright notice and this permission notice appear in all copies. 8 | 9 | THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 10 | WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 11 | MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR 12 | ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 13 | WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 14 | ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR 15 | IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 16 | -------------------------------------------------------------------------------- /js/node_modules/glob-parent/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var path = require('path'); 4 | var isglob = require('is-glob'); 5 | 6 | module.exports = function globParent(str) { 7 | str += 'a'; // preserves full path in case of trailing path separator 8 | do {str = path.dirname(str)} while (isglob(str)); 9 | return str; 10 | }; 11 | -------------------------------------------------------------------------------- /js/node_modules/global-modules/index.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * global-modules 3 | * 4 | * Copyright (c) 2015-2017 Jon Schlinkert. 5 | * Licensed under the MIT license. 6 | */ 7 | 8 | 'use strict'; 9 | 10 | var path = require('path'); 11 | var prefix = require('global-prefix'); 12 | var isWindows = require('is-windows'); 13 | var gm; 14 | 15 | function getPath() { 16 | if (isWindows()) { 17 | return path.resolve(prefix, 'node_modules'); 18 | } 19 | return path.resolve(prefix, 'lib/node_modules'); 20 | } 21 | 22 | /** 23 | * Expose `global-modules` path 24 | */ 25 | 26 | Object.defineProperty(module, 'exports', { 27 | enumerable: true, 28 | get: function() { 29 | return gm || (gm = getPath()); 30 | } 31 | }); 32 | -------------------------------------------------------------------------------- /js/node_modules/graceful-fs/fs.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | var fs = require('fs') 4 | 5 | module.exports = clone(fs) 6 | 7 | function clone (obj) { 8 | if (obj === null || typeof obj !== 'object') 9 | return obj 10 | 11 | if (obj instanceof Object) 12 | var copy = { __proto__: obj.__proto__ } 13 | else 14 | var copy = Object.create(null) 15 | 16 | Object.getOwnPropertyNames(obj).forEach(function (key) { 17 | Object.defineProperty(copy, key, Object.getOwnPropertyDescriptor(obj, key)) 18 | }) 19 | 20 | return copy 21 | } 22 | -------------------------------------------------------------------------------- /js/node_modules/has-value/index.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * has-value 3 | * 4 | * Copyright (c) 2014-2017, Jon Schlinkert. 5 | * Licensed under the MIT License. 6 | */ 7 | 8 | 'use strict'; 9 | 10 | var isObject = require('isobject'); 11 | var hasValues = require('has-values'); 12 | var get = require('get-value'); 13 | 14 | module.exports = function(val, prop) { 15 | return hasValues(isObject(val) && prop ? get(val, prop) : val); 16 | }; 17 | -------------------------------------------------------------------------------- /js/node_modules/has-value/node_modules/isobject/index.d.ts: -------------------------------------------------------------------------------- 1 | export = isObject; 2 | 3 | declare function isObject(val: any): boolean; 4 | 5 | declare namespace isObject {} 6 | -------------------------------------------------------------------------------- /js/node_modules/has-value/node_modules/isobject/index.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * isobject 3 | * 4 | * Copyright (c) 2014-2017, Jon Schlinkert. 5 | * Released under the MIT License. 6 | */ 7 | 8 | 'use strict'; 9 | 10 | module.exports = function isObject(val) { 11 | return val != null && typeof val === 'object' && Array.isArray(val) === false; 12 | }; 13 | -------------------------------------------------------------------------------- /js/node_modules/has-values/node_modules/is-number/index.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * is-number 3 | * 4 | * Copyright (c) 2014-2015, Jon Schlinkert. 5 | * Licensed under the MIT License. 6 | */ 7 | 8 | 'use strict'; 9 | 10 | var typeOf = require('kind-of'); 11 | 12 | module.exports = function isNumber(num) { 13 | var type = typeOf(num); 14 | 15 | if (type === 'string') { 16 | if (!num.trim()) return false; 17 | } else if (type !== 'number') { 18 | return false; 19 | } 20 | 21 | return (num - num + 1) >= 0; 22 | }; 23 | -------------------------------------------------------------------------------- /js/node_modules/inherits/LICENSE: -------------------------------------------------------------------------------- 1 | The ISC License 2 | 3 | Copyright (c) Isaac Z. Schlueter 4 | 5 | Permission to use, copy, modify, and/or distribute this software for any 6 | purpose with or without fee is hereby granted, provided that the above 7 | copyright notice and this permission notice appear in all copies. 8 | 9 | THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH 10 | REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND 11 | FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, 12 | INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM 13 | LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR 14 | OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR 15 | PERFORMANCE OF THIS SOFTWARE. 16 | 17 | -------------------------------------------------------------------------------- /js/node_modules/inherits/inherits.js: -------------------------------------------------------------------------------- 1 | try { 2 | var util = require('util'); 3 | if (typeof util.inherits !== 'function') throw ''; 4 | module.exports = util.inherits; 5 | } catch (e) { 6 | module.exports = require('./inherits_browser.js'); 7 | } 8 | -------------------------------------------------------------------------------- /js/node_modules/inherits/inherits_browser.js: -------------------------------------------------------------------------------- 1 | if (typeof Object.create === 'function') { 2 | // implementation from standard node.js 'util' module 3 | module.exports = function inherits(ctor, superCtor) { 4 | ctor.super_ = superCtor 5 | ctor.prototype = Object.create(superCtor.prototype, { 6 | constructor: { 7 | value: ctor, 8 | enumerable: false, 9 | writable: true, 10 | configurable: true 11 | } 12 | }); 13 | }; 14 | } else { 15 | // old school shim for old browsers 16 | module.exports = function inherits(ctor, superCtor) { 17 | ctor.super_ = superCtor 18 | var TempCtor = function () {} 19 | TempCtor.prototype = superCtor.prototype 20 | ctor.prototype = new TempCtor() 21 | ctor.prototype.constructor = ctor 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /js/node_modules/ini/LICENSE: -------------------------------------------------------------------------------- 1 | The ISC License 2 | 3 | Copyright (c) Isaac Z. Schlueter and Contributors 4 | 5 | Permission to use, copy, modify, and/or distribute this software for any 6 | purpose with or without fee is hereby granted, provided that the above 7 | copyright notice and this permission notice appear in all copies. 8 | 9 | THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 10 | WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 11 | MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR 12 | ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 13 | WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 14 | ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR 15 | IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 16 | -------------------------------------------------------------------------------- /js/node_modules/is-binary-path/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | var path = require('path'); 3 | var binaryExtensions = require('binary-extensions'); 4 | var exts = Object.create(null); 5 | 6 | binaryExtensions.forEach(function (el) { 7 | exts[el] = true; 8 | }); 9 | 10 | module.exports = function (filepath) { 11 | return path.extname(filepath).slice(1).toLowerCase() in exts; 12 | }; 13 | -------------------------------------------------------------------------------- /js/node_modules/is-buffer/index.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * Determine if an object is a Buffer 3 | * 4 | * @author Feross Aboukhadijeh 5 | * @license MIT 6 | */ 7 | 8 | // The _isBuffer check is for Safari 5-7 support, because it's missing 9 | // Object.prototype.constructor. Remove this eventually 10 | module.exports = function (obj) { 11 | return obj != null && (isBuffer(obj) || isSlowBuffer(obj) || !!obj._isBuffer) 12 | } 13 | 14 | function isBuffer (obj) { 15 | return !!obj.constructor && typeof obj.constructor.isBuffer === 'function' && obj.constructor.isBuffer(obj) 16 | } 17 | 18 | // For Node v0.10 support. Remove this eventually. 19 | function isSlowBuffer (obj) { 20 | return typeof obj.readFloatLE === 'function' && typeof obj.slice === 'function' && isBuffer(obj.slice(0, 0)) 21 | } 22 | -------------------------------------------------------------------------------- /js/node_modules/is-descriptor/index.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * is-descriptor 3 | * 4 | * Copyright (c) 2015-2017, Jon Schlinkert. 5 | * Released under the MIT License. 6 | */ 7 | 8 | 'use strict'; 9 | 10 | var typeOf = require('kind-of'); 11 | var isAccessor = require('is-accessor-descriptor'); 12 | var isData = require('is-data-descriptor'); 13 | 14 | module.exports = function isDescriptor(obj, key) { 15 | if (typeOf(obj) !== 'object') { 16 | return false; 17 | } 18 | if ('get' in obj) { 19 | return isAccessor(obj, key); 20 | } 21 | return isData(obj, key); 22 | }; 23 | -------------------------------------------------------------------------------- /js/node_modules/is-dotfile/index.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * is-dotfile 3 | * 4 | * Copyright (c) 2015-2017, Jon Schlinkert. 5 | * Released under the MIT License. 6 | */ 7 | 8 | module.exports = function(str) { 9 | if (str.charCodeAt(0) === 46 /* . */ && str.indexOf('/', 1) === -1) { 10 | return true; 11 | } 12 | var slash = str.lastIndexOf('/'); 13 | return slash !== -1 ? str.charCodeAt(slash + 1) === 46 /* . */ : false; 14 | }; 15 | -------------------------------------------------------------------------------- /js/node_modules/is-equal-shallow/index.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * is-equal-shallow 3 | * 4 | * Copyright (c) 2015, Jon Schlinkert. 5 | * Licensed under the MIT License. 6 | */ 7 | 8 | 'use strict'; 9 | 10 | var isPrimitive = require('is-primitive'); 11 | 12 | module.exports = function isEqual(a, b) { 13 | if (!a && !b) { return true; } 14 | if (!a && b || a && !b) { return false; } 15 | 16 | var numKeysA = 0, numKeysB = 0, key; 17 | for (key in b) { 18 | numKeysB++; 19 | if (!isPrimitive(b[key]) || !a.hasOwnProperty(key) || (a[key] !== b[key])) { 20 | return false; 21 | } 22 | } 23 | for (key in a) { 24 | numKeysA++; 25 | } 26 | return numKeysA === numKeysB; 27 | }; 28 | -------------------------------------------------------------------------------- /js/node_modules/is-extendable/index.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * is-extendable 3 | * 4 | * Copyright (c) 2015, Jon Schlinkert. 5 | * Licensed under the MIT License. 6 | */ 7 | 8 | 'use strict'; 9 | 10 | module.exports = function isExtendable(val) { 11 | return typeof val !== 'undefined' && val !== null 12 | && (typeof val === 'object' || typeof val === 'function'); 13 | }; 14 | -------------------------------------------------------------------------------- /js/node_modules/is-extglob/index.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * is-extglob 3 | * 4 | * Copyright (c) 2014-2015, Jon Schlinkert. 5 | * Licensed under the MIT License. 6 | */ 7 | 8 | module.exports = function isExtglob(str) { 9 | return typeof str === 'string' 10 | && /[@?!+*]\(/.test(str); 11 | }; 12 | -------------------------------------------------------------------------------- /js/node_modules/is-glob/index.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * is-glob 3 | * 4 | * Copyright (c) 2014-2015, Jon Schlinkert. 5 | * Licensed under the MIT License. 6 | */ 7 | 8 | var isExtglob = require('is-extglob'); 9 | 10 | module.exports = function isGlob(str) { 11 | return typeof str === 'string' 12 | && (/[*!?{}(|)[\]]/.test(str) 13 | || isExtglob(str)); 14 | }; -------------------------------------------------------------------------------- /js/node_modules/is-number/index.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * is-number 3 | * 4 | * Copyright (c) 2014-2015, Jon Schlinkert. 5 | * Licensed under the MIT License. 6 | */ 7 | 8 | 'use strict'; 9 | 10 | var typeOf = require('kind-of'); 11 | 12 | module.exports = function isNumber(num) { 13 | var type = typeOf(num); 14 | if (type !== 'number' && type !== 'string') { 15 | return false; 16 | } 17 | var n = +num; 18 | return (n - n + 1) >= 0 && num !== ''; 19 | }; 20 | -------------------------------------------------------------------------------- /js/node_modules/is-odd/index.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * is-odd 3 | * 4 | * Copyright (c) 2015-2017, Jon Schlinkert. 5 | * Released under the MIT License. 6 | */ 7 | 8 | 'use strict'; 9 | 10 | var isNumber = require('is-number'); 11 | 12 | module.exports = function isOdd(i) { 13 | if (!isNumber(i)) { 14 | throw new TypeError('is-odd expects a number.'); 15 | } 16 | if (Number(i) !== Math.floor(i)) { 17 | throw new RangeError('is-odd expects an integer.'); 18 | } 19 | return !!(~~i & 1); 20 | }; 21 | -------------------------------------------------------------------------------- /js/node_modules/is-odd/node_modules/is-number/index.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * is-number 3 | * 4 | * Copyright (c) 2014-2017, Jon Schlinkert. 5 | * Released under the MIT License. 6 | */ 7 | 8 | 'use strict'; 9 | 10 | module.exports = function isNumber(num) { 11 | var type = typeof num; 12 | 13 | if (type === 'string' || num instanceof String) { 14 | // an empty string would be coerced to true with the below logic 15 | if (!num.trim()) return false; 16 | } else if (type !== 'number' && !(num instanceof Number)) { 17 | return false; 18 | } 19 | 20 | return (num - num + 1) >= 0; 21 | }; 22 | -------------------------------------------------------------------------------- /js/node_modules/is-plain-object/index.d.ts: -------------------------------------------------------------------------------- 1 | export = isPlainObject; 2 | 3 | declare function isPlainObject(o: any): boolean; 4 | 5 | declare namespace isPlainObject {} 6 | -------------------------------------------------------------------------------- /js/node_modules/is-plain-object/node_modules/isobject/index.d.ts: -------------------------------------------------------------------------------- 1 | export = isObject; 2 | 3 | declare function isObject(val: any): boolean; 4 | 5 | declare namespace isObject {} 6 | -------------------------------------------------------------------------------- /js/node_modules/is-plain-object/node_modules/isobject/index.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * isobject 3 | * 4 | * Copyright (c) 2014-2017, Jon Schlinkert. 5 | * Released under the MIT License. 6 | */ 7 | 8 | 'use strict'; 9 | 10 | module.exports = function isObject(val) { 11 | return val != null && typeof val === 'object' && Array.isArray(val) === false; 12 | }; 13 | -------------------------------------------------------------------------------- /js/node_modules/is-posix-bracket/index.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * is-posix-bracket 3 | * 4 | * Copyright (c) 2015-2016, Jon Schlinkert. 5 | * Licensed under the MIT License. 6 | */ 7 | 8 | module.exports = function isPosixBracket(str) { 9 | return typeof str === 'string' && /\[([:.=+])(?:[^\[\]]|)+\1\]/.test(str); 10 | }; 11 | -------------------------------------------------------------------------------- /js/node_modules/is-primitive/index.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * is-primitive 3 | * 4 | * Copyright (c) 2014-2015, Jon Schlinkert. 5 | * Licensed under the MIT License. 6 | */ 7 | 8 | 'use strict'; 9 | 10 | // see http://jsperf.com/testing-value-is-primitive/7 11 | module.exports = function isPrimitive(value) { 12 | return value == null || (typeof value !== 'function' && typeof value !== 'object'); 13 | }; 14 | -------------------------------------------------------------------------------- /js/node_modules/isarray/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | -------------------------------------------------------------------------------- /js/node_modules/isarray/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "0.8" 4 | - "0.10" 5 | -------------------------------------------------------------------------------- /js/node_modules/isarray/Makefile: -------------------------------------------------------------------------------- 1 | 2 | test: 3 | @node_modules/.bin/tape test.js 4 | 5 | .PHONY: test 6 | 7 | -------------------------------------------------------------------------------- /js/node_modules/isarray/component.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "isarray", 3 | "description" : "Array#isArray for older browsers", 4 | "version" : "0.0.1", 5 | "repository" : "juliangruber/isarray", 6 | "homepage": "https://github.com/juliangruber/isarray", 7 | "main" : "index.js", 8 | "scripts" : [ 9 | "index.js" 10 | ], 11 | "dependencies" : {}, 12 | "keywords": ["browser","isarray","array"], 13 | "author": { 14 | "name": "Julian Gruber", 15 | "email": "mail@juliangruber.com", 16 | "url": "http://juliangruber.com" 17 | }, 18 | "license": "MIT" 19 | } 20 | -------------------------------------------------------------------------------- /js/node_modules/isarray/index.js: -------------------------------------------------------------------------------- 1 | var toString = {}.toString; 2 | 3 | module.exports = Array.isArray || function (arr) { 4 | return toString.call(arr) == '[object Array]'; 5 | }; 6 | -------------------------------------------------------------------------------- /js/node_modules/isarray/test.js: -------------------------------------------------------------------------------- 1 | var isArray = require('./'); 2 | var test = require('tape'); 3 | 4 | test('is array', function(t){ 5 | t.ok(isArray([])); 6 | t.notOk(isArray({})); 7 | t.notOk(isArray(null)); 8 | t.notOk(isArray(false)); 9 | 10 | var obj = {}; 11 | obj[0] = true; 12 | t.notOk(isArray(obj)); 13 | 14 | var arr = []; 15 | arr.foo = 'bar'; 16 | t.ok(isArray(arr)); 17 | 18 | t.end(); 19 | }); 20 | 21 | -------------------------------------------------------------------------------- /js/node_modules/isexe/.npmignore: -------------------------------------------------------------------------------- 1 | .nyc_output/ 2 | coverage/ 3 | -------------------------------------------------------------------------------- /js/node_modules/isexe/LICENSE: -------------------------------------------------------------------------------- 1 | The ISC License 2 | 3 | Copyright (c) Isaac Z. Schlueter and Contributors 4 | 5 | Permission to use, copy, modify, and/or distribute this software for any 6 | purpose with or without fee is hereby granted, provided that the above 7 | copyright notice and this permission notice appear in all copies. 8 | 9 | THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 10 | WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 11 | MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR 12 | ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 13 | WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 14 | ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR 15 | IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 16 | -------------------------------------------------------------------------------- /js/node_modules/isobject/index.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * isobject 3 | * 4 | * Copyright (c) 2014-2015, Jon Schlinkert. 5 | * Licensed under the MIT License. 6 | */ 7 | 8 | 'use strict'; 9 | 10 | var isArray = require('isarray'); 11 | 12 | module.exports = function isObject(val) { 13 | return val != null && typeof val === 'object' && isArray(val) === false; 14 | }; 15 | -------------------------------------------------------------------------------- /js/node_modules/js-reporters/.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": [ 3 | ["es2015", { 4 | "modules": false 5 | }] 6 | ], 7 | "plugins": ["external-helpers"] 8 | } 9 | -------------------------------------------------------------------------------- /js/node_modules/js-reporters/RELEASE.md: -------------------------------------------------------------------------------- 1 | # Release Process 2 | 3 | 1. Update `CHANGELOG.md` using `git changelog` from the [`git-extras`](https://github.com/tj/git-extras) package 4 | 2. Commit changelog updates with message: `Changelog: Update for x.x.x release` 5 | 3. Update `package.json` version and tag it using `npm version x.x.x -m "Release: vx.x.x"` 6 | 4. Push the two new commits and tag to GitHub 7 | 5. Run `npm publish` 8 | 6. Publish a new [release on GitHub](https://github.com/js-reporters/js-reporters/releases) with the changelog update 9 | 10 | That's all! 11 | -------------------------------------------------------------------------------- /js/node_modules/js-reporters/img/situation-expected.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ticketmaster/actions-on-google-kotlin/126a9d4fcaa29377f3ce7eda46e823ba131719d9/js/node_modules/js-reporters/img/situation-expected.png -------------------------------------------------------------------------------- /js/node_modules/js-reporters/img/situation-now.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ticketmaster/actions-on-google-kotlin/126a9d4fcaa29377f3ce7eda46e823ba131719d9/js/node_modules/js-reporters/img/situation-now.png -------------------------------------------------------------------------------- /js/node_modules/js-reporters/license-header: -------------------------------------------------------------------------------- 1 | /** 2 | * JsReporters @VERSION 3 | * https://github.com/js-reporters 4 | * 5 | * Copyright jQuery Foundation and other contributors 6 | * Released under the MIT license 7 | * https://jquery.org/license 8 | * 9 | * Date: @DATE 10 | */ 11 | -------------------------------------------------------------------------------- /js/node_modules/js-reporters/rollup.config.js: -------------------------------------------------------------------------------- 1 | var fs = require('fs') 2 | var babel = require('rollup-plugin-babel') 3 | var nodeResolve = require('rollup-plugin-node-resolve') 4 | var commonjs = require('rollup-plugin-commonjs') 5 | var pkg = require('./package.json') 6 | 7 | var licenseHeader = fs.readFileSync('license-header', {encoding: 'utf8'}) 8 | .replace('@VERSION', pkg.version) 9 | .replace('@DATE', (new Date()).toDateString()) 10 | 11 | module.exports = { 12 | entry: 'index.js', 13 | dest: 'dist/js-reporters.js', 14 | format: 'umd', 15 | moduleName: 'JsReporters', 16 | banner: licenseHeader, 17 | plugins: [ 18 | nodeResolve({ 19 | preferBuiltins: false 20 | }), 21 | commonjs(), 22 | babel() 23 | ] 24 | } 25 | -------------------------------------------------------------------------------- /js/node_modules/js-reporters/test/versions/versions.js: -------------------------------------------------------------------------------- 1 | /* eslint-env mocha */ 2 | var expect = require('chai').expect 3 | var failingVersionsRef = require('./failing-versions.js') 4 | var failingVersions = require('./versions-reporting.js') 5 | 6 | describe('Versions', function () { 7 | it('QUnit versions', function () { 8 | expect(failingVersions['qunitjs']).to.be.deep 9 | .equal(failingVersionsRef['qunitjs']) 10 | }) 11 | 12 | it('Jasmine versions', function () { 13 | expect(failingVersions['jasmine']).to.be.deep 14 | .equal(failingVersionsRef['jasmine']) 15 | }) 16 | 17 | it('Mocha versions', function () { 18 | expect(failingVersions['mocha']).to.be.deep 19 | .equal(failingVersionsRef['mocha']) 20 | }) 21 | }) 22 | -------------------------------------------------------------------------------- /js/node_modules/matcher-collection/README.md: -------------------------------------------------------------------------------- 1 | # MatcherCollection [![Build Status](https://travis-ci.org/stefanpenner/matcher-collection.svg?branch=master)](https://travis-ci.org/stefanpenner/matcher-collection) 2 | 3 | Minimatch but for collections of minimatcher matchers. 4 | 5 | ## Install 6 | 7 | ```sh 8 | npm install matcher-collection 9 | ``` 10 | 11 | ## Examples 12 | 13 | ```js 14 | const MatcherCollection = require('matcher-collection') 15 | 16 | let m = new MatcherCollection([ 17 | 'tests/', 18 | '**/*.js', 19 | ]); 20 | 21 | m.match('tests/foo.js') // => true 22 | m.match('foo.js') // => false 23 | 24 | m.mayContain('tests') // => true 25 | m.mayContain('foo') // => false 26 | ``` 27 | -------------------------------------------------------------------------------- /js/node_modules/math-random/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules/* 2 | -------------------------------------------------------------------------------- /js/node_modules/math-random/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "6" 4 | - "4" 5 | - "0.12" 6 | - "0.10" 7 | -------------------------------------------------------------------------------- /js/node_modules/math-random/browser.js: -------------------------------------------------------------------------------- 1 | module.exports = (function (global) { 2 | var uint32 = 'Uint32Array' in global 3 | var crypto = global.crypto || global.msCrypto 4 | var rando = crypto && typeof crypto.getRandomValues === 'function' 5 | var good = uint32 && crypto && rando 6 | if (!good) return Math.random 7 | 8 | var arr = new Uint32Array(1) 9 | var max = Math.pow(2, 32) 10 | function random () { 11 | crypto.getRandomValues(arr) 12 | return arr[0] / max 13 | } 14 | 15 | random.cryptographic = true 16 | return random 17 | })(typeof self !== 'undefined' ? self : window) 18 | -------------------------------------------------------------------------------- /js/node_modules/math-random/node.js: -------------------------------------------------------------------------------- 1 | var crypto = require('crypto') 2 | var max = Math.pow(2, 32) 3 | 4 | module.exports = random 5 | module.exports.cryptographic = true 6 | 7 | function random () { 8 | var buf = crypto 9 | .randomBytes(4) 10 | .toString('hex') 11 | 12 | return parseInt(buf, 16) / max 13 | } 14 | -------------------------------------------------------------------------------- /js/node_modules/math-random/readme.md: -------------------------------------------------------------------------------- 1 | # math-random 2 | 3 | math-random is an drop-in replacement for Math.random that uses cryptographically secure random number generation, where available. It works in both browser and node environments. 4 | 5 | [![Build status](https://travis-ci.org/michaelrhodes/math-random.svg?branch=master)](https://travis-ci.org/michaelrhodes/math-random) 6 | 7 | ## Install 8 | 9 | ```sh 10 | npm install math-random 11 | ``` 12 | 13 | ### Usage 14 | 15 | ```js 16 | var random = require('math-random') 17 | 18 | console.log(random()) 19 | => 0.584293719381094 20 | 21 | console.log(random.cryptographic) 22 | => true || undefined 23 | ``` 24 | 25 | ### License 26 | [MIT](http://opensource.org/licenses/MIT) 27 | -------------------------------------------------------------------------------- /js/node_modules/math-random/test.js: -------------------------------------------------------------------------------- 1 | var test = require('tape') 2 | var unique = require('array-unique') 3 | var random = require('./') 4 | 5 | test('it works', function (assert) { 6 | var number, l = 1000, cache = [] 7 | 8 | for (var i = 0; i < l; i++) { 9 | number = random() 10 | if (number <= 0) { 11 | assert.fail('a random number was less than or equal to zero') 12 | assert.end() 13 | return 14 | } 15 | if (number >= 1) { 16 | assert.fail('a random number was greater than or equal to one') 17 | assert.end() 18 | return 19 | } 20 | cache.push(number) 21 | } 22 | 23 | assert.pass('all ' + l + ' random numbers were greater than zero and less than one') 24 | assert.equal(cache.length, unique(cache).length, 'all ' + l + ' random numbers were unique') 25 | assert.end() 26 | }) 27 | -------------------------------------------------------------------------------- /js/node_modules/minimatch/LICENSE: -------------------------------------------------------------------------------- 1 | The ISC License 2 | 3 | Copyright (c) Isaac Z. Schlueter and Contributors 4 | 5 | Permission to use, copy, modify, and/or distribute this software for any 6 | purpose with or without fee is hereby granted, provided that the above 7 | copyright notice and this permission notice appear in all copies. 8 | 9 | THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 10 | WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 11 | MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR 12 | ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 13 | WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 14 | ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR 15 | IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 16 | -------------------------------------------------------------------------------- /js/node_modules/nan/include_dirs.js: -------------------------------------------------------------------------------- 1 | console.log(require('path').relative('.', __dirname)); 2 | -------------------------------------------------------------------------------- /js/node_modules/nan/tools/README.md: -------------------------------------------------------------------------------- 1 | 1to2 naively converts source code files from NAN 1 to NAN 2. There will be erroneous conversions, 2 | false positives and missed opportunities. The input files are rewritten in place. Make sure that 3 | you have backups. You will have to manually review the changes afterwards and do some touchups. 4 | 5 | ```sh 6 | $ tools/1to2.js 7 | 8 | Usage: 1to2 [options] 9 | 10 | Options: 11 | 12 | -h, --help output usage information 13 | -V, --version output the version number 14 | ``` 15 | -------------------------------------------------------------------------------- /js/node_modules/nan/tools/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "1to2", 3 | "version": "1.0.0", 4 | "description": "NAN 1 -> 2 Migration Script", 5 | "main": "1to2.js", 6 | "repository": { 7 | "type": "git", 8 | "url": "git://github.com/nodejs/nan.git" 9 | }, 10 | "contributors": [ 11 | "Benjamin Byholm (https://github.com/kkoopa/)", 12 | "Mathias Küsel (https://github.com/mathiask88/)" 13 | ], 14 | "dependencies": { 15 | "glob": "~5.0.10", 16 | "commander": "~2.8.1" 17 | }, 18 | "license": "MIT" 19 | } 20 | -------------------------------------------------------------------------------- /js/node_modules/nanomatch/lib/cache.js: -------------------------------------------------------------------------------- 1 | module.exports = new (require('fragment-cache'))(); 2 | -------------------------------------------------------------------------------- /js/node_modules/normalize-path/index.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * normalize-path 3 | * 4 | * Copyright (c) 2014-2017, Jon Schlinkert. 5 | * Released under the MIT License. 6 | */ 7 | 8 | var removeTrailingSeparator = require('remove-trailing-separator'); 9 | 10 | module.exports = function normalizePath(str, stripTrailing) { 11 | if (typeof str !== 'string') { 12 | throw new TypeError('expected a string'); 13 | } 14 | str = str.replace(/[\\\/]+/g, '/'); 15 | if (stripTrailing !== false) { 16 | str = removeTrailingSeparator(str); 17 | } 18 | return str; 19 | }; 20 | -------------------------------------------------------------------------------- /js/node_modules/object-visit/node_modules/isobject/index.d.ts: -------------------------------------------------------------------------------- 1 | export = isObject; 2 | 3 | declare function isObject(val: any): boolean; 4 | 5 | declare namespace isObject {} 6 | -------------------------------------------------------------------------------- /js/node_modules/object-visit/node_modules/isobject/index.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * isobject 3 | * 4 | * Copyright (c) 2014-2017, Jon Schlinkert. 5 | * Released under the MIT License. 6 | */ 7 | 8 | 'use strict'; 9 | 10 | module.exports = function isObject(val) { 11 | return val != null && typeof val === 'object' && Array.isArray(val) === false; 12 | }; 13 | -------------------------------------------------------------------------------- /js/node_modules/object.pick/index.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * object.pick 3 | * 4 | * Copyright (c) 2014-2015 Jon Schlinkert, contributors. 5 | * Licensed under the MIT License 6 | */ 7 | 8 | 'use strict'; 9 | 10 | var isObject = require('isobject'); 11 | 12 | module.exports = function pick(obj, keys) { 13 | if (!isObject(obj) && typeof obj !== 'function') { 14 | return {}; 15 | } 16 | 17 | var res = {}; 18 | if (typeof keys === 'string') { 19 | if (keys in obj) { 20 | res[keys] = obj[keys]; 21 | } 22 | return res; 23 | } 24 | 25 | var len = keys.length; 26 | var idx = -1; 27 | 28 | while (++idx < len) { 29 | var key = keys[idx]; 30 | if (key in obj) { 31 | res[key] = obj[key]; 32 | } 33 | } 34 | return res; 35 | }; 36 | -------------------------------------------------------------------------------- /js/node_modules/object.pick/node_modules/isobject/index.d.ts: -------------------------------------------------------------------------------- 1 | export = isObject; 2 | 3 | declare function isObject(val: any): boolean; 4 | 5 | declare namespace isObject {} 6 | -------------------------------------------------------------------------------- /js/node_modules/object.pick/node_modules/isobject/index.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * isobject 3 | * 4 | * Copyright (c) 2014-2017, Jon Schlinkert. 5 | * Released under the MIT License. 6 | */ 7 | 8 | 'use strict'; 9 | 10 | module.exports = function isObject(val) { 11 | return val != null && typeof val === 'object' && Array.isArray(val) === false; 12 | }; 13 | -------------------------------------------------------------------------------- /js/node_modules/pascalcase/index.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * pascalcase 3 | * 4 | * Copyright (c) 2015, Jon Schlinkert. 5 | * Licensed under the MIT License. 6 | */ 7 | 8 | function pascalcase(str) { 9 | if (typeof str !== 'string') { 10 | throw new TypeError('expected a string.'); 11 | } 12 | str = str.replace(/([A-Z])/g, ' $1'); 13 | if (str.length === 1) { return str.toUpperCase(); } 14 | str = str.replace(/^[\W_]+|[\W_]+$/g, '').toLowerCase(); 15 | str = str.charAt(0).toUpperCase() + str.slice(1); 16 | return str.replace(/[\W_]+(\w|$)/g, function (_, ch) { 17 | return ch.toUpperCase(); 18 | }); 19 | } 20 | 21 | module.exports = pascalcase; 22 | -------------------------------------------------------------------------------- /js/node_modules/path-is-absolute/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | function posix(path) { 4 | return path.charAt(0) === '/'; 5 | } 6 | 7 | function win32(path) { 8 | // https://github.com/nodejs/node/blob/b3fcc245fb25539909ef1d5eaa01dbf92e168633/lib/path.js#L56 9 | var splitDeviceRe = /^([a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/]+[^\\\/]+)?([\\\/])?([\s\S]*?)$/; 10 | var result = splitDeviceRe.exec(path); 11 | var device = result[1] || ''; 12 | var isUnc = Boolean(device && device.charAt(1) !== ':'); 13 | 14 | // UNC paths are always absolute 15 | return Boolean(result[2] || isUnc); 16 | } 17 | 18 | module.exports = process.platform === 'win32' ? win32 : posix; 19 | module.exports.posix = posix; 20 | module.exports.win32 = win32; 21 | -------------------------------------------------------------------------------- /js/node_modules/path-parse/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "0.12" 4 | - "0.11" 5 | - "0.10" 6 | - "0.10.12" 7 | - "0.8" 8 | - "0.6" 9 | - "iojs" 10 | -------------------------------------------------------------------------------- /js/node_modules/posix-character-classes/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | /** 4 | * POSIX character classes 5 | */ 6 | 7 | module.exports = { 8 | alnum: 'a-zA-Z0-9', 9 | alpha: 'a-zA-Z', 10 | ascii: '\\x00-\\x7F', 11 | blank: ' \\t', 12 | cntrl: '\\x00-\\x1F\\x7F', 13 | digit: '0-9', 14 | graph: '\\x21-\\x7E', 15 | lower: 'a-z', 16 | print: '\\x20-\\x7E ', 17 | punct: '\\-!"#$%&\'()\\*+,./:;<=>?@[\\]^_`{|}~', 18 | space: ' \\t\\r\\n\\v\\f', 19 | upper: 'A-Z', 20 | word: 'A-Za-z0-9_', 21 | xdigit: 'A-Fa-f0-9' 22 | }; 23 | -------------------------------------------------------------------------------- /js/node_modules/preserve/.gitattributes: -------------------------------------------------------------------------------- 1 | # Enforce Unix newlines 2 | *.* text eol=lf 3 | *.css text eol=lf 4 | *.html text eol=lf 5 | *.js text eol=lf 6 | *.json text eol=lf 7 | *.less text eol=lf 8 | *.md text eol=lf 9 | *.yml text eol=lf 10 | 11 | *.jpg binary 12 | *.gif binary 13 | *.png binary 14 | *.jpeg binary -------------------------------------------------------------------------------- /js/node_modules/preserve/.jshintrc: -------------------------------------------------------------------------------- 1 | { 2 | "asi": false, 3 | "boss": true, 4 | "curly": true, 5 | "eqeqeq": true, 6 | "eqnull": true, 7 | "esnext": true, 8 | "immed": true, 9 | "latedef": true, 10 | "laxcomma": false, 11 | "newcap": true, 12 | "noarg": true, 13 | "node": true, 14 | "sub": true, 15 | "undef": true, 16 | "unused": true, 17 | "globals": { 18 | "define": true, 19 | "before": true, 20 | "after": true, 21 | "describe": true, 22 | "it": true 23 | } 24 | } -------------------------------------------------------------------------------- /js/node_modules/preserve/.npmignore: -------------------------------------------------------------------------------- 1 | # Numerous always-ignore extensions 2 | *.csv 3 | *.dat 4 | *.diff 5 | *.err 6 | *.gz 7 | *.log 8 | *.orig 9 | *.out 10 | *.pid 11 | *.rar 12 | *.rej 13 | *.seed 14 | *.swo 15 | *.swp 16 | *.vi 17 | *.yo-rc.json 18 | *.zip 19 | *~ 20 | .ruby-version 21 | lib-cov 22 | npm-debug.log 23 | 24 | # Always-ignore dirs 25 | /bower_components/ 26 | /node_modules/ 27 | /temp/ 28 | /tmp/ 29 | /vendor/ 30 | _gh_pages 31 | 32 | # OS or Editor folders 33 | *.esproj 34 | *.komodoproject 35 | .komodotools 36 | *.sublime-* 37 | ._* 38 | .cache 39 | .DS_Store 40 | .idea 41 | .project 42 | .settings 43 | .tmproj 44 | nbproject 45 | Thumbs.db 46 | 47 | # grunt-html-validation 48 | validation-status.json 49 | validation-report.json 50 | 51 | # misc 52 | TODO.md 53 | benchmark -------------------------------------------------------------------------------- /js/node_modules/preserve/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - '0.10' -------------------------------------------------------------------------------- /js/node_modules/process-nextick-args/readme.md: -------------------------------------------------------------------------------- 1 | process-nextick-args 2 | ===== 3 | 4 | [![Build Status](https://travis-ci.org/calvinmetcalf/process-nextick-args.svg?branch=master)](https://travis-ci.org/calvinmetcalf/process-nextick-args) 5 | 6 | ```bash 7 | npm install --save process-nextick-args 8 | ``` 9 | 10 | Always be able to pass arguments to process.nextTick, no matter the platform 11 | 12 | ```js 13 | var pna = require('process-nextick-args'); 14 | 15 | pna.nextTick(function (a, b, c) { 16 | console.log(a, b, c); 17 | }, 'step', 3, 'profit'); 18 | ``` 19 | -------------------------------------------------------------------------------- /js/node_modules/randomatic/node_modules/is-number/index.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * is-number 3 | * 4 | * Copyright (c) 2014-2017, Jon Schlinkert. 5 | * Released under the MIT License. 6 | */ 7 | 8 | 'use strict'; 9 | 10 | module.exports = function isNumber(num) { 11 | var type = typeof num; 12 | 13 | if (type === 'string' || num instanceof String) { 14 | // an empty string would be coerced to true with the below logic 15 | if (!num.trim()) return false; 16 | } else if (type !== 'number' && !(num instanceof Number)) { 17 | return false; 18 | } 19 | 20 | return (num - num + 1) >= 0; 21 | }; 22 | -------------------------------------------------------------------------------- /js/node_modules/readable-stream/duplex-browser.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./lib/_stream_duplex.js'); 2 | -------------------------------------------------------------------------------- /js/node_modules/readable-stream/duplex.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./readable').Duplex 2 | -------------------------------------------------------------------------------- /js/node_modules/readable-stream/lib/internal/streams/stream-browser.js: -------------------------------------------------------------------------------- 1 | module.exports = require('events').EventEmitter; 2 | -------------------------------------------------------------------------------- /js/node_modules/readable-stream/lib/internal/streams/stream.js: -------------------------------------------------------------------------------- 1 | module.exports = require('stream'); 2 | -------------------------------------------------------------------------------- /js/node_modules/readable-stream/passthrough.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./readable').PassThrough 2 | -------------------------------------------------------------------------------- /js/node_modules/readable-stream/readable-browser.js: -------------------------------------------------------------------------------- 1 | exports = module.exports = require('./lib/_stream_readable.js'); 2 | exports.Stream = exports; 3 | exports.Readable = exports; 4 | exports.Writable = require('./lib/_stream_writable.js'); 5 | exports.Duplex = require('./lib/_stream_duplex.js'); 6 | exports.Transform = require('./lib/_stream_transform.js'); 7 | exports.PassThrough = require('./lib/_stream_passthrough.js'); 8 | -------------------------------------------------------------------------------- /js/node_modules/readable-stream/transform.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./readable').Transform 2 | -------------------------------------------------------------------------------- /js/node_modules/readable-stream/writable-browser.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./lib/_stream_writable.js'); 2 | -------------------------------------------------------------------------------- /js/node_modules/readable-stream/writable.js: -------------------------------------------------------------------------------- 1 | var Stream = require("stream") 2 | var Writable = require("./lib/_stream_writable.js") 3 | 4 | if (process.env.READABLE_STREAM === 'disable') { 5 | module.exports = Stream && Stream.Writable || Writable 6 | } else { 7 | module.exports = Writable 8 | } 9 | -------------------------------------------------------------------------------- /js/node_modules/readdirp/.npmignore: -------------------------------------------------------------------------------- 1 | lib-cov 2 | *.seed 3 | *.log 4 | *.csv 5 | *.dat 6 | *.out 7 | *.pid 8 | *.gz 9 | 10 | pids 11 | logs 12 | results 13 | 14 | node_modules 15 | npm-debug.log -------------------------------------------------------------------------------- /js/node_modules/readdirp/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "0.10" 4 | - "0.12" 5 | - "4.4" 6 | - "6.2" 7 | -------------------------------------------------------------------------------- /js/node_modules/readdirp/examples/callback-api.js: -------------------------------------------------------------------------------- 1 | var readdirp = require('..'); 2 | 3 | readdirp({ root: '.', fileFilter: '*.js' }, function (errors, res) { 4 | if (errors) { 5 | errors.forEach(function (err) { 6 | console.error('Error: ', err); 7 | }); 8 | } 9 | console.log('all javascript files', res); 10 | }); 11 | -------------------------------------------------------------------------------- /js/node_modules/readdirp/examples/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "readdirp-examples", 3 | "version": "0.0.0", 4 | "description": "Examples for readdirp.", 5 | "dependencies": { 6 | "tap-stream": "~0.1.0", 7 | "event-stream": "~3.0.7" 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /js/node_modules/readdirp/examples/stream-api-pipe.js: -------------------------------------------------------------------------------- 1 | var readdirp = require('..') 2 | , path = require('path') 3 | , through = require('through2') 4 | 5 | // print out all JavaScript files along with their size 6 | readdirp({ root: path.join(__dirname), fileFilter: '*.js' }) 7 | .on('warn', function (err) { console.error('non-fatal error', err); }) 8 | .on('error', function (err) { console.error('fatal error', err); }) 9 | .pipe(through.obj(function (entry, _, cb) { 10 | this.push({ path: entry.path, size: entry.stat.size }); 11 | cb(); 12 | })) 13 | .pipe(through.obj( 14 | function (res, _, cb) { 15 | this.push(JSON.stringify(res) + '\n'); 16 | cb(); 17 | }) 18 | ) 19 | .pipe(process.stdout); 20 | -------------------------------------------------------------------------------- /js/node_modules/readdirp/examples/stream-api.js: -------------------------------------------------------------------------------- 1 | var readdirp = require('..') 2 | , path = require('path'); 3 | 4 | readdirp({ root: path.join(__dirname), fileFilter: '*.js' }) 5 | .on('warn', function (err) { 6 | console.error('something went wrong when processing an entry', err); 7 | }) 8 | .on('error', function (err) { 9 | console.error('something went fatally wrong and the stream was aborted', err); 10 | }) 11 | .on('data', function (entry) { 12 | console.log('%s is ready for processing', entry.path); 13 | // process entry here 14 | }); 15 | 16 | -------------------------------------------------------------------------------- /js/node_modules/readdirp/test/bed/root_dir1/root_dir1_file1.ext1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ticketmaster/actions-on-google-kotlin/126a9d4fcaa29377f3ce7eda46e823ba131719d9/js/node_modules/readdirp/test/bed/root_dir1/root_dir1_file1.ext1 -------------------------------------------------------------------------------- /js/node_modules/readdirp/test/bed/root_dir1/root_dir1_file2.ext2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ticketmaster/actions-on-google-kotlin/126a9d4fcaa29377f3ce7eda46e823ba131719d9/js/node_modules/readdirp/test/bed/root_dir1/root_dir1_file2.ext2 -------------------------------------------------------------------------------- /js/node_modules/readdirp/test/bed/root_dir1/root_dir1_file3.ext3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ticketmaster/actions-on-google-kotlin/126a9d4fcaa29377f3ce7eda46e823ba131719d9/js/node_modules/readdirp/test/bed/root_dir1/root_dir1_file3.ext3 -------------------------------------------------------------------------------- /js/node_modules/readdirp/test/bed/root_dir1/root_dir1_subdir1/root1_dir1_subdir1_file1.ext1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ticketmaster/actions-on-google-kotlin/126a9d4fcaa29377f3ce7eda46e823ba131719d9/js/node_modules/readdirp/test/bed/root_dir1/root_dir1_subdir1/root1_dir1_subdir1_file1.ext1 -------------------------------------------------------------------------------- /js/node_modules/readdirp/test/bed/root_dir2/root_dir2_file1.ext1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ticketmaster/actions-on-google-kotlin/126a9d4fcaa29377f3ce7eda46e823ba131719d9/js/node_modules/readdirp/test/bed/root_dir2/root_dir2_file1.ext1 -------------------------------------------------------------------------------- /js/node_modules/readdirp/test/bed/root_dir2/root_dir2_file2.ext2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ticketmaster/actions-on-google-kotlin/126a9d4fcaa29377f3ce7eda46e823ba131719d9/js/node_modules/readdirp/test/bed/root_dir2/root_dir2_file2.ext2 -------------------------------------------------------------------------------- /js/node_modules/readdirp/test/bed/root_file1.ext1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ticketmaster/actions-on-google-kotlin/126a9d4fcaa29377f3ce7eda46e823ba131719d9/js/node_modules/readdirp/test/bed/root_file1.ext1 -------------------------------------------------------------------------------- /js/node_modules/readdirp/test/bed/root_file2.ext2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ticketmaster/actions-on-google-kotlin/126a9d4fcaa29377f3ce7eda46e823ba131719d9/js/node_modules/readdirp/test/bed/root_file2.ext2 -------------------------------------------------------------------------------- /js/node_modules/readdirp/test/bed/root_file3.ext3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ticketmaster/actions-on-google-kotlin/126a9d4fcaa29377f3ce7eda46e823ba131719d9/js/node_modules/readdirp/test/bed/root_file3.ext3 -------------------------------------------------------------------------------- /js/node_modules/remove-trailing-separator/history.md: -------------------------------------------------------------------------------- 1 | ## History 2 | 3 | ### 1.1.0 - 16th Aug 2017 4 | 5 | - [f4576e3](https://github.com/darsain/remove-trailing-separator/commit/f4576e3638c39b794998b533fffb27854dcbee01) Implement faster slash slicing 6 | 7 | ### 1.0.2 - 07th Jun 2017 8 | 9 | - [8e13ecb](https://github.com/darsain/remove-trailing-separator/commit/8e13ecbfd7b9f5fdf97c5d5ff923e4718b874e31) ES5 compatibility 10 | 11 | ### 1.0.1 - 25th Sep 2016 12 | 13 | - [b78606d](https://github.com/darsain/remove-trailing-separator/commit/af90b4e153a4527894741af6c7005acaeb78606d) Remove backslash only on win32 systems 14 | 15 | ### 1.0.0 - 24th Sep 2016 16 | 17 | Initial release. 18 | -------------------------------------------------------------------------------- /js/node_modules/remove-trailing-separator/index.js: -------------------------------------------------------------------------------- 1 | var isWin = process.platform === 'win32'; 2 | 3 | module.exports = function (str) { 4 | var i = str.length - 1; 5 | if (i < 2) { 6 | return str; 7 | } 8 | while (isSeparator(str, i)) { 9 | i--; 10 | } 11 | return str.substr(0, i + 1); 12 | }; 13 | 14 | function isSeparator(str, i) { 15 | var char = str[i]; 16 | return i > 0 && (char === '/' || (isWin && char === '\\')); 17 | } 18 | -------------------------------------------------------------------------------- /js/node_modules/remove-trailing-separator/license: -------------------------------------------------------------------------------- 1 | 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. 2 | 3 | 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. -------------------------------------------------------------------------------- /js/node_modules/repeat-element/index.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * repeat-element 3 | * 4 | * Copyright (c) 2015 Jon Schlinkert. 5 | * Licensed under the MIT license. 6 | */ 7 | 8 | 'use strict'; 9 | 10 | module.exports = function repeat(ele, num) { 11 | var arr = new Array(num); 12 | 13 | for (var i = 0; i < num; i++) { 14 | arr[i] = ele; 15 | } 16 | 17 | return arr; 18 | }; 19 | -------------------------------------------------------------------------------- /js/node_modules/resolve-dir/index.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * resolve-dir 3 | * 4 | * Copyright (c) 2015, Jon Schlinkert. 5 | * Licensed under the MIT License. 6 | */ 7 | 8 | 'use strict'; 9 | 10 | var path = require('path'); 11 | var expand = require('expand-tilde'); 12 | var gm = require('global-modules'); 13 | 14 | module.exports = function resolveDir(dir) { 15 | if (dir.charAt(0) === '~') { 16 | dir = expand(dir); 17 | } 18 | if (dir.charAt(0) === '@') { 19 | dir = path.join(gm, dir.slice(1)); 20 | } 21 | return dir; 22 | }; 23 | -------------------------------------------------------------------------------- /js/node_modules/resolve-url/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "resolve-url", 3 | "version": "0.2.1", 4 | "description": "Like Node.js’ `path.resolve`/`url.resolve` for the browser.", 5 | "authors": ["Simon Lydell"], 6 | "license": "MIT", 7 | "main": "resolve-url.js", 8 | "keywords": [ 9 | "resolve", 10 | "url" 11 | ], 12 | "ignore": [ 13 | ".*" 14 | ] 15 | } 16 | -------------------------------------------------------------------------------- /js/node_modules/resolve-url/changelog.md: -------------------------------------------------------------------------------- 1 | ### Version 0.2.1 (2014-02-25) ### 2 | 3 | - Fix edge case when (accidentally) supplying only one argument, and that 4 | argument happens to be a falsy value such as `undefined` or `null`. 5 | 6 | 7 | ### Version 0.2.0 (2014-02-24) ### 8 | 9 | - Disallow passing 0 arguments. It’s weird and inconsistent between browsers. 10 | (Backwards incompatible change.) 11 | 12 | 13 | ### Version 0.1.0 (2014-02-23) ### 14 | 15 | - Initial release. 16 | -------------------------------------------------------------------------------- /js/node_modules/resolve-url/component.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "resolve-url", 3 | "version": "0.2.1", 4 | "license": "MIT", 5 | "description": "Like Node.js’ `path.resolve`/`url.resolve` for the browser.", 6 | "main": "resolve-url.js", 7 | "repo": "lydell/resolve-url", 8 | "keywords": [ 9 | "resolve", 10 | "url" 11 | ], 12 | "scripts": [ 13 | "resolve-url.js" 14 | ] 15 | } 16 | -------------------------------------------------------------------------------- /js/node_modules/resolve/.editorconfig: -------------------------------------------------------------------------------- 1 | root = true 2 | 3 | [*] 4 | indent_style = tab 5 | indent_size = 4 6 | end_of_line = lf 7 | charset = utf-8 8 | trim_trailing_whitespace = true 9 | insert_final_newline = true 10 | max_line_length = 120 11 | 12 | [CHANGELOG.md] 13 | indent_style = space 14 | indent_size = 2 15 | 16 | [*.json] 17 | max_line_length = off 18 | 19 | [Makefile] 20 | max_line_length = off 21 | -------------------------------------------------------------------------------- /js/node_modules/resolve/.eslintignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | -------------------------------------------------------------------------------- /js/node_modules/resolve/example/async.js: -------------------------------------------------------------------------------- 1 | var resolve = require('../'); 2 | resolve('tap', { basedir: __dirname }, function (err, res) { 3 | if (err) console.error(err); 4 | else console.log(res); 5 | }); 6 | -------------------------------------------------------------------------------- /js/node_modules/resolve/example/sync.js: -------------------------------------------------------------------------------- 1 | var resolve = require('../'); 2 | var res = resolve.sync('tap', { basedir: __dirname }); 3 | console.log(res); 4 | -------------------------------------------------------------------------------- /js/node_modules/resolve/index.js: -------------------------------------------------------------------------------- 1 | var core = require('./lib/core'); 2 | var async = require('./lib/async'); 3 | async.core = core; 4 | async.isCore = function isCore(x) { return core[x]; }; 5 | async.sync = require('./lib/sync'); 6 | 7 | exports = async; 8 | module.exports = async; 9 | -------------------------------------------------------------------------------- /js/node_modules/resolve/lib/caller.js: -------------------------------------------------------------------------------- 1 | module.exports = function () { 2 | // see https://code.google.com/p/v8/wiki/JavaScriptStackTraceApi 3 | var origPrepareStackTrace = Error.prepareStackTrace; 4 | Error.prepareStackTrace = function (_, stack) { return stack; }; 5 | var stack = (new Error()).stack; 6 | Error.prepareStackTrace = origPrepareStackTrace; 7 | return stack[2].getFileName(); 8 | }; 9 | -------------------------------------------------------------------------------- /js/node_modules/resolve/test/dotdot/abc/index.js: -------------------------------------------------------------------------------- 1 | var x = require('..'); 2 | console.log(x); 3 | -------------------------------------------------------------------------------- /js/node_modules/resolve/test/dotdot/index.js: -------------------------------------------------------------------------------- 1 | module.exports = 'whatever'; 2 | -------------------------------------------------------------------------------- /js/node_modules/resolve/test/faulty_basedir.js: -------------------------------------------------------------------------------- 1 | var test = require('tape'); 2 | var resolve = require('../'); 3 | 4 | test('faulty basedir must produce error in windows', { skip: process.platform !== 'win32' }, function (t) { 5 | t.plan(1); 6 | 7 | var resolverDir = 'C:\\a\\b\\c\\d'; 8 | 9 | resolve('tape/lib/test.js', { basedir: resolverDir }, function (err, res, pkg) { 10 | t.equal(true, !!err); 11 | }); 12 | 13 | }); 14 | -------------------------------------------------------------------------------- /js/node_modules/resolve/test/filter.js: -------------------------------------------------------------------------------- 1 | var path = require('path'); 2 | var test = require('tape'); 3 | var resolve = require('../'); 4 | 5 | test('filter', function (t) { 6 | t.plan(2); 7 | var dir = path.join(__dirname, 'resolver'); 8 | resolve('./baz', { 9 | basedir: dir, 10 | packageFilter: function (pkg) { 11 | pkg.main = 'doom'; 12 | return pkg; 13 | } 14 | }, function (err, res, pkg) { 15 | if (err) t.fail(err); 16 | t.equal(res, path.join(dir, 'baz/doom.js')); 17 | t.equal(pkg.main, 'doom'); 18 | }); 19 | }); 20 | -------------------------------------------------------------------------------- /js/node_modules/resolve/test/filter_sync.js: -------------------------------------------------------------------------------- 1 | var path = require('path'); 2 | var test = require('tape'); 3 | var resolve = require('../'); 4 | 5 | test('filter', function (t) { 6 | var dir = path.join(__dirname, 'resolver'); 7 | var res = resolve.sync('./baz', { 8 | basedir: dir, 9 | packageFilter: function (pkg) { 10 | pkg.main = 'doom'; 11 | return pkg; 12 | } 13 | }); 14 | t.equal(res, path.join(dir, 'baz/doom.js')); 15 | t.end(); 16 | }); 17 | -------------------------------------------------------------------------------- /js/node_modules/resolve/test/module_dir/xmodules/aaa/index.js: -------------------------------------------------------------------------------- 1 | module.exports = function (x) { return x * 100; }; 2 | -------------------------------------------------------------------------------- /js/node_modules/resolve/test/module_dir/ymodules/aaa/index.js: -------------------------------------------------------------------------------- 1 | module.exports = function (x) { return x + 100; }; 2 | -------------------------------------------------------------------------------- /js/node_modules/resolve/test/module_dir/zmodules/bbb/main.js: -------------------------------------------------------------------------------- 1 | module.exports = function (n) { return n * 111; }; 2 | -------------------------------------------------------------------------------- /js/node_modules/resolve/test/module_dir/zmodules/bbb/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "main": "main.js" 3 | } 4 | -------------------------------------------------------------------------------- /js/node_modules/resolve/test/node_path/x/aaa/index.js: -------------------------------------------------------------------------------- 1 | module.exports = 'A'; 2 | -------------------------------------------------------------------------------- /js/node_modules/resolve/test/node_path/x/ccc/index.js: -------------------------------------------------------------------------------- 1 | module.exports = 'C'; 2 | -------------------------------------------------------------------------------- /js/node_modules/resolve/test/node_path/y/bbb/index.js: -------------------------------------------------------------------------------- 1 | module.exports = 'B'; 2 | -------------------------------------------------------------------------------- /js/node_modules/resolve/test/node_path/y/ccc/index.js: -------------------------------------------------------------------------------- 1 | module.exports = 'CY'; 2 | -------------------------------------------------------------------------------- /js/node_modules/resolve/test/nonstring.js: -------------------------------------------------------------------------------- 1 | var test = require('tape'); 2 | var resolve = require('../'); 3 | 4 | test('nonstring', function (t) { 5 | t.plan(1); 6 | resolve(555, function (err, res, pkg) { 7 | t.ok(err); 8 | }); 9 | }); 10 | -------------------------------------------------------------------------------- /js/node_modules/resolve/test/pathfilter/deep_ref/main.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ticketmaster/actions-on-google-kotlin/126a9d4fcaa29377f3ce7eda46e823ba131719d9/js/node_modules/resolve/test/pathfilter/deep_ref/main.js -------------------------------------------------------------------------------- /js/node_modules/resolve/test/precedence.js: -------------------------------------------------------------------------------- 1 | var path = require('path'); 2 | var test = require('tape'); 3 | var resolve = require('../'); 4 | 5 | test('precedence', function (t) { 6 | t.plan(3); 7 | var dir = path.join(__dirname, 'precedence/aaa'); 8 | 9 | resolve('./', { basedir: dir }, function (err, res, pkg) { 10 | t.ifError(err); 11 | t.equal(res, path.join(dir, 'index.js')); 12 | t.equal(pkg.name, 'resolve'); 13 | }); 14 | }); 15 | 16 | test('./ should not load ${dir}.js', function (t) { // eslint-disable-line no-template-curly-in-string 17 | t.plan(1); 18 | var dir = path.join(__dirname, 'precedence/bbb'); 19 | 20 | resolve('./', { basedir: dir }, function (err, res, pkg) { 21 | t.ok(err); 22 | }); 23 | }); 24 | -------------------------------------------------------------------------------- /js/node_modules/resolve/test/precedence/aaa.js: -------------------------------------------------------------------------------- 1 | module.exports = 'wtf'; 2 | -------------------------------------------------------------------------------- /js/node_modules/resolve/test/precedence/aaa/index.js: -------------------------------------------------------------------------------- 1 | module.exports = 'okok'; 2 | -------------------------------------------------------------------------------- /js/node_modules/resolve/test/precedence/aaa/main.js: -------------------------------------------------------------------------------- 1 | console.log(require('./')); 2 | -------------------------------------------------------------------------------- /js/node_modules/resolve/test/precedence/bbb.js: -------------------------------------------------------------------------------- 1 | module.exports = '>_<'; 2 | -------------------------------------------------------------------------------- /js/node_modules/resolve/test/precedence/bbb/main.js: -------------------------------------------------------------------------------- 1 | console.log(require('./')); // should throw 2 | -------------------------------------------------------------------------------- /js/node_modules/resolve/test/resolver/baz/doom.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ticketmaster/actions-on-google-kotlin/126a9d4fcaa29377f3ce7eda46e823ba131719d9/js/node_modules/resolve/test/resolver/baz/doom.js -------------------------------------------------------------------------------- /js/node_modules/resolve/test/resolver/baz/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "main": "quux.js" 3 | } 4 | -------------------------------------------------------------------------------- /js/node_modules/resolve/test/resolver/baz/quux.js: -------------------------------------------------------------------------------- 1 | module.exports = 1; 2 | -------------------------------------------------------------------------------- /js/node_modules/resolve/test/resolver/cup.coffee: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /js/node_modules/resolve/test/resolver/dot_main/index.js: -------------------------------------------------------------------------------- 1 | module.exports = 1; 2 | -------------------------------------------------------------------------------- /js/node_modules/resolve/test/resolver/dot_main/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "main": "." 3 | } 4 | -------------------------------------------------------------------------------- /js/node_modules/resolve/test/resolver/dot_slash_main/index.js: -------------------------------------------------------------------------------- 1 | module.exports = 1; 2 | -------------------------------------------------------------------------------- /js/node_modules/resolve/test/resolver/dot_slash_main/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "main": "./" 3 | } 4 | -------------------------------------------------------------------------------- /js/node_modules/resolve/test/resolver/foo.js: -------------------------------------------------------------------------------- 1 | module.exports = 1; 2 | -------------------------------------------------------------------------------- /js/node_modules/resolve/test/resolver/incorrect_main/index.js: -------------------------------------------------------------------------------- 1 | // this is the actual main file 'index.js', not 'wrong.js' like the package.json would indicate 2 | module.exports = 1; 3 | -------------------------------------------------------------------------------- /js/node_modules/resolve/test/resolver/incorrect_main/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "main": "wrong.js" 3 | } 4 | -------------------------------------------------------------------------------- /js/node_modules/resolve/test/resolver/mug.coffee: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ticketmaster/actions-on-google-kotlin/126a9d4fcaa29377f3ce7eda46e823ba131719d9/js/node_modules/resolve/test/resolver/mug.coffee -------------------------------------------------------------------------------- /js/node_modules/resolve/test/resolver/mug.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ticketmaster/actions-on-google-kotlin/126a9d4fcaa29377f3ce7eda46e823ba131719d9/js/node_modules/resolve/test/resolver/mug.js -------------------------------------------------------------------------------- /js/node_modules/resolve/test/resolver/other_path/lib/other-lib.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ticketmaster/actions-on-google-kotlin/126a9d4fcaa29377f3ce7eda46e823ba131719d9/js/node_modules/resolve/test/resolver/other_path/lib/other-lib.js -------------------------------------------------------------------------------- /js/node_modules/resolve/test/resolver/other_path/root.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ticketmaster/actions-on-google-kotlin/126a9d4fcaa29377f3ce7eda46e823ba131719d9/js/node_modules/resolve/test/resolver/other_path/root.js -------------------------------------------------------------------------------- /js/node_modules/resolve/test/resolver/quux/foo/index.js: -------------------------------------------------------------------------------- 1 | module.exports = 1; 2 | -------------------------------------------------------------------------------- /js/node_modules/resolve/test/resolver/same_names/foo.js: -------------------------------------------------------------------------------- 1 | module.exports = 42; 2 | -------------------------------------------------------------------------------- /js/node_modules/resolve/test/resolver/same_names/foo/index.js: -------------------------------------------------------------------------------- 1 | module.exports = 1; 2 | -------------------------------------------------------------------------------- /js/node_modules/resolve/test/resolver/symlinked/_/symlink_target/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ticketmaster/actions-on-google-kotlin/126a9d4fcaa29377f3ce7eda46e823ba131719d9/js/node_modules/resolve/test/resolver/symlinked/_/symlink_target/.gitkeep -------------------------------------------------------------------------------- /js/node_modules/resolve/test/resolver/without_basedir/main.js: -------------------------------------------------------------------------------- 1 | var resolve = require('../../../'); 2 | 3 | module.exports = function (t, cb) { 4 | resolve('mymodule', null, cb); 5 | }; 6 | -------------------------------------------------------------------------------- /js/node_modules/resolve/test/subdirs.js: -------------------------------------------------------------------------------- 1 | var test = require('tape'); 2 | var resolve = require('../'); 3 | var path = require('path'); 4 | 5 | test('subdirs', function (t) { 6 | t.plan(2); 7 | 8 | var dir = path.join(__dirname, '/subdirs'); 9 | resolve('a/b/c/x.json', { basedir: dir }, function (err, res) { 10 | t.ifError(err); 11 | t.equal(res, path.join(dir, 'node_modules/a/b/c/x.json')); 12 | }); 13 | }); 14 | -------------------------------------------------------------------------------- /js/node_modules/ret/lib/positions.js: -------------------------------------------------------------------------------- 1 | var types = require('./types'); 2 | 3 | exports.wordBoundary = function() { 4 | return { type: types.POSITION, value: 'b' }; 5 | }; 6 | 7 | exports.nonWordBoundary = function() { 8 | return { type: types.POSITION, value: 'B' }; 9 | }; 10 | 11 | exports.begin = function() { 12 | return { type: types.POSITION, value: '^' }; 13 | }; 14 | 15 | exports.end = function() { 16 | return { type: types.POSITION, value: '$' }; 17 | }; 18 | -------------------------------------------------------------------------------- /js/node_modules/ret/lib/types.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | ROOT : 0, 3 | GROUP : 1, 4 | POSITION : 2, 5 | SET : 3, 6 | RANGE : 4, 7 | REPETITION : 5, 8 | REFERENCE : 6, 9 | CHAR : 7, 10 | }; 11 | -------------------------------------------------------------------------------- /js/node_modules/safe-regex/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "0.8" 4 | - "0.10" 5 | -------------------------------------------------------------------------------- /js/node_modules/safe-regex/example/safe.js: -------------------------------------------------------------------------------- 1 | var safe = require('../'); 2 | var regex = process.argv.slice(2).join(' '); 3 | console.log(safe(regex)); 4 | -------------------------------------------------------------------------------- /js/node_modules/set-immediate-shim/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | module.exports = typeof setImmediate === 'function' ? setImmediate : 3 | function setImmediate() { 4 | var args = [].slice.apply(arguments); 5 | args.splice(1, 0, 0); 6 | setTimeout.apply(null, args); 7 | }; 8 | -------------------------------------------------------------------------------- /js/node_modules/set-immediate-shim/readme.md: -------------------------------------------------------------------------------- 1 | # set-immediate-shim [![Build Status](https://travis-ci.org/sindresorhus/set-immediate-shim.svg?branch=master)](https://travis-ci.org/sindresorhus/set-immediate-shim) 2 | 3 | > Simple [`setImmediate`](https://developer.mozilla.org/en-US/docs/Web/API/Window.setImmediate) shim 4 | 5 | 6 | ## Install 7 | 8 | ``` 9 | $ npm install --save set-immediate-shim 10 | ``` 11 | 12 | 13 | ## Usage 14 | 15 | ```js 16 | var setImmediateShim = require('set-immediate-shim'); 17 | 18 | setImmediateShim(function () { 19 | console.log('2'); 20 | }); 21 | 22 | console.log('1'); 23 | 24 | //=> 1 25 | //=> 2 26 | ``` 27 | 28 | 29 | ## License 30 | 31 | MIT © [Sindre Sorhus](http://sindresorhus.com) 32 | -------------------------------------------------------------------------------- /js/node_modules/snapdragon-node/node_modules/is-descriptor/index.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * is-descriptor 3 | * 4 | * Copyright (c) 2015-2017, Jon Schlinkert. 5 | * Released under the MIT License. 6 | */ 7 | 8 | 'use strict'; 9 | 10 | var typeOf = require('kind-of'); 11 | var isAccessor = require('is-accessor-descriptor'); 12 | var isData = require('is-data-descriptor'); 13 | 14 | module.exports = function isDescriptor(obj, key) { 15 | if (typeOf(obj) !== 'object') { 16 | return false; 17 | } 18 | if ('get' in obj) { 19 | return isAccessor(obj, key); 20 | } 21 | return isData(obj, key); 22 | }; 23 | -------------------------------------------------------------------------------- /js/node_modules/snapdragon-node/node_modules/isobject/index.d.ts: -------------------------------------------------------------------------------- 1 | export = isObject; 2 | 3 | declare function isObject(val: any): boolean; 4 | 5 | declare namespace isObject {} 6 | -------------------------------------------------------------------------------- /js/node_modules/snapdragon-node/node_modules/isobject/index.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * isobject 3 | * 4 | * Copyright (c) 2014-2017, Jon Schlinkert. 5 | * Released under the MIT License. 6 | */ 7 | 8 | 'use strict'; 9 | 10 | module.exports = function isObject(val) { 11 | return val != null && typeof val === 'object' && Array.isArray(val) === false; 12 | }; 13 | -------------------------------------------------------------------------------- /js/node_modules/snapdragon/lib/position.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var define = require('define-property'); 4 | 5 | /** 6 | * Store position for a node 7 | */ 8 | 9 | module.exports = function Position(start, parser) { 10 | this.start = start; 11 | this.end = { line: parser.line, column: parser.column }; 12 | define(this, 'content', parser.orig); 13 | define(this, 'source', parser.options.source); 14 | }; 15 | -------------------------------------------------------------------------------- /js/node_modules/snapdragon/node_modules/extend-shallow/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var isObject = require('is-extendable'); 4 | 5 | module.exports = function extend(o/*, objects*/) { 6 | if (!isObject(o)) { o = {}; } 7 | 8 | var len = arguments.length; 9 | for (var i = 1; i < len; i++) { 10 | var obj = arguments[i]; 11 | 12 | if (isObject(obj)) { 13 | assign(o, obj); 14 | } 15 | } 16 | return o; 17 | }; 18 | 19 | function assign(a, b) { 20 | for (var key in b) { 21 | if (hasOwn(b, key)) { 22 | a[key] = b[key]; 23 | } 24 | } 25 | } 26 | 27 | /** 28 | * Returns true if the given `key` is an own property of `obj`. 29 | */ 30 | 31 | function hasOwn(obj, key) { 32 | return Object.prototype.hasOwnProperty.call(obj, key); 33 | } 34 | -------------------------------------------------------------------------------- /js/node_modules/source-map-resolve/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "node" 4 | -------------------------------------------------------------------------------- /js/node_modules/source-map-resolve/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "source-map-resolve", 3 | "version": "0.5.2", 4 | "author": "Simon Lydell", 5 | "license": "MIT", 6 | "description": "Resolve the source map and/or sources for a generated file.", 7 | "keywords": [ 8 | "source map", 9 | "sourcemap", 10 | "source", 11 | "map", 12 | "sourceMappingURL", 13 | "resolve", 14 | "resolver", 15 | "locate", 16 | "locator", 17 | "find", 18 | "finder" 19 | ], 20 | "authors": [ 21 | "Simon Lydell" 22 | ], 23 | "ignore": [ 24 | ".*" 25 | ], 26 | "dependencies": { 27 | "source-map-url": "^0.4.0", 28 | "resolve-url": "^0.2.1" 29 | } 30 | } -------------------------------------------------------------------------------- /js/node_modules/source-map-resolve/component.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "source-map-resolve", 3 | "version": "0.5.2", 4 | "author": "Simon Lydell", 5 | "license": "MIT", 6 | "description": "Resolve the source map and/or sources for a generated file.", 7 | "keywords": [ 8 | "source map", 9 | "sourcemap", 10 | "source", 11 | "map", 12 | "sourceMappingURL", 13 | "resolve", 14 | "resolver", 15 | "locate", 16 | "locator", 17 | "find", 18 | "finder" 19 | ], 20 | "repo": "lydell/source-map-resolve", 21 | "main": "source-map-resolve.js", 22 | "scripts": [ 23 | "source-map-resolve.js" 24 | ], 25 | "dependencies": { 26 | "lydell/source-map-url": "~0.4.0", 27 | "lydell/resolve-url": "~0.2.1" 28 | } 29 | } -------------------------------------------------------------------------------- /js/node_modules/source-map-resolve/lib/decode-uri-component.js: -------------------------------------------------------------------------------- 1 | // Copyright 2017 Simon Lydell 2 | // X11 (“MIT”) Licensed. (See LICENSE.) 3 | 4 | var decodeUriComponent = require("decode-uri-component") 5 | 6 | function customDecodeUriComponent(string) { 7 | // `decodeUriComponent` turns `+` into ` `, but that's not wanted. 8 | return decodeUriComponent(string.replace(/\+/g, "%2B")) 9 | } 10 | 11 | module.exports = customDecodeUriComponent 12 | -------------------------------------------------------------------------------- /js/node_modules/source-map-resolve/lib/resolve-url.js: -------------------------------------------------------------------------------- 1 | // Copyright 2014 Simon Lydell 2 | // X11 (“MIT”) Licensed. (See LICENSE.) 3 | 4 | var url = require("url") 5 | 6 | function resolveUrl(/* ...urls */) { 7 | return Array.prototype.reduce.call(arguments, function(resolved, nextUrl) { 8 | return url.resolve(resolved, nextUrl) 9 | }) 10 | } 11 | 12 | module.exports = resolveUrl 13 | -------------------------------------------------------------------------------- /js/node_modules/source-map-resolve/test/common.js: -------------------------------------------------------------------------------- 1 | // Copyright 2014 Simon Lydell 2 | // X11 (“MIT”) Licensed. (See LICENSE.) 3 | 4 | function u(url) { 5 | return "code\n/*# sourceMappingURL=" + url + " */" 6 | } 7 | 8 | function read(x) { 9 | return function() { 10 | return x 11 | } 12 | } 13 | 14 | function Throws(x) { 15 | throw new Error(x) 16 | } 17 | 18 | function identity(x) { 19 | return x 20 | } 21 | 22 | module.exports = { 23 | u: u, 24 | read: read, 25 | Throws: Throws, 26 | identity: identity 27 | } 28 | -------------------------------------------------------------------------------- /js/node_modules/source-map-url/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "source-map-url", 3 | "version": "0.4.0", 4 | "author": "Simon Lydell", 5 | "license": "MIT", 6 | "description": "Tools for working with sourceMappingURL comments.", 7 | "keywords": [ 8 | "source map", 9 | "sourceMappingURL", 10 | "comment", 11 | "annotation" 12 | ], 13 | "main": "source-map-url.js", 14 | "authors": [ 15 | "Simon Lydell" 16 | ], 17 | "ignore": [ 18 | ".*" 19 | ] 20 | } -------------------------------------------------------------------------------- /js/node_modules/source-map-url/component.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "source-map-url", 3 | "version": "0.4.0", 4 | "author": "Simon Lydell", 5 | "license": "MIT", 6 | "description": "Tools for working with sourceMappingURL comments.", 7 | "keywords": [ 8 | "source map", 9 | "sourceMappingURL", 10 | "comment", 11 | "annotation" 12 | ], 13 | "main": "source-map-url.js", 14 | "repo": "lydell/source-map-url", 15 | "scripts": [ 16 | "source-map-url.js" 17 | ] 18 | } 19 | -------------------------------------------------------------------------------- /js/node_modules/source-map/source-map.js: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2009-2011 Mozilla Foundation and contributors 3 | * Licensed under the New BSD license. See LICENSE.txt or: 4 | * http://opensource.org/licenses/BSD-3-Clause 5 | */ 6 | exports.SourceMapGenerator = require('./lib/source-map-generator').SourceMapGenerator; 7 | exports.SourceMapConsumer = require('./lib/source-map-consumer').SourceMapConsumer; 8 | exports.SourceNode = require('./lib/source-node').SourceNode; 9 | -------------------------------------------------------------------------------- /js/node_modules/to-object-path/index.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * to-object-path 3 | * 4 | * Copyright (c) 2015, Jon Schlinkert. 5 | * Licensed under the MIT License. 6 | */ 7 | 8 | 'use strict'; 9 | 10 | var typeOf = require('kind-of'); 11 | 12 | module.exports = function toPath(args) { 13 | if (typeOf(args) !== 'arguments') { 14 | args = arguments; 15 | } 16 | return filter(args).join('.'); 17 | }; 18 | 19 | function filter(arr) { 20 | var len = arr.length; 21 | var idx = -1; 22 | var res = []; 23 | 24 | while (++idx < len) { 25 | var ele = arr[idx]; 26 | if (typeOf(ele) === 'arguments' || Array.isArray(ele)) { 27 | res.push.apply(res, filter(ele)); 28 | } else if (typeof ele === 'string') { 29 | res.push(ele); 30 | } 31 | } 32 | return res; 33 | } 34 | -------------------------------------------------------------------------------- /js/node_modules/to-regex-range/node_modules/is-number/index.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * is-number 3 | * 4 | * Copyright (c) 2014-2015, Jon Schlinkert. 5 | * Licensed under the MIT License. 6 | */ 7 | 8 | 'use strict'; 9 | 10 | var typeOf = require('kind-of'); 11 | 12 | module.exports = function isNumber(num) { 13 | var type = typeOf(num); 14 | 15 | if (type === 'string') { 16 | if (!num.trim()) return false; 17 | } else if (type !== 'number') { 18 | return false; 19 | } 20 | 21 | return (num - num + 1) >= 0; 22 | }; 23 | -------------------------------------------------------------------------------- /js/node_modules/union-value/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var isObject = require('is-extendable'); 4 | var union = require('arr-union'); 5 | var get = require('get-value'); 6 | var set = require('set-value'); 7 | 8 | module.exports = function unionValue(obj, prop, value) { 9 | if (!isObject(obj)) { 10 | throw new TypeError('union-value expects the first argument to be an object.'); 11 | } 12 | 13 | if (typeof prop !== 'string') { 14 | throw new TypeError('union-value expects `prop` to be a string.'); 15 | } 16 | 17 | var arr = arrayify(get(obj, prop)); 18 | set(obj, prop, union(arr, arrayify(value))); 19 | return obj; 20 | }; 21 | 22 | function arrayify(val) { 23 | if (val === null || typeof val === 'undefined') { 24 | return []; 25 | } 26 | if (Array.isArray(val)) { 27 | return val; 28 | } 29 | return [val]; 30 | } 31 | -------------------------------------------------------------------------------- /js/node_modules/union-value/node_modules/extend-shallow/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var isObject = require('is-extendable'); 4 | 5 | module.exports = function extend(o/*, objects*/) { 6 | if (!isObject(o)) { o = {}; } 7 | 8 | var len = arguments.length; 9 | for (var i = 1; i < len; i++) { 10 | var obj = arguments[i]; 11 | 12 | if (isObject(obj)) { 13 | assign(o, obj); 14 | } 15 | } 16 | return o; 17 | }; 18 | 19 | function assign(a, b) { 20 | for (var key in b) { 21 | if (hasOwn(b, key)) { 22 | a[key] = b[key]; 23 | } 24 | } 25 | } 26 | 27 | /** 28 | * Returns true if the given `key` is an own property of `obj`. 29 | */ 30 | 31 | function hasOwn(obj, key) { 32 | return Object.prototype.hasOwnProperty.call(obj, key); 33 | } 34 | -------------------------------------------------------------------------------- /js/node_modules/unset-value/node_modules/has-value/index.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * has-value 3 | * 4 | * Copyright (c) 2014-2016, Jon Schlinkert. 5 | * Licensed under the MIT License. 6 | */ 7 | 8 | 'use strict'; 9 | 10 | var isObject = require('isobject'); 11 | var hasValues = require('has-values'); 12 | var get = require('get-value'); 13 | 14 | module.exports = function(obj, prop, noZero) { 15 | if (isObject(obj)) { 16 | return hasValues(get(obj, prop), noZero); 17 | } 18 | return hasValues(obj, prop); 19 | }; 20 | -------------------------------------------------------------------------------- /js/node_modules/unset-value/node_modules/has-value/node_modules/isobject/index.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * isobject 3 | * 4 | * Copyright (c) 2014-2015, Jon Schlinkert. 5 | * Licensed under the MIT License. 6 | */ 7 | 8 | 'use strict'; 9 | 10 | var isArray = require('isarray'); 11 | 12 | module.exports = function isObject(val) { 13 | return val != null && typeof val === 'object' && isArray(val) === false; 14 | }; 15 | -------------------------------------------------------------------------------- /js/node_modules/unset-value/node_modules/has-values/index.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * has-values 3 | * 4 | * Copyright (c) 2014-2015, Jon Schlinkert. 5 | * Licensed under the MIT License. 6 | */ 7 | 8 | 'use strict'; 9 | 10 | module.exports = function hasValue(o, noZero) { 11 | if (o === null || o === undefined) { 12 | return false; 13 | } 14 | 15 | if (typeof o === 'boolean') { 16 | return true; 17 | } 18 | 19 | if (typeof o === 'number') { 20 | if (o === 0 && noZero === true) { 21 | return false; 22 | } 23 | return true; 24 | } 25 | 26 | if (o.length !== undefined) { 27 | return o.length !== 0; 28 | } 29 | 30 | for (var key in o) { 31 | if (o.hasOwnProperty(key)) { 32 | return true; 33 | } 34 | } 35 | return false; 36 | }; 37 | -------------------------------------------------------------------------------- /js/node_modules/unset-value/node_modules/isobject/index.d.ts: -------------------------------------------------------------------------------- 1 | export = isObject; 2 | 3 | declare function isObject(val: any): boolean; 4 | 5 | declare namespace isObject {} 6 | -------------------------------------------------------------------------------- /js/node_modules/unset-value/node_modules/isobject/index.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * isobject 3 | * 4 | * Copyright (c) 2014-2017, Jon Schlinkert. 5 | * Released under the MIT License. 6 | */ 7 | 8 | 'use strict'; 9 | 10 | module.exports = function isObject(val) { 11 | return val != null && typeof val === 'object' && Array.isArray(val) === false; 12 | }; 13 | -------------------------------------------------------------------------------- /js/node_modules/urix/index.js: -------------------------------------------------------------------------------- 1 | // Copyright 2014 Simon Lydell 2 | // X11 (“MIT”) Licensed. (See LICENSE.) 3 | 4 | var path = require("path") 5 | 6 | "use strict" 7 | 8 | function urix(aPath) { 9 | if (path.sep === "\\") { 10 | return aPath 11 | .replace(/\\/g, "/") 12 | .replace(/^[a-z]:\/?/i, "/") 13 | } 14 | return aPath 15 | } 16 | 17 | module.exports = urix 18 | -------------------------------------------------------------------------------- /js/node_modules/util-deprecate/History.md: -------------------------------------------------------------------------------- 1 | 2 | 1.0.2 / 2015-10-07 3 | ================== 4 | 5 | * use try/catch when checking `localStorage` (#3, @kumavis) 6 | 7 | 1.0.1 / 2014-11-25 8 | ================== 9 | 10 | * browser: use `console.warn()` for deprecation calls 11 | * browser: more jsdocs 12 | 13 | 1.0.0 / 2014-04-30 14 | ================== 15 | 16 | * initial commit 17 | -------------------------------------------------------------------------------- /js/node_modules/util-deprecate/node.js: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | * For Node.js, simply re-export the core `util.deprecate` function. 4 | */ 5 | 6 | module.exports = require('util').deprecate; 7 | -------------------------------------------------------------------------------- /js/node_modules/which/LICENSE: -------------------------------------------------------------------------------- 1 | The ISC License 2 | 3 | Copyright (c) Isaac Z. Schlueter and Contributors 4 | 5 | Permission to use, copy, modify, and/or distribute this software for any 6 | purpose with or without fee is hereby granted, provided that the above 7 | copyright notice and this permission notice appear in all copies. 8 | 9 | THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 10 | WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 11 | MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR 12 | ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 13 | WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 14 | ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR 15 | IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 16 | -------------------------------------------------------------------------------- /js/src/main/kotlin/actions/expected/BuiltinFrameworks.kt: -------------------------------------------------------------------------------- 1 | package actions.expected 2 | 3 | import actions.framework.Frameworks 4 | 5 | actual class BuiltinFrameworks: Frameworks() { 6 | /** 7 | * Plug and play web framework support for express using body-parser 8 | * @public 9 | */ 10 | // var express: Express 11 | 12 | /** 13 | * Plug and play web framework support for lambda API gateway 14 | * @public 15 | */ 16 | // var lambda: Lambda 17 | } -------------------------------------------------------------------------------- /js/src/main/kotlin/actions/expected/Expected.kt: -------------------------------------------------------------------------------- 1 | package actions.expected 2 | 3 | actual class GoogleAuthLib { 4 | actual fun asyncVerify() { 5 | 6 | } 7 | 8 | } -------------------------------------------------------------------------------- /js/src/main/kotlin/actions/expected/Serializer.kt: -------------------------------------------------------------------------------- 1 | package actions.expected 2 | 3 | actual object Serializer { 4 | actual fun stringifyConversationToken(data: Any?): ConversationTokenData { 5 | TODO("not implemented") //To change body of created functions use File | Settings | File Templates. 6 | } 7 | 8 | actual fun serialize(any: Any?): String? { 9 | TODO("not implemented") //To change body of created functions use File | Settings | File Templates. 10 | } 11 | 12 | actual fun deserializeMap(json: String): MutableMap { 13 | TODO("not implemented") //To change body of created functions use File | Settings | File Templates. 14 | } 15 | 16 | } -------------------------------------------------------------------------------- /js/src/main/kotlin/actions/expected/deserialize.kt: -------------------------------------------------------------------------------- 1 | package actions.expected 2 | 3 | actual fun deserialize(json: String?): T? { 4 | return null 5 | } 6 | -------------------------------------------------------------------------------- /js/src/main/kotlin/actions/expected/log.kt: -------------------------------------------------------------------------------- 1 | package actions.expected 2 | 3 | actual fun log(message: String, vararg optionalParameters: Any?) { 4 | console.log(message) 5 | } -------------------------------------------------------------------------------- /jvm-app/build.gradle: -------------------------------------------------------------------------------- 1 | apply plugin: 'kotlin' 2 | 3 | 4 | 5 | dependencies { 6 | compile project(':jvm') 7 | compile group: 'org.mockito', name: 'mockito-core', version: '2.18.3' 8 | compile libraries.kotlin_stdlib 9 | compile('javax.servlet:javax.servlet-api:3.1.0', //todo pull into separate module 10 | "com.google.code.gson:gson:2.8.1") 11 | // compileProject(":common", configuration: "testArtifacts") 12 | // compile files(project(':common').configurations.test.output.classesDir) 13 | } 14 | compileTestJava.dependsOn tasks.getByPath(':common:testClasses') 15 | 16 | task run(dependsOn: classes, type: JavaExec) { 17 | main = 'jvm.JvmAppKt' 18 | classpath = sourceSets.main.runtimeClasspath 19 | ignoreExitValue(true) 20 | } 21 | -------------------------------------------------------------------------------- /jvm-app/src/main/kotlin/jvm/AogMockFactory.kt: -------------------------------------------------------------------------------- 1 | package actions 2 | 3 | object AogMockFactory { 4 | fun mockWelcome() { 5 | 6 | } 7 | } -------------------------------------------------------------------------------- /jvm-app/src/main/kotlin/jvm/JvmApp.kt: -------------------------------------------------------------------------------- 1 | package jvm 2 | 3 | fun main(arguments: Array) { 4 | System.out.println("HERE!") 5 | servlet() 6 | } 7 | -------------------------------------------------------------------------------- /jvm/src/main/java/actions/expected/Expected.kt: -------------------------------------------------------------------------------- 1 | package actions.expected 2 | 3 | import actions.expected.GoogleAuthLib 4 | 5 | actual class GoogleAuthLib { 6 | actual fun asyncVerify() { 7 | 8 | } 9 | 10 | } -------------------------------------------------------------------------------- /jvm/src/main/java/actions/expected/deserialize.kt: -------------------------------------------------------------------------------- 1 | package actions.expected 2 | 3 | actual fun deserialize(json: String?): T? { 4 | return null 5 | } -------------------------------------------------------------------------------- /jvm/src/main/java/actions/expected/framework/ServletFramework.kt: -------------------------------------------------------------------------------- 1 | package actions.expected.framework 2 | 3 | -------------------------------------------------------------------------------- /jvm/src/main/java/actions/expected/log.kt: -------------------------------------------------------------------------------- 1 | package actions.expected 2 | 3 | import java.util.logging.Logger 4 | 5 | val logger = Logger.getAnonymousLogger() 6 | 7 | actual fun log(message: String, vararg optionalParameters: Any?) { 8 | System.out.println(message) 9 | logger.info(message + if (optionalParameters != null) " :$optionalParameters" else "") 10 | } -------------------------------------------------------------------------------- /sample-gae-jvm/src/main/webapp/WEB-INF/logging.properties: -------------------------------------------------------------------------------- 1 | # A default java.util.logging configuration. 2 | # (All App Engine logging is through java.util.logging by default). 3 | # 4 | # To use this configuration, copy it into your application's WEB-INF 5 | # folder and add the following to your appengine-web.xml: 6 | # 7 | # 8 | # 9 | # 10 | # 11 | 12 | # Set the default logging level for all loggers to WARNING 13 | .level = INFO 14 | -------------------------------------------------------------------------------- /settings.gradle: -------------------------------------------------------------------------------- 1 | include ':sdk', ':sdk-gson-servlet', ':dialogflow-samples', ':action-sdk-samples' 2 | rootProject.name = 'actions-on-google-kotlin' 3 | 4 | include ':common' 5 | include ':common-mock' 6 | include ':jvm' 7 | include ':jvm-app' 8 | include ':js' 9 | include ':js-app' 10 | //include ':sample-gae-jvm' 11 | 12 | -------------------------------------------------------------------------------- /uploadArtifacts.sh: -------------------------------------------------------------------------------- 1 | ./gradlew clean build 2 | ./gradlew jvm:bintrayUpload publish 3 | --------------------------------------------------------------------------------