From a1ee1de08be86b3f0fdc37b078aeb771ae6597a9 Mon Sep 17 00:00:00 2001 From: Matthew Pirocchi Date: Wed, 8 Aug 2018 05:23:36 -0400 Subject: [PATCH] Build .NET sources by default when running `jsii-pacmak`. (#160) * Split `jsii-dotnet-runtime`'s integration tests into a separate package, which breaks a dependency loop with `jsii-pacmak`. * Generate `PackageReference`s for assemblies, rather than `ProjectReference`s. * Implement `Target.build` for .NET. --- package-lock.json | 5358 +++++++++-------- packages/codemaker/package-lock.json | 615 +- packages/jsii-build-tools/package-lock.json | 64 +- packages/jsii-calc/package-lock.json | 6 +- packages/jsii-dotnet-generator/package.json | 12 +- .../AssemblyExtensionsTests.cs | 392 +- .../AssemblyGeneratorTests.cs | 9 +- .../TypeMetadataTests.cs | 856 +-- .../src/Amazon.JSII.Generator.sln | 124 +- .../AssemblyGenerator.cs | 28 +- .../PropertyExtensions.cs | 40 +- packages/jsii-dotnet-jsonmodel/.npmignore | 3 +- packages/jsii-dotnet-jsonmodel/index.js | 1 - packages/jsii-dotnet-jsonmodel/lib/index.ts | 3 + .../jsii-dotnet-jsonmodel/package-lock.json | 16 + packages/jsii-dotnet-jsonmodel/package.json | 24 +- .../src/Amazon.JSII.JsonModel.sln | 96 +- .../Api/Request/StaticGetRequest.cs | 48 +- .../Api/Request/StaticInvokeRequest.cs | 56 +- .../Api/Request/StaticSetRequest.cs | 56 +- packages/jsii-dotnet-jsonmodel/tsconfig.json | 54 + packages/jsii-dotnet-runtime-test/.gitignore | 8 + packages/jsii-dotnet-runtime-test/.npmignore | 8 + .../Directory.Build.props.t.js | 10 + packages/jsii-dotnet-runtime-test/LICENSE | 202 + packages/jsii-dotnet-runtime-test/build.sh | 9 + packages/jsii-dotnet-runtime-test/generate.sh | 9 + .../jsii-dotnet-runtime-test/lib/index.ts | 3 + .../package-lock.json | 16 + .../jsii-dotnet-runtime-test/package.json | 30 + packages/jsii-dotnet-runtime-test/test.sh | 6 + ...mazon.JSII.Runtime.IntegrationTests.csproj | 2 +- .../ComplianceTests.cs | 0 .../IntegrationTestBase.cs | 0 .../XUnitLogger.cs | 0 .../test/NuGet.config | 5 +- .../jsii-dotnet-runtime-test/tsconfig.json | 54 + packages/jsii-dotnet-runtime/.npmignore | 6 - packages/jsii-dotnet-runtime/build.sh | 2 - packages/jsii-dotnet-runtime/index.js | 1 - packages/jsii-dotnet-runtime/lib/index.ts | 3 + .../jsii-dotnet-runtime/package-lock.json | 16 + packages/jsii-dotnet-runtime/package.json | 26 +- .../src/Amazon.JSII.Runtime.sln | 82 +- .../Amazon.JSII.Runtime/Deputy/DeputyBase.cs | 816 +-- packages/jsii-dotnet-runtime/test.sh | 9 - .../Amazon.JSII.Runtime.IntegrationTests.sln | 79 - packages/jsii-dotnet-runtime/tsconfig.json | 54 + .../jsii-java-runtime-test/package-lock.json | 6 +- packages/jsii-java-runtime-test/pom.xml.t.js | 3 +- packages/jsii-java-runtime/package-lock.json | 6 +- packages/jsii-kernel/lib/kernel.ts | 1 + packages/jsii-kernel/package-lock.json | 685 +-- packages/jsii-pacmak/bin/jsii-pacmak.ts | 17 +- packages/jsii-pacmak/lib/logging.ts | 1 + packages/jsii-pacmak/lib/targets/dotnet.ts | 82 +- packages/jsii-pacmak/package-lock.json | 700 ++- packages/jsii-pacmak/package.json | 4 + .../Amazon.JSII.Tests.Calculator.Base.csproj | 4 +- .../AssemblyInfo.cs | 4 +- .../BaseProps.cs | 42 +- .../BasePropsProxy.cs | 52 +- .../Base_.cs | 50 +- .../IBaseProps.cs | 30 +- .../Amazon.JSII.Tests.Calculator.Lib.csproj | 6 +- .../AssemblyInfo.cs | 4 +- .../IFriendlyProxy.cs | 38 +- .../IIFriendly.cs | 24 +- .../IMyFirstStruct.cs | 56 +- .../IStructWithOnlyOptionals.cs | 56 +- .../MyFirstStruct.cs | 54 +- .../MyFirstStructProxy.cs | 64 +- .../Number.cs | 62 +- .../Operation.cs | 44 +- .../StructWithOnlyOptionals.cs | 54 +- .../StructWithOnlyOptionalsProxy.cs | 64 +- .../Value_.cs | 64 +- .../Amazon.JSII.Tests.Calculator/Add.cs | 64 +- .../Amazon.JSII.Tests.Calculator/AllTypes.cs | 326 +- .../AllTypesEnum.cs | 28 +- .../AllowedMethodNames.cs | 86 +- .../Amazon.JSII.Tests.Calculator.csproj | 10 +- .../AssemblyInfo.cs | 4 +- .../AsyncVirtualMethods.cs | 118 +- .../BinaryOperation.cs | 76 +- .../CalculatorProps.cs | 40 +- .../CalculatorPropsProxy.cs | 50 +- .../Calculator_.cs | 182 +- .../DerivedClassHasNoProperties/Base.cs | 52 +- .../DerivedClassHasNoProperties/Derived.cs | 38 +- .../DerivedStruct.cs | 130 +- .../DerivedStructProxy.cs | 140 +- .../DoubleTrouble.cs | 62 +- .../GiveMeStructs.cs | 88 +- .../ICalculatorProps.cs | 42 +- .../IDerivedStruct.cs | 90 +- .../IFriendlierProxy.cs | 60 +- .../IFriendlyRandomGeneratorProxy.cs | 48 +- .../IIFriendlier.cs | 28 +- .../IIFriendlyRandomGenerator.cs | 18 +- .../IIInterfaceWithProperties.cs | 40 +- .../IIInterfaceWithPropertiesExtension.cs | 28 +- .../IIRandomNumberGenerator.cs | 22 +- .../IImplictBaseOfBase.cs | 32 +- .../IInterfaceWithProperties.cs | 38 +- .../IInterfaceWithPropertiesExtension.cs | 52 +- .../IInterfaceWithPropertiesExtensionProxy.cs | 62 +- .../IInterfaceWithPropertiesProxy.cs | 48 +- .../IRandomNumberGeneratorProxy.cs | 36 +- .../IReturnsNumber.cs | 32 +- .../IUnionProperties.cs | 40 +- .../ImplictBaseOfBase.cs | 58 +- .../ImplictBaseOfBaseProxy.cs | 68 +- .../JSObjectLiteralForInterface.cs | 64 +- .../JSObjectLiteralToNative.cs | 50 +- .../JSObjectLiteralToNativeClass.cs | 66 +- .../JavaReservedWords.cs | 676 +-- .../Amazon.JSII.Tests.Calculator/Multiply.cs | 100 +- .../Amazon.JSII.Tests.Calculator/Negate.cs | 100 +- .../NodeStandardLibrary.cs | 92 +- .../NumberGenerator.cs | 80 +- .../ObjectRefsInCollections.cs | 66 +- .../OverrideReturnsObject.cs | 50 +- .../Polymorphism.cs | 52 +- .../Amazon.JSII.Tests.Calculator/Power.cs | 82 +- .../ReturnsNumberProxy.cs | 46 +- .../RuntimeTypeChecking.cs | 52 +- .../Amazon.JSII.Tests.Calculator/Statics.cs | 166 +- .../StringEnum.cs | 28 +- .../Amazon.JSII.Tests.Calculator/Sum.cs | 72 +- .../SyncVirtualMethods.cs | 240 +- .../Amazon.JSII.Tests.Calculator/Thrower.cs | 50 +- .../UnaryOperation.cs | 52 +- .../UnionProperties.cs | 38 +- .../UnionPropertiesProxy.cs | 48 +- .../UseBundledDependency.cs | 50 +- .../UseCalcBase.cs | 52 +- .../UsesInterfaceWithProperties.cs | 86 +- .../VariadicMethod.cs | 52 +- .../VirtualMethodPlayground.cs | 98 +- .../composition/CompositeOperation.cs | 122 +- .../composition/CompositionStringStyle.cs | 24 +- packages/jsii-ruby-runtime/package-lock.json | 6 +- packages/jsii-runtime/package-lock.json | 1492 ++--- packages/jsii-spec/package-lock.json | 42 +- packages/jsii/package-lock.json | 80 +- 146 files changed, 9192 insertions(+), 9112 deletions(-) delete mode 100644 packages/jsii-dotnet-jsonmodel/index.js create mode 100644 packages/jsii-dotnet-jsonmodel/lib/index.ts create mode 100644 packages/jsii-dotnet-jsonmodel/package-lock.json create mode 100644 packages/jsii-dotnet-jsonmodel/tsconfig.json create mode 100644 packages/jsii-dotnet-runtime-test/.gitignore create mode 100644 packages/jsii-dotnet-runtime-test/.npmignore create mode 100644 packages/jsii-dotnet-runtime-test/Directory.Build.props.t.js create mode 100644 packages/jsii-dotnet-runtime-test/LICENSE create mode 100644 packages/jsii-dotnet-runtime-test/build.sh create mode 100644 packages/jsii-dotnet-runtime-test/generate.sh create mode 100644 packages/jsii-dotnet-runtime-test/lib/index.ts create mode 100644 packages/jsii-dotnet-runtime-test/package-lock.json create mode 100644 packages/jsii-dotnet-runtime-test/package.json create mode 100644 packages/jsii-dotnet-runtime-test/test.sh rename packages/{jsii-dotnet-runtime => jsii-dotnet-runtime-test}/test/Amazon.JSII.Runtime.IntegrationTests/Amazon.JSII.Runtime.IntegrationTests.csproj (86%) rename packages/{jsii-dotnet-runtime => jsii-dotnet-runtime-test}/test/Amazon.JSII.Runtime.IntegrationTests/ComplianceTests.cs (100%) rename packages/{jsii-dotnet-runtime => jsii-dotnet-runtime-test}/test/Amazon.JSII.Runtime.IntegrationTests/IntegrationTestBase.cs (100%) rename packages/{jsii-dotnet-runtime => jsii-dotnet-runtime-test}/test/Amazon.JSII.Runtime.IntegrationTests/XUnitLogger.cs (100%) rename packages/{jsii-dotnet-runtime => jsii-dotnet-runtime-test}/test/NuGet.config (54%) create mode 100644 packages/jsii-dotnet-runtime-test/tsconfig.json delete mode 100644 packages/jsii-dotnet-runtime/index.js create mode 100644 packages/jsii-dotnet-runtime/lib/index.ts create mode 100644 packages/jsii-dotnet-runtime/package-lock.json delete mode 100644 packages/jsii-dotnet-runtime/test/Amazon.JSII.Runtime.IntegrationTests.sln create mode 100644 packages/jsii-dotnet-runtime/tsconfig.json diff --git a/package-lock.json b/package-lock.json index b7873e2ac3..cf848c1ecb 100644 --- a/package-lock.json +++ b/package-lock.json @@ -2,1798 +2,875 @@ "requires": true, "lockfileVersion": 1, "dependencies": { - "JSONStream": { - "version": "1.3.3", - "resolved": "https://registry.npmjs.org/JSONStream/-/JSONStream-1.3.3.tgz", - "integrity": "sha512-3Sp6WZZ/lXl+nTDoGpGWHEpTnnC6X5fnkolYZR6nwIfzbxxvA8utPWe1gCt7i0m9uVGsSz2IS8K8mJ7HmlduMg==", - "dev": true, - "requires": { - "jsonparse": "^1.2.0", - "through": ">=2.2.7 <3" - } - }, - "add-stream": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/add-stream/-/add-stream-1.0.0.tgz", - "integrity": "sha1-anmQQ3ynNtXhKI25K9MmbV9csqo=", - "dev": true - }, - "align-text": { - "version": "0.1.4", - "resolved": "https://registry.npmjs.org/align-text/-/align-text-0.1.4.tgz", - "integrity": "sha1-DNkKVhCT810KmSVsIrcGlDP60Rc=", - "dev": true, - "requires": { - "kind-of": "^3.0.2", - "longest": "^1.0.1", - "repeat-string": "^1.5.2" - } - }, - "amdefine": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/amdefine/-/amdefine-1.0.1.tgz", - "integrity": "sha1-SlKCrBZHKek2Gbz9OtFR+BfOkfU=", - "dev": true - }, - "ansi-escapes": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-3.1.0.tgz", - "integrity": "sha512-UgAb8H9D41AQnu/PbWlCofQVcnV4Gs2bBJi9eZPxfU/hgglFh3SMDMENRIqdr7H6XFnXdoknctFByVsCOotTVw==", - "dev": true - }, - "ansi-regex": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz", - "integrity": "sha1-w7M6te42DYbg5ijwRorn7yfWVN8=", - "dev": true - }, - "ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "dev": true, - "requires": { - "color-convert": "^1.9.0" - } - }, - "aproba": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/aproba/-/aproba-1.2.0.tgz", - "integrity": "sha512-Y9J6ZjXtoYh8RnXVCMOU/ttDmk1aBjunq9vO0ta5x85WDQiQfUF9sIPBITdbiiIVcBo03Hi3jMxigBtsddlXRw==", - "dev": true - }, - "are-we-there-yet": { - "version": "1.1.5", - "resolved": "https://registry.npmjs.org/are-we-there-yet/-/are-we-there-yet-1.1.5.tgz", - "integrity": "sha512-5hYdAkZlcG8tOLujVDTgCT+uPX0VnpAH28gWsLfzpXYm7wP6mp5Q/gYyR7YQ0cKVJcXJnl3j2kpBan13PtQf6w==", - "dev": true, - "requires": { - "delegates": "^1.0.0", - "readable-stream": "^2.0.6" - } - }, - "array-find-index": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/array-find-index/-/array-find-index-1.0.2.tgz", - "integrity": "sha1-3wEKoSh+Fku9pvlyOwqWoexBh6E=", - "dev": true - }, - "array-ify": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/array-ify/-/array-ify-1.0.0.tgz", - "integrity": "sha1-nlKHYrSpBmrRY6aWKjZEGOlibs4=", - "dev": true - }, - "array-union": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/array-union/-/array-union-1.0.2.tgz", - "integrity": "sha1-mjRBDk9OPaI96jdb5b5w8kd47Dk=", - "dev": true, - "requires": { - "array-uniq": "^1.0.1" - } - }, - "array-uniq": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/array-uniq/-/array-uniq-1.0.3.tgz", - "integrity": "sha1-r2rId6Jcx/dOBYiUdThY39sk/bY=", - "dev": true - }, - "arrify": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/arrify/-/arrify-1.0.1.tgz", - "integrity": "sha1-iYUI2iIm84DfkEcoRWhJwVAaSw0=", - "dev": true - }, - "async": { - "version": "1.5.2", - "resolved": "https://registry.npmjs.org/async/-/async-1.5.2.tgz", - "integrity": "sha1-7GphrlZIDAw8skHJVhjiCJL5Zyo=", - "dev": true - }, - "balanced-match": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.0.tgz", - "integrity": "sha1-ibTRmasr7kneFk6gK4nORi1xt2c=", - "dev": true - }, - "brace-expansion": { - "version": "1.1.11", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", - "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", - "dev": true, - "requires": { - "balanced-match": "^1.0.0", - "concat-map": "0.0.1" - } - }, - "buffer-from": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.1.tgz", - "integrity": "sha512-MQcXEUbCKtEo7bhqEs6560Hyd4XaovZlO/k9V3hjVUF/zwW7KBVdSK4gIt/bzwS9MbR5qob+F5jusZsb0YQK2A==", - "dev": true - }, - "builtin-modules": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/builtin-modules/-/builtin-modules-1.1.1.tgz", - "integrity": "sha1-Jw8HbFpywC9bZaR9+Uxf46J4iS8=", - "dev": true - }, - "byline": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/byline/-/byline-5.0.0.tgz", - "integrity": "sha1-dBxSFkaOrcRXsDQQEYrXfejB3bE=", - "dev": true - }, - "camelcase": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-1.2.1.tgz", - "integrity": "sha1-m7UwTS4LVmmLLHWLCKPqqdqlijk=", - "dev": true, - "optional": true - }, - "camelcase-keys": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/camelcase-keys/-/camelcase-keys-4.2.0.tgz", - "integrity": "sha1-oqpfsa9oh1glnDLBQUJteJI7m3c=", - "dev": true, - "requires": { - "camelcase": "^4.1.0", - "map-obj": "^2.0.0", - "quick-lru": "^1.0.0" - }, - "dependencies": { - "camelcase": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-4.1.0.tgz", - "integrity": "sha1-1UVjW+HjPFQmScaRc+Xeas+uNN0=", - "dev": true - } - } - }, - "capture-stack-trace": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/capture-stack-trace/-/capture-stack-trace-1.0.0.tgz", - "integrity": "sha1-Sm+gc5nCa7pH8LJJa00PtAjFVQ0=", - "dev": true - }, - "center-align": { - "version": "0.1.3", - "resolved": "https://registry.npmjs.org/center-align/-/center-align-0.1.3.tgz", - "integrity": "sha1-qg0yYptu6XIgBBHL1EYckHvCt60=", - "dev": true, - "optional": true, - "requires": { - "align-text": "^0.1.3", - "lazy-cache": "^1.0.3" - } - }, - "chalk": { - "version": "2.4.1", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.1.tgz", - "integrity": "sha512-ObN6h1v2fTJSmUXoS3nMQ92LbDK9be4TV+6G+omQlGJFdcUX5heKi1LZ1YnRMIgwTLEj3E24bT6tYni50rlCfQ==", - "dev": true, - "requires": { - "ansi-styles": "^3.2.1", - "escape-string-regexp": "^1.0.5", - "supports-color": "^5.3.0" - } - }, - "chardet": { - "version": "0.4.2", - "resolved": "https://registry.npmjs.org/chardet/-/chardet-0.4.2.tgz", - "integrity": "sha1-tUc7M9yXxCTl2Y3IfVXU2KKci/I=", - "dev": true - }, - "ci-info": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/ci-info/-/ci-info-1.1.3.tgz", - "integrity": "sha512-SK/846h/Rcy8q9Z9CAwGBLfCJ6EkjJWdpelWDufQpqVDYq2Wnnv8zlSO6AMQap02jvhVruKKpEtQOufo3pFhLg==", - "dev": true - }, - "cli-cursor": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/cli-cursor/-/cli-cursor-2.1.0.tgz", - "integrity": "sha1-s12sN2R5+sw+lHR9QdDQ9SOP/LU=", - "dev": true, - "requires": { - "restore-cursor": "^2.0.0" - } - }, - "cli-width": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/cli-width/-/cli-width-2.2.0.tgz", - "integrity": "sha1-/xnt6Kml5XkyQUewwR8PvLq+1jk=", - "dev": true - }, - "cliui": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/cliui/-/cliui-2.1.0.tgz", - "integrity": "sha1-S0dXYP+AJkx2LDoXGQMukcf+oNE=", + "lerna": { + "version": "2.11.0", + "resolved": "https://registry.npmjs.org/lerna/-/lerna-2.11.0.tgz", + "integrity": "sha512-kgM6zwe2P2tR30MYvgiLLW+9buFCm6E7o8HnRlhTgm70WVBvXVhydqv+q/MF2HrVZkCawfVtCfetyQmtd4oHhQ==", "dev": true, - "optional": true, "requires": { - "center-align": "^0.1.1", - "right-align": "^0.1.1", - "wordwrap": "0.0.2" + "async": "^1.5.0", + "chalk": "^2.1.0", + "cmd-shim": "^2.0.2", + "columnify": "^1.5.4", + "command-join": "^2.0.0", + "conventional-changelog-cli": "^1.3.13", + "conventional-recommended-bump": "^1.2.1", + "dedent": "^0.7.0", + "execa": "^0.8.0", + "find-up": "^2.1.0", + "fs-extra": "^4.0.1", + "get-port": "^3.2.0", + "glob": "^7.1.2", + "glob-parent": "^3.1.0", + "globby": "^6.1.0", + "graceful-fs": "^4.1.11", + "hosted-git-info": "^2.5.0", + "inquirer": "^3.2.2", + "is-ci": "^1.0.10", + "load-json-file": "^4.0.0", + "lodash": "^4.17.4", + "minimatch": "^3.0.4", + "npmlog": "^4.1.2", + "p-finally": "^1.0.0", + "package-json": "^4.0.1", + "path-exists": "^3.0.0", + "read-cmd-shim": "^1.0.1", + "read-pkg": "^3.0.0", + "rimraf": "^2.6.1", + "safe-buffer": "^5.1.1", + "semver": "^5.4.1", + "signal-exit": "^3.0.2", + "slash": "^1.0.0", + "strong-log-transformer": "^1.0.6", + "temp-write": "^3.3.0", + "write-file-atomic": "^2.3.0", + "write-json-file": "^2.2.0", + "write-pkg": "^3.1.0", + "yargs": "^8.0.2" }, "dependencies": { - "wordwrap": { - "version": "0.0.2", - "resolved": "https://registry.npmjs.org/wordwrap/-/wordwrap-0.0.2.tgz", - "integrity": "sha1-t5Zpu0LstAn4PVg8rVLKF+qhZD8=", + "JSONStream": { + "version": "1.3.3", + "resolved": "https://registry.npmjs.org/JSONStream/-/JSONStream-1.3.3.tgz", + "integrity": "sha512-3Sp6WZZ/lXl+nTDoGpGWHEpTnnC6X5fnkolYZR6nwIfzbxxvA8utPWe1gCt7i0m9uVGsSz2IS8K8mJ7HmlduMg==", "dev": true, - "optional": true - } - } - }, - "clone": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/clone/-/clone-1.0.4.tgz", - "integrity": "sha1-2jCcwmPfFZlMaIypAheco8fNfH4=", - "dev": true - }, - "cmd-shim": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/cmd-shim/-/cmd-shim-2.0.2.tgz", - "integrity": "sha1-b8vamUg6j9FdfTChlspp1oii79s=", - "dev": true, - "requires": { - "graceful-fs": "^4.1.2", - "mkdirp": "~0.5.0" - } - }, - "code-point-at": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/code-point-at/-/code-point-at-1.1.0.tgz", - "integrity": "sha1-DQcLTQQ6W+ozovGkDi7bPZpMz3c=", - "dev": true - }, - "color-convert": { - "version": "1.9.2", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.2.tgz", - "integrity": "sha512-3NUJZdhMhcdPn8vJ9v2UQJoH0qqoGUkYTgFEPZaPjEtwmmKUfNV46zZmgB2M5M4DCEQHMaCfWHCxiBflLm04Tg==", - "dev": true, - "requires": { - "color-name": "1.1.1" - } - }, - "color-name": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.1.tgz", - "integrity": "sha1-SxQVMEz1ACjqgWQ2Q72C6gWANok=", - "dev": true - }, - "columnify": { - "version": "1.5.4", - "resolved": "https://registry.npmjs.org/columnify/-/columnify-1.5.4.tgz", - "integrity": "sha1-Rzfd8ce2mop8NAVweC6UfuyOeLs=", - "dev": true, - "requires": { - "strip-ansi": "^3.0.0", - "wcwidth": "^1.0.0" - } - }, - "command-join": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/command-join/-/command-join-2.0.0.tgz", - "integrity": "sha1-Uui5hPSHLZUv8b3IuYOX0nxxRM8=", - "dev": true - }, - "compare-func": { - "version": "1.3.2", - "resolved": "https://registry.npmjs.org/compare-func/-/compare-func-1.3.2.tgz", - "integrity": "sha1-md0LpFfh+bxyKxLAjsM+6rMfpkg=", - "dev": true, - "requires": { - "array-ify": "^1.0.0", - "dot-prop": "^3.0.0" - } - }, - "concat-map": { - "version": "0.0.1", - "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", - "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=", - "dev": true - }, - "concat-stream": { - "version": "1.6.2", - "resolved": "https://registry.npmjs.org/concat-stream/-/concat-stream-1.6.2.tgz", - "integrity": "sha512-27HBghJxjiZtIk3Ycvn/4kbJk/1uZuJFfuPEns6LaEvpvG1f0hTea8lilrouyo9mVc2GWdcEZ8OLoGmSADlrCw==", - "dev": true, - "requires": { - "buffer-from": "^1.0.0", - "inherits": "^2.0.3", - "readable-stream": "^2.2.2", - "typedarray": "^0.0.6" - } - }, - "console-control-strings": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/console-control-strings/-/console-control-strings-1.1.0.tgz", - "integrity": "sha1-PXz0Rk22RG6mRL9LOVB/mFEAjo4=", - "dev": true - }, - "conventional-changelog": { - "version": "1.1.24", - "resolved": "https://registry.npmjs.org/conventional-changelog/-/conventional-changelog-1.1.24.tgz", - "integrity": "sha512-2WcSUst4Y3Z4hHvoMTWXMJr/DmgVdLiMOVY1Kak2LfFz+GIz2KDp5naqbFesYbfXPmaZ5p491dO0FWZIJoJw1Q==", - "dev": true, - "requires": { - "conventional-changelog-angular": "^1.6.6", - "conventional-changelog-atom": "^0.2.8", - "conventional-changelog-codemirror": "^0.3.8", - "conventional-changelog-core": "^2.0.11", - "conventional-changelog-ember": "^0.3.12", - "conventional-changelog-eslint": "^1.0.9", - "conventional-changelog-express": "^0.3.6", - "conventional-changelog-jquery": "^0.1.0", - "conventional-changelog-jscs": "^0.1.0", - "conventional-changelog-jshint": "^0.3.8", - "conventional-changelog-preset-loader": "^1.1.8" - } - }, - "conventional-changelog-angular": { - "version": "1.6.6", - "resolved": "https://registry.npmjs.org/conventional-changelog-angular/-/conventional-changelog-angular-1.6.6.tgz", - "integrity": "sha512-suQnFSqCxRwyBxY68pYTsFkG0taIdinHLNEAX5ivtw8bCRnIgnpvcHmlR/yjUyZIrNPYAoXlY1WiEKWgSE4BNg==", - "dev": true, - "requires": { - "compare-func": "^1.3.1", - "q": "^1.5.1" - } - }, - "conventional-changelog-atom": { - "version": "0.2.8", - "resolved": "https://registry.npmjs.org/conventional-changelog-atom/-/conventional-changelog-atom-0.2.8.tgz", - "integrity": "sha512-8pPZqhMbrnltNBizjoDCb/Sz85KyUXNDQxuAEYAU5V/eHn0okMBVjqc8aHWYpHrytyZWvMGbayOlDv7i8kEf6g==", - "dev": true, - "requires": { - "q": "^1.5.1" - } - }, - "conventional-changelog-cli": { - "version": "1.3.22", - "resolved": "https://registry.npmjs.org/conventional-changelog-cli/-/conventional-changelog-cli-1.3.22.tgz", - "integrity": "sha512-pnjdIJbxjkZ5VdAX/H1wndr1G10CY8MuZgnXuJhIHglOXfIrXygb7KZC836GW9uo1u8PjEIvIw/bKX0lOmOzZg==", - "dev": true, - "requires": { - "add-stream": "^1.0.0", - "conventional-changelog": "^1.1.24", - "lodash": "^4.2.1", - "meow": "^4.0.0", - "tempfile": "^1.1.1" - } - }, - "conventional-changelog-codemirror": { - "version": "0.3.8", - "resolved": "https://registry.npmjs.org/conventional-changelog-codemirror/-/conventional-changelog-codemirror-0.3.8.tgz", - "integrity": "sha512-3HFZKtBXTaUCHvz7ai6nk2+psRIkldDoNzCsom0egDtVmPsvvHZkzjynhdQyULfacRSsBTaiQ0ol6nBOL4dDiQ==", - "dev": true, - "requires": { - "q": "^1.5.1" - } - }, - "conventional-changelog-core": { - "version": "2.0.11", - "resolved": "https://registry.npmjs.org/conventional-changelog-core/-/conventional-changelog-core-2.0.11.tgz", - "integrity": "sha512-HvTE6RlqeEZ/NFPtQeFLsIDOLrGP3bXYr7lFLMhCVsbduF1MXIe8OODkwMFyo1i9ku9NWBwVnVn0jDmIFXjDRg==", - "dev": true, - "requires": { - "conventional-changelog-writer": "^3.0.9", - "conventional-commits-parser": "^2.1.7", - "dateformat": "^3.0.0", - "get-pkg-repo": "^1.0.0", - "git-raw-commits": "^1.3.6", - "git-remote-origin-url": "^2.0.0", - "git-semver-tags": "^1.3.6", - "lodash": "^4.2.1", - "normalize-package-data": "^2.3.5", - "q": "^1.5.1", - "read-pkg": "^1.1.0", - "read-pkg-up": "^1.0.1", - "through2": "^2.0.0" - }, - "dependencies": { - "load-json-file": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/load-json-file/-/load-json-file-1.1.0.tgz", - "integrity": "sha1-lWkFcI1YtLq0wiYbBPWfMcmTdMA=", + "requires": { + "jsonparse": "^1.2.0", + "through": ">=2.2.7 <3" + } + }, + "add-stream": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/add-stream/-/add-stream-1.0.0.tgz", + "integrity": "sha1-anmQQ3ynNtXhKI25K9MmbV9csqo=", + "dev": true + }, + "align-text": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/align-text/-/align-text-0.1.4.tgz", + "integrity": "sha1-DNkKVhCT810KmSVsIrcGlDP60Rc=", "dev": true, "requires": { - "graceful-fs": "^4.1.2", - "parse-json": "^2.2.0", - "pify": "^2.0.0", - "pinkie-promise": "^2.0.0", - "strip-bom": "^2.0.0" + "kind-of": "^3.0.2", + "longest": "^1.0.1", + "repeat-string": "^1.5.2" } }, - "parse-json": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-2.2.0.tgz", - "integrity": "sha1-9ID0BDTvgHQfhGkJn43qGPVaTck=", + "amdefine": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/amdefine/-/amdefine-1.0.1.tgz", + "integrity": "sha1-SlKCrBZHKek2Gbz9OtFR+BfOkfU=", + "dev": true + }, + "ansi-escapes": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-3.1.0.tgz", + "integrity": "sha512-UgAb8H9D41AQnu/PbWlCofQVcnV4Gs2bBJi9eZPxfU/hgglFh3SMDMENRIqdr7H6XFnXdoknctFByVsCOotTVw==", + "dev": true + }, + "ansi-regex": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz", + "integrity": "sha1-w7M6te42DYbg5ijwRorn7yfWVN8=", + "dev": true + }, + "ansi-styles": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", + "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", "dev": true, "requires": { - "error-ex": "^1.2.0" + "color-convert": "^1.9.0" } }, - "path-type": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/path-type/-/path-type-1.1.0.tgz", - "integrity": "sha1-WcRPfuSR2nBNpBXaWkBwuk+P5EE=", + "aproba": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/aproba/-/aproba-1.2.0.tgz", + "integrity": "sha512-Y9J6ZjXtoYh8RnXVCMOU/ttDmk1aBjunq9vO0ta5x85WDQiQfUF9sIPBITdbiiIVcBo03Hi3jMxigBtsddlXRw==", + "dev": true + }, + "are-we-there-yet": { + "version": "1.1.5", + "resolved": "https://registry.npmjs.org/are-we-there-yet/-/are-we-there-yet-1.1.5.tgz", + "integrity": "sha512-5hYdAkZlcG8tOLujVDTgCT+uPX0VnpAH28gWsLfzpXYm7wP6mp5Q/gYyR7YQ0cKVJcXJnl3j2kpBan13PtQf6w==", "dev": true, "requires": { - "graceful-fs": "^4.1.2", - "pify": "^2.0.0", - "pinkie-promise": "^2.0.0" + "delegates": "^1.0.0", + "readable-stream": "^2.0.6" } }, - "pify": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz", - "integrity": "sha1-7RQaasBDqEnqWISY59yosVMw6Qw=", + "array-find-index": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/array-find-index/-/array-find-index-1.0.2.tgz", + "integrity": "sha1-3wEKoSh+Fku9pvlyOwqWoexBh6E=", "dev": true }, - "read-pkg": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-1.1.0.tgz", - "integrity": "sha1-9f+qXs0pyzHAR0vKfXVra7KePyg=", + "array-ify": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/array-ify/-/array-ify-1.0.0.tgz", + "integrity": "sha1-nlKHYrSpBmrRY6aWKjZEGOlibs4=", + "dev": true + }, + "array-union": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/array-union/-/array-union-1.0.2.tgz", + "integrity": "sha1-mjRBDk9OPaI96jdb5b5w8kd47Dk=", "dev": true, "requires": { - "load-json-file": "^1.0.0", - "normalize-package-data": "^2.3.2", - "path-type": "^1.0.0" + "array-uniq": "^1.0.1" } }, - "strip-bom": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-2.0.0.tgz", - "integrity": "sha1-YhmoVhZSBJHzV4i9vxRHqZx+aw4=", + "array-uniq": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/array-uniq/-/array-uniq-1.0.3.tgz", + "integrity": "sha1-r2rId6Jcx/dOBYiUdThY39sk/bY=", + "dev": true + }, + "arrify": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/arrify/-/arrify-1.0.1.tgz", + "integrity": "sha1-iYUI2iIm84DfkEcoRWhJwVAaSw0=", + "dev": true + }, + "async": { + "version": "1.5.2", + "resolved": "https://registry.npmjs.org/async/-/async-1.5.2.tgz", + "integrity": "sha1-7GphrlZIDAw8skHJVhjiCJL5Zyo=", + "dev": true + }, + "balanced-match": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.0.tgz", + "integrity": "sha1-ibTRmasr7kneFk6gK4nORi1xt2c=", + "dev": true + }, + "brace-expansion": { + "version": "1.1.11", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", + "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", "dev": true, "requires": { - "is-utf8": "^0.2.0" + "balanced-match": "^1.0.0", + "concat-map": "0.0.1" } - } - } - }, - "conventional-changelog-ember": { - "version": "0.3.12", - "resolved": "https://registry.npmjs.org/conventional-changelog-ember/-/conventional-changelog-ember-0.3.12.tgz", - "integrity": "sha512-mmJzA7uzbrOqeF89dMMi6z17O07ORTXlTMArnLG9ZTX4oLaKNolUlxFUFlFm9JUoVWajVpaHQWjxH1EOQ+ARoQ==", - "dev": true, - "requires": { - "q": "^1.5.1" - } - }, - "conventional-changelog-eslint": { - "version": "1.0.9", - "resolved": "https://registry.npmjs.org/conventional-changelog-eslint/-/conventional-changelog-eslint-1.0.9.tgz", - "integrity": "sha512-h87nfVh2fdk9fJIvz26wCBsbDC/KxqCc5wSlNMZbXcARtbgNbNDIF7Y7ctokFdnxkzVdaHsbINkh548T9eBA7Q==", - "dev": true, - "requires": { - "q": "^1.5.1" - } - }, - "conventional-changelog-express": { - "version": "0.3.6", - "resolved": "https://registry.npmjs.org/conventional-changelog-express/-/conventional-changelog-express-0.3.6.tgz", - "integrity": "sha512-3iWVtBJZ9RnRnZveNDzOD8QRn6g6vUif0qVTWWyi5nUIAbuN1FfPVyKdAlJJfp5Im+dE8Kiy/d2SpaX/0X678Q==", - "dev": true, - "requires": { - "q": "^1.5.1" - } - }, - "conventional-changelog-jquery": { - "version": "0.1.0", - "resolved": "https://registry.npmjs.org/conventional-changelog-jquery/-/conventional-changelog-jquery-0.1.0.tgz", - "integrity": "sha1-Agg5cWLjhGmG5xJztsecW1+A9RA=", - "dev": true, - "requires": { - "q": "^1.4.1" - } - }, - "conventional-changelog-jscs": { - "version": "0.1.0", - "resolved": "https://registry.npmjs.org/conventional-changelog-jscs/-/conventional-changelog-jscs-0.1.0.tgz", - "integrity": "sha1-BHnrRDzH1yxYvwvPDvHURKkvDlw=", - "dev": true, - "requires": { - "q": "^1.4.1" - } - }, - "conventional-changelog-jshint": { - "version": "0.3.8", - "resolved": "https://registry.npmjs.org/conventional-changelog-jshint/-/conventional-changelog-jshint-0.3.8.tgz", - "integrity": "sha512-hn9QU4ZI/5V50wKPJNPGT4gEWgiBFpV6adieILW4MaUFynuDYOvQ71EMSj3EznJyKi/KzuXpc9dGmX8njZMjig==", - "dev": true, - "requires": { - "compare-func": "^1.3.1", - "q": "^1.5.1" - } - }, - "conventional-changelog-preset-loader": { - "version": "1.1.8", - "resolved": "https://registry.npmjs.org/conventional-changelog-preset-loader/-/conventional-changelog-preset-loader-1.1.8.tgz", - "integrity": "sha512-MkksM4G4YdrMlT2MbTsV2F6LXu/hZR0Tc/yenRrDIKRwBl/SP7ER4ZDlglqJsCzLJi4UonBc52Bkm5hzrOVCcw==", - "dev": true - }, - "conventional-changelog-writer": { - "version": "3.0.9", - "resolved": "https://registry.npmjs.org/conventional-changelog-writer/-/conventional-changelog-writer-3.0.9.tgz", - "integrity": "sha512-n9KbsxlJxRQsUnK6wIBRnARacvNnN4C/nxnxCkH+B/R1JS2Fa+DiP1dU4I59mEDEjgnFaN2+9wr1P1s7GYB5/Q==", - "dev": true, - "requires": { - "compare-func": "^1.3.1", - "conventional-commits-filter": "^1.1.6", - "dateformat": "^3.0.0", - "handlebars": "^4.0.2", - "json-stringify-safe": "^5.0.1", - "lodash": "^4.2.1", - "meow": "^4.0.0", - "semver": "^5.5.0", - "split": "^1.0.0", - "through2": "^2.0.0" - } - }, - "conventional-commits-filter": { - "version": "1.1.6", - "resolved": "https://registry.npmjs.org/conventional-commits-filter/-/conventional-commits-filter-1.1.6.tgz", - "integrity": "sha512-KcDgtCRKJCQhyk6VLT7zR+ZOyCnerfemE/CsR3iQpzRRFbLEs0Y6rwk3mpDvtOh04X223z+1xyJ582Stfct/0Q==", - "dev": true, - "requires": { - "is-subset": "^0.1.1", - "modify-values": "^1.0.0" - } - }, - "conventional-commits-parser": { - "version": "2.1.7", - "resolved": "https://registry.npmjs.org/conventional-commits-parser/-/conventional-commits-parser-2.1.7.tgz", - "integrity": "sha512-BoMaddIEJ6B4QVMSDu9IkVImlGOSGA1I2BQyOZHeLQ6qVOJLcLKn97+fL6dGbzWEiqDzfH4OkcveULmeq2MHFQ==", - "dev": true, - "requires": { - "JSONStream": "^1.0.4", - "is-text-path": "^1.0.0", - "lodash": "^4.2.1", - "meow": "^4.0.0", - "split2": "^2.0.0", - "through2": "^2.0.0", - "trim-off-newlines": "^1.0.0" - } - }, - "conventional-recommended-bump": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/conventional-recommended-bump/-/conventional-recommended-bump-1.2.1.tgz", - "integrity": "sha512-oJjG6DkRgtnr/t/VrPdzmf4XZv8c4xKVJrVT4zrSHd92KEL+EYxSbYoKq8lQ7U5yLMw7130wrcQTLRjM/T+d4w==", - "dev": true, - "requires": { - "concat-stream": "^1.4.10", - "conventional-commits-filter": "^1.1.1", - "conventional-commits-parser": "^2.1.1", - "git-raw-commits": "^1.3.0", - "git-semver-tags": "^1.3.0", - "meow": "^3.3.0", - "object-assign": "^4.0.1" - }, - "dependencies": { - "camelcase": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-2.1.1.tgz", - "integrity": "sha1-fB0W1nmhu+WcoCys7PsBHiAfWh8=", + }, + "buffer-from": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.1.tgz", + "integrity": "sha512-MQcXEUbCKtEo7bhqEs6560Hyd4XaovZlO/k9V3hjVUF/zwW7KBVdSK4gIt/bzwS9MbR5qob+F5jusZsb0YQK2A==", + "dev": true + }, + "builtin-modules": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/builtin-modules/-/builtin-modules-1.1.1.tgz", + "integrity": "sha1-Jw8HbFpywC9bZaR9+Uxf46J4iS8=", + "dev": true + }, + "byline": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/byline/-/byline-5.0.0.tgz", + "integrity": "sha1-dBxSFkaOrcRXsDQQEYrXfejB3bE=", "dev": true }, + "camelcase": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-1.2.1.tgz", + "integrity": "sha1-m7UwTS4LVmmLLHWLCKPqqdqlijk=", + "dev": true, + "optional": true + }, "camelcase-keys": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/camelcase-keys/-/camelcase-keys-2.1.0.tgz", - "integrity": "sha1-MIvur/3ygRkFHvodkyITyRuPkuc=", + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/camelcase-keys/-/camelcase-keys-4.2.0.tgz", + "integrity": "sha1-oqpfsa9oh1glnDLBQUJteJI7m3c=", "dev": true, "requires": { - "camelcase": "^2.0.0", - "map-obj": "^1.0.0" + "camelcase": "^4.1.0", + "map-obj": "^2.0.0", + "quick-lru": "^1.0.0" + }, + "dependencies": { + "camelcase": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-4.1.0.tgz", + "integrity": "sha1-1UVjW+HjPFQmScaRc+Xeas+uNN0=", + "dev": true + } } }, - "indent-string": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/indent-string/-/indent-string-2.1.0.tgz", - "integrity": "sha1-ji1INIdCEhtKghi3oTfppSBJ3IA=", + "capture-stack-trace": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/capture-stack-trace/-/capture-stack-trace-1.0.0.tgz", + "integrity": "sha1-Sm+gc5nCa7pH8LJJa00PtAjFVQ0=", + "dev": true + }, + "center-align": { + "version": "0.1.3", + "resolved": "https://registry.npmjs.org/center-align/-/center-align-0.1.3.tgz", + "integrity": "sha1-qg0yYptu6XIgBBHL1EYckHvCt60=", + "dev": true, + "optional": true, + "requires": { + "align-text": "^0.1.3", + "lazy-cache": "^1.0.3" + } + }, + "chalk": { + "version": "2.4.1", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.1.tgz", + "integrity": "sha512-ObN6h1v2fTJSmUXoS3nMQ92LbDK9be4TV+6G+omQlGJFdcUX5heKi1LZ1YnRMIgwTLEj3E24bT6tYni50rlCfQ==", "dev": true, "requires": { - "repeating": "^2.0.0" + "ansi-styles": "^3.2.1", + "escape-string-regexp": "^1.0.5", + "supports-color": "^5.3.0" } }, - "map-obj": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/map-obj/-/map-obj-1.0.1.tgz", - "integrity": "sha1-2TPOuSBdgr3PSIb2dCvcK03qFG0=", + "chardet": { + "version": "0.4.2", + "resolved": "https://registry.npmjs.org/chardet/-/chardet-0.4.2.tgz", + "integrity": "sha1-tUc7M9yXxCTl2Y3IfVXU2KKci/I=", "dev": true }, - "meow": { - "version": "3.7.0", - "resolved": "https://registry.npmjs.org/meow/-/meow-3.7.0.tgz", - "integrity": "sha1-cstmi0JSKCkKu/qFaJJYcwioAfs=", + "ci-info": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/ci-info/-/ci-info-1.1.3.tgz", + "integrity": "sha512-SK/846h/Rcy8q9Z9CAwGBLfCJ6EkjJWdpelWDufQpqVDYq2Wnnv8zlSO6AMQap02jvhVruKKpEtQOufo3pFhLg==", + "dev": true + }, + "cli-cursor": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/cli-cursor/-/cli-cursor-2.1.0.tgz", + "integrity": "sha1-s12sN2R5+sw+lHR9QdDQ9SOP/LU=", "dev": true, "requires": { - "camelcase-keys": "^2.0.0", - "decamelize": "^1.1.2", - "loud-rejection": "^1.0.0", - "map-obj": "^1.0.1", - "minimist": "^1.1.3", - "normalize-package-data": "^2.3.4", - "object-assign": "^4.0.1", - "read-pkg-up": "^1.0.1", - "redent": "^1.0.0", - "trim-newlines": "^1.0.0" + "restore-cursor": "^2.0.0" } }, - "minimist": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.0.tgz", - "integrity": "sha1-o1AIsg9BOD7sH7kU9M1d95omQoQ=", + "cli-width": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/cli-width/-/cli-width-2.2.0.tgz", + "integrity": "sha1-/xnt6Kml5XkyQUewwR8PvLq+1jk=", "dev": true }, - "redent": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/redent/-/redent-1.0.0.tgz", - "integrity": "sha1-z5Fqsf1fHxbfsggi3W7H9zDCr94=", + "cliui": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/cliui/-/cliui-2.1.0.tgz", + "integrity": "sha1-S0dXYP+AJkx2LDoXGQMukcf+oNE=", "dev": true, + "optional": true, "requires": { - "indent-string": "^2.1.0", - "strip-indent": "^1.0.1" + "center-align": "^0.1.1", + "right-align": "^0.1.1", + "wordwrap": "0.0.2" + }, + "dependencies": { + "wordwrap": { + "version": "0.0.2", + "resolved": "https://registry.npmjs.org/wordwrap/-/wordwrap-0.0.2.tgz", + "integrity": "sha1-t5Zpu0LstAn4PVg8rVLKF+qhZD8=", + "dev": true, + "optional": true + } } }, - "strip-indent": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/strip-indent/-/strip-indent-1.0.1.tgz", - "integrity": "sha1-DHlipq3vp7vUrDZkYKY4VSrhoKI=", + "clone": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/clone/-/clone-1.0.4.tgz", + "integrity": "sha1-2jCcwmPfFZlMaIypAheco8fNfH4=", + "dev": true + }, + "cmd-shim": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/cmd-shim/-/cmd-shim-2.0.2.tgz", + "integrity": "sha1-b8vamUg6j9FdfTChlspp1oii79s=", "dev": true, "requires": { - "get-stdin": "^4.0.1" + "graceful-fs": "^4.1.2", + "mkdirp": "~0.5.0" } }, - "trim-newlines": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/trim-newlines/-/trim-newlines-1.0.0.tgz", - "integrity": "sha1-WIeWa7WCpFA6QetST301ARgVphM=", - "dev": true - } - } - }, - "core-util-is": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz", - "integrity": "sha1-tf1UIgqivFq1eqtxQMlAdUUDwac=", - "dev": true - }, - "create-error-class": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/create-error-class/-/create-error-class-3.0.2.tgz", - "integrity": "sha1-Br56vvlHo/FKMP1hBnHUAbyot7Y=", - "dev": true, - "requires": { - "capture-stack-trace": "^1.0.0" - } - }, - "cross-spawn": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-5.1.0.tgz", - "integrity": "sha1-6L0O/uWPz/b4+UUQoKVUu/ojVEk=", - "dev": true, - "requires": { - "lru-cache": "^4.0.1", - "shebang-command": "^1.2.0", - "which": "^1.2.9" - } - }, - "currently-unhandled": { - "version": "0.4.1", - "resolved": "https://registry.npmjs.org/currently-unhandled/-/currently-unhandled-0.4.1.tgz", - "integrity": "sha1-mI3zP+qxke95mmE2nddsF635V+o=", - "dev": true, - "requires": { - "array-find-index": "^1.0.1" - } - }, - "dargs": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/dargs/-/dargs-4.1.0.tgz", - "integrity": "sha1-A6nbtLXC8Tm/FK5T8LiipqhvThc=", - "dev": true, - "requires": { - "number-is-nan": "^1.0.0" - } - }, - "dateformat": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/dateformat/-/dateformat-3.0.3.tgz", - "integrity": "sha512-jyCETtSl3VMZMWeRo7iY1FL19ges1t55hMo5yaam4Jrsm5EPL89UQkoQRyiI+Yf4k8r2ZpdngkV8hr1lIdjb3Q==", - "dev": true - }, - "decamelize": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/decamelize/-/decamelize-1.2.0.tgz", - "integrity": "sha1-9lNNFRSCabIDUue+4m9QH5oZEpA=", - "dev": true - }, - "decamelize-keys": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/decamelize-keys/-/decamelize-keys-1.1.0.tgz", - "integrity": "sha1-0XGoeTMlKAfrPLYdwcFEXQeN8tk=", - "dev": true, - "requires": { - "decamelize": "^1.1.0", - "map-obj": "^1.0.0" - }, - "dependencies": { - "map-obj": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/map-obj/-/map-obj-1.0.1.tgz", - "integrity": "sha1-2TPOuSBdgr3PSIb2dCvcK03qFG0=", + "code-point-at": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/code-point-at/-/code-point-at-1.1.0.tgz", + "integrity": "sha1-DQcLTQQ6W+ozovGkDi7bPZpMz3c=", "dev": true - } - } - }, - "dedent": { - "version": "0.7.0", - "resolved": "https://registry.npmjs.org/dedent/-/dedent-0.7.0.tgz", - "integrity": "sha1-JJXduvbrh0q7Dhvp3yLS5aVEMmw=", - "dev": true - }, - "deep-extend": { - "version": "0.6.0", - "resolved": "https://registry.npmjs.org/deep-extend/-/deep-extend-0.6.0.tgz", - "integrity": "sha512-LOHxIOaPYdHlJRtCQfDIVZtfw/ufM8+rVj649RIHzcm/vGwQRXFt6OPqIFWsm2XEMrNIEtWR64sY1LEKD2vAOA==", - "dev": true - }, - "defaults": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/defaults/-/defaults-1.0.3.tgz", - "integrity": "sha1-xlYFHpgX2f8I7YgUd/P+QBnz730=", - "dev": true, - "requires": { - "clone": "^1.0.2" - } - }, - "delegates": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/delegates/-/delegates-1.0.0.tgz", - "integrity": "sha1-hMbhWbgZBP3KWaDvRM2HDTElD5o=", - "dev": true - }, - "detect-indent": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/detect-indent/-/detect-indent-5.0.0.tgz", - "integrity": "sha1-OHHMCmoALow+Wzz38zYmRnXwa50=", - "dev": true - }, - "dot-prop": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/dot-prop/-/dot-prop-3.0.0.tgz", - "integrity": "sha1-G3CK8JSknJoOfbyteQq6U52sEXc=", - "dev": true, - "requires": { - "is-obj": "^1.0.0" - } - }, - "duplexer": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/duplexer/-/duplexer-0.1.1.tgz", - "integrity": "sha1-rOb/gIwc5mtX0ev5eXessCM0z8E=", - "dev": true - }, - "duplexer3": { - "version": "0.1.4", - "resolved": "https://registry.npmjs.org/duplexer3/-/duplexer3-0.1.4.tgz", - "integrity": "sha1-7gHdHKwO08vH/b6jfcCo8c4ALOI=", - "dev": true - }, - "error-ex": { - "version": "1.3.2", - "resolved": "https://registry.npmjs.org/error-ex/-/error-ex-1.3.2.tgz", - "integrity": "sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==", - "dev": true, - "requires": { - "is-arrayish": "^0.2.1" - } - }, - "escape-string-regexp": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", - "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=", - "dev": true - }, - "execa": { - "version": "0.8.0", - "resolved": "https://registry.npmjs.org/execa/-/execa-0.8.0.tgz", - "integrity": "sha1-2NdrvBtVIX7RkP1t1J08d07PyNo=", - "dev": true, - "requires": { - "cross-spawn": "^5.0.1", - "get-stream": "^3.0.0", - "is-stream": "^1.1.0", - "npm-run-path": "^2.0.0", - "p-finally": "^1.0.0", - "signal-exit": "^3.0.0", - "strip-eof": "^1.0.0" - } - }, - "external-editor": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/external-editor/-/external-editor-2.2.0.tgz", - "integrity": "sha512-bSn6gvGxKt+b7+6TKEv1ZycHleA7aHhRHyAqJyp5pbUFuYYNIzpZnQDk7AsYckyWdEnTeAnay0aCy2aV6iTk9A==", - "dev": true, - "requires": { - "chardet": "^0.4.0", - "iconv-lite": "^0.4.17", - "tmp": "^0.0.33" - } - }, - "figures": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/figures/-/figures-2.0.0.tgz", - "integrity": "sha1-OrGi0qYsi/tDGgyUy3l6L84nyWI=", - "dev": true, - "requires": { - "escape-string-regexp": "^1.0.5" - } - }, - "find-up": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/find-up/-/find-up-2.1.0.tgz", - "integrity": "sha1-RdG35QbHF93UgndaK3eSCjwMV6c=", - "dev": true, - "requires": { - "locate-path": "^2.0.0" - } - }, - "fs-extra": { - "version": "4.0.3", - "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-4.0.3.tgz", - "integrity": "sha512-q6rbdDd1o2mAnQreO7YADIxf/Whx4AHBiRf6d+/cVT8h44ss+lHgxf1FemcqDnQt9X3ct4McHr+JMGlYSsK7Cg==", - "dev": true, - "requires": { - "graceful-fs": "^4.1.2", - "jsonfile": "^4.0.0", - "universalify": "^0.1.0" - } - }, - "fs.realpath": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", - "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=", - "dev": true - }, - "gauge": { - "version": "2.7.4", - "resolved": "https://registry.npmjs.org/gauge/-/gauge-2.7.4.tgz", - "integrity": "sha1-LANAXHU4w51+s3sxcCLjJfsBi/c=", - "dev": true, - "requires": { - "aproba": "^1.0.3", - "console-control-strings": "^1.0.0", - "has-unicode": "^2.0.0", - "object-assign": "^4.1.0", - "signal-exit": "^3.0.0", - "string-width": "^1.0.1", - "strip-ansi": "^3.0.1", - "wide-align": "^1.1.0" - }, - "dependencies": { - "is-fullwidth-code-point": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-1.0.0.tgz", - "integrity": "sha1-754xOG8DGn8NZDr4L95QxFfvAMs=", + }, + "color-convert": { + "version": "1.9.2", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.2.tgz", + "integrity": "sha512-3NUJZdhMhcdPn8vJ9v2UQJoH0qqoGUkYTgFEPZaPjEtwmmKUfNV46zZmgB2M5M4DCEQHMaCfWHCxiBflLm04Tg==", "dev": true, "requires": { - "number-is-nan": "^1.0.0" + "color-name": "1.1.1" } }, - "string-width": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-1.0.2.tgz", - "integrity": "sha1-EYvfW4zcUaKn5w0hHgfisLmxB9M=", + "color-name": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.1.tgz", + "integrity": "sha1-SxQVMEz1ACjqgWQ2Q72C6gWANok=", + "dev": true + }, + "columnify": { + "version": "1.5.4", + "resolved": "https://registry.npmjs.org/columnify/-/columnify-1.5.4.tgz", + "integrity": "sha1-Rzfd8ce2mop8NAVweC6UfuyOeLs=", "dev": true, "requires": { - "code-point-at": "^1.0.0", - "is-fullwidth-code-point": "^1.0.0", - "strip-ansi": "^3.0.0" + "strip-ansi": "^3.0.0", + "wcwidth": "^1.0.0" } - } - } - }, - "get-caller-file": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-1.0.3.tgz", - "integrity": "sha512-3t6rVToeoZfYSGd8YoLFR2DJkiQrIiUrGcjvFX2mDw3bn6k2OtwHN0TNCLbBO+w8qTvimhDkv+LSscbJY1vE6w==", - "dev": true - }, - "get-pkg-repo": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/get-pkg-repo/-/get-pkg-repo-1.4.0.tgz", - "integrity": "sha1-xztInAbYDMVTbCyFP54FIyBWly0=", - "dev": true, - "requires": { - "hosted-git-info": "^2.1.4", - "meow": "^3.3.0", - "normalize-package-data": "^2.3.0", - "parse-github-repo-url": "^1.3.0", - "through2": "^2.0.0" - }, - "dependencies": { - "camelcase": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-2.1.1.tgz", - "integrity": "sha1-fB0W1nmhu+WcoCys7PsBHiAfWh8=", + }, + "command-join": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/command-join/-/command-join-2.0.0.tgz", + "integrity": "sha1-Uui5hPSHLZUv8b3IuYOX0nxxRM8=", "dev": true }, - "camelcase-keys": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/camelcase-keys/-/camelcase-keys-2.1.0.tgz", - "integrity": "sha1-MIvur/3ygRkFHvodkyITyRuPkuc=", + "compare-func": { + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/compare-func/-/compare-func-1.3.2.tgz", + "integrity": "sha1-md0LpFfh+bxyKxLAjsM+6rMfpkg=", "dev": true, "requires": { - "camelcase": "^2.0.0", - "map-obj": "^1.0.0" + "array-ify": "^1.0.0", + "dot-prop": "^3.0.0" } }, - "indent-string": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/indent-string/-/indent-string-2.1.0.tgz", - "integrity": "sha1-ji1INIdCEhtKghi3oTfppSBJ3IA=", + "concat-map": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", + "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=", + "dev": true + }, + "concat-stream": { + "version": "1.6.2", + "resolved": "https://registry.npmjs.org/concat-stream/-/concat-stream-1.6.2.tgz", + "integrity": "sha512-27HBghJxjiZtIk3Ycvn/4kbJk/1uZuJFfuPEns6LaEvpvG1f0hTea8lilrouyo9mVc2GWdcEZ8OLoGmSADlrCw==", "dev": true, "requires": { - "repeating": "^2.0.0" + "buffer-from": "^1.0.0", + "inherits": "^2.0.3", + "readable-stream": "^2.2.2", + "typedarray": "^0.0.6" } }, - "map-obj": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/map-obj/-/map-obj-1.0.1.tgz", - "integrity": "sha1-2TPOuSBdgr3PSIb2dCvcK03qFG0=", + "console-control-strings": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/console-control-strings/-/console-control-strings-1.1.0.tgz", + "integrity": "sha1-PXz0Rk22RG6mRL9LOVB/mFEAjo4=", "dev": true }, - "meow": { - "version": "3.7.0", - "resolved": "https://registry.npmjs.org/meow/-/meow-3.7.0.tgz", - "integrity": "sha1-cstmi0JSKCkKu/qFaJJYcwioAfs=", + "conventional-changelog": { + "version": "1.1.24", + "resolved": "https://registry.npmjs.org/conventional-changelog/-/conventional-changelog-1.1.24.tgz", + "integrity": "sha512-2WcSUst4Y3Z4hHvoMTWXMJr/DmgVdLiMOVY1Kak2LfFz+GIz2KDp5naqbFesYbfXPmaZ5p491dO0FWZIJoJw1Q==", "dev": true, "requires": { - "camelcase-keys": "^2.0.0", - "decamelize": "^1.1.2", - "loud-rejection": "^1.0.0", - "map-obj": "^1.0.1", - "minimist": "^1.1.3", - "normalize-package-data": "^2.3.4", - "object-assign": "^4.0.1", + "conventional-changelog-angular": "^1.6.6", + "conventional-changelog-atom": "^0.2.8", + "conventional-changelog-codemirror": "^0.3.8", + "conventional-changelog-core": "^2.0.11", + "conventional-changelog-ember": "^0.3.12", + "conventional-changelog-eslint": "^1.0.9", + "conventional-changelog-express": "^0.3.6", + "conventional-changelog-jquery": "^0.1.0", + "conventional-changelog-jscs": "^0.1.0", + "conventional-changelog-jshint": "^0.3.8", + "conventional-changelog-preset-loader": "^1.1.8" + } + }, + "conventional-changelog-angular": { + "version": "1.6.6", + "resolved": "https://registry.npmjs.org/conventional-changelog-angular/-/conventional-changelog-angular-1.6.6.tgz", + "integrity": "sha512-suQnFSqCxRwyBxY68pYTsFkG0taIdinHLNEAX5ivtw8bCRnIgnpvcHmlR/yjUyZIrNPYAoXlY1WiEKWgSE4BNg==", + "dev": true, + "requires": { + "compare-func": "^1.3.1", + "q": "^1.5.1" + } + }, + "conventional-changelog-atom": { + "version": "0.2.8", + "resolved": "https://registry.npmjs.org/conventional-changelog-atom/-/conventional-changelog-atom-0.2.8.tgz", + "integrity": "sha512-8pPZqhMbrnltNBizjoDCb/Sz85KyUXNDQxuAEYAU5V/eHn0okMBVjqc8aHWYpHrytyZWvMGbayOlDv7i8kEf6g==", + "dev": true, + "requires": { + "q": "^1.5.1" + } + }, + "conventional-changelog-cli": { + "version": "1.3.22", + "resolved": "https://registry.npmjs.org/conventional-changelog-cli/-/conventional-changelog-cli-1.3.22.tgz", + "integrity": "sha512-pnjdIJbxjkZ5VdAX/H1wndr1G10CY8MuZgnXuJhIHglOXfIrXygb7KZC836GW9uo1u8PjEIvIw/bKX0lOmOzZg==", + "dev": true, + "requires": { + "add-stream": "^1.0.0", + "conventional-changelog": "^1.1.24", + "lodash": "^4.2.1", + "meow": "^4.0.0", + "tempfile": "^1.1.1" + } + }, + "conventional-changelog-codemirror": { + "version": "0.3.8", + "resolved": "https://registry.npmjs.org/conventional-changelog-codemirror/-/conventional-changelog-codemirror-0.3.8.tgz", + "integrity": "sha512-3HFZKtBXTaUCHvz7ai6nk2+psRIkldDoNzCsom0egDtVmPsvvHZkzjynhdQyULfacRSsBTaiQ0ol6nBOL4dDiQ==", + "dev": true, + "requires": { + "q": "^1.5.1" + } + }, + "conventional-changelog-core": { + "version": "2.0.11", + "resolved": "https://registry.npmjs.org/conventional-changelog-core/-/conventional-changelog-core-2.0.11.tgz", + "integrity": "sha512-HvTE6RlqeEZ/NFPtQeFLsIDOLrGP3bXYr7lFLMhCVsbduF1MXIe8OODkwMFyo1i9ku9NWBwVnVn0jDmIFXjDRg==", + "dev": true, + "requires": { + "conventional-changelog-writer": "^3.0.9", + "conventional-commits-parser": "^2.1.7", + "dateformat": "^3.0.0", + "get-pkg-repo": "^1.0.0", + "git-raw-commits": "^1.3.6", + "git-remote-origin-url": "^2.0.0", + "git-semver-tags": "^1.3.6", + "lodash": "^4.2.1", + "normalize-package-data": "^2.3.5", + "q": "^1.5.1", + "read-pkg": "^1.1.0", "read-pkg-up": "^1.0.1", - "redent": "^1.0.0", - "trim-newlines": "^1.0.0" + "through2": "^2.0.0" + }, + "dependencies": { + "load-json-file": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/load-json-file/-/load-json-file-1.1.0.tgz", + "integrity": "sha1-lWkFcI1YtLq0wiYbBPWfMcmTdMA=", + "dev": true, + "requires": { + "graceful-fs": "^4.1.2", + "parse-json": "^2.2.0", + "pify": "^2.0.0", + "pinkie-promise": "^2.0.0", + "strip-bom": "^2.0.0" + } + }, + "parse-json": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-2.2.0.tgz", + "integrity": "sha1-9ID0BDTvgHQfhGkJn43qGPVaTck=", + "dev": true, + "requires": { + "error-ex": "^1.2.0" + } + }, + "path-type": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/path-type/-/path-type-1.1.0.tgz", + "integrity": "sha1-WcRPfuSR2nBNpBXaWkBwuk+P5EE=", + "dev": true, + "requires": { + "graceful-fs": "^4.1.2", + "pify": "^2.0.0", + "pinkie-promise": "^2.0.0" + } + }, + "pify": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz", + "integrity": "sha1-7RQaasBDqEnqWISY59yosVMw6Qw=", + "dev": true + }, + "read-pkg": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-1.1.0.tgz", + "integrity": "sha1-9f+qXs0pyzHAR0vKfXVra7KePyg=", + "dev": true, + "requires": { + "load-json-file": "^1.0.0", + "normalize-package-data": "^2.3.2", + "path-type": "^1.0.0" + } + }, + "strip-bom": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-2.0.0.tgz", + "integrity": "sha1-YhmoVhZSBJHzV4i9vxRHqZx+aw4=", + "dev": true, + "requires": { + "is-utf8": "^0.2.0" + } + } } }, - "minimist": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.0.tgz", - "integrity": "sha1-o1AIsg9BOD7sH7kU9M1d95omQoQ=", - "dev": true + "conventional-changelog-ember": { + "version": "0.3.12", + "resolved": "https://registry.npmjs.org/conventional-changelog-ember/-/conventional-changelog-ember-0.3.12.tgz", + "integrity": "sha512-mmJzA7uzbrOqeF89dMMi6z17O07ORTXlTMArnLG9ZTX4oLaKNolUlxFUFlFm9JUoVWajVpaHQWjxH1EOQ+ARoQ==", + "dev": true, + "requires": { + "q": "^1.5.1" + } }, - "redent": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/redent/-/redent-1.0.0.tgz", - "integrity": "sha1-z5Fqsf1fHxbfsggi3W7H9zDCr94=", + "conventional-changelog-eslint": { + "version": "1.0.9", + "resolved": "https://registry.npmjs.org/conventional-changelog-eslint/-/conventional-changelog-eslint-1.0.9.tgz", + "integrity": "sha512-h87nfVh2fdk9fJIvz26wCBsbDC/KxqCc5wSlNMZbXcARtbgNbNDIF7Y7ctokFdnxkzVdaHsbINkh548T9eBA7Q==", "dev": true, "requires": { - "indent-string": "^2.1.0", - "strip-indent": "^1.0.1" + "q": "^1.5.1" } }, - "strip-indent": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/strip-indent/-/strip-indent-1.0.1.tgz", - "integrity": "sha1-DHlipq3vp7vUrDZkYKY4VSrhoKI=", + "conventional-changelog-express": { + "version": "0.3.6", + "resolved": "https://registry.npmjs.org/conventional-changelog-express/-/conventional-changelog-express-0.3.6.tgz", + "integrity": "sha512-3iWVtBJZ9RnRnZveNDzOD8QRn6g6vUif0qVTWWyi5nUIAbuN1FfPVyKdAlJJfp5Im+dE8Kiy/d2SpaX/0X678Q==", "dev": true, "requires": { - "get-stdin": "^4.0.1" + "q": "^1.5.1" } }, - "trim-newlines": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/trim-newlines/-/trim-newlines-1.0.0.tgz", - "integrity": "sha1-WIeWa7WCpFA6QetST301ARgVphM=", - "dev": true - } - } - }, - "get-port": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/get-port/-/get-port-3.2.0.tgz", - "integrity": "sha1-3Xzn3hh8Bsi/NTeWrHHgmfCYDrw=", - "dev": true - }, - "get-stdin": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/get-stdin/-/get-stdin-4.0.1.tgz", - "integrity": "sha1-uWjGsKBDhDJJAui/Gl3zJXmkUP4=", - "dev": true - }, - "get-stream": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-3.0.0.tgz", - "integrity": "sha1-jpQ9E1jcN1VQVOy+LtsFqhdO3hQ=", - "dev": true - }, - "git-raw-commits": { - "version": "1.3.6", - "resolved": "https://registry.npmjs.org/git-raw-commits/-/git-raw-commits-1.3.6.tgz", - "integrity": "sha512-svsK26tQ8vEKnMshTDatSIQSMDdz8CxIIqKsvPqbtV23Etmw6VNaFAitu8zwZ0VrOne7FztwPyRLxK7/DIUTQg==", - "dev": true, - "requires": { - "dargs": "^4.0.1", - "lodash.template": "^4.0.2", - "meow": "^4.0.0", - "split2": "^2.0.0", - "through2": "^2.0.0" - } - }, - "git-remote-origin-url": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/git-remote-origin-url/-/git-remote-origin-url-2.0.0.tgz", - "integrity": "sha1-UoJlna4hBxRaERJhEq0yFuxfpl8=", - "dev": true, - "requires": { - "gitconfiglocal": "^1.0.0", - "pify": "^2.3.0" - }, - "dependencies": { - "pify": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz", - "integrity": "sha1-7RQaasBDqEnqWISY59yosVMw6Qw=", - "dev": true - } - } - }, - "git-semver-tags": { - "version": "1.3.6", - "resolved": "https://registry.npmjs.org/git-semver-tags/-/git-semver-tags-1.3.6.tgz", - "integrity": "sha512-2jHlJnln4D/ECk9FxGEBh3k44wgYdWjWDtMmJPaecjoRmxKo3Y1Lh8GMYuOPu04CHw86NTAODchYjC5pnpMQig==", - "dev": true, - "requires": { - "meow": "^4.0.0", - "semver": "^5.5.0" - } - }, - "gitconfiglocal": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/gitconfiglocal/-/gitconfiglocal-1.0.0.tgz", - "integrity": "sha1-QdBF84UaXqiPA/JMocYXgRRGS5s=", - "dev": true, - "requires": { - "ini": "^1.3.2" - } - }, - "glob": { - "version": "7.1.2", - "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.2.tgz", - "integrity": "sha512-MJTUg1kjuLeQCJ+ccE4Vpa6kKVXkPYJ2mOCQyUuKLcLQsdrMCpBPUi8qVE6+YuaJkozeA9NusTAw3hLr8Xe5EQ==", - "dev": true, - "requires": { - "fs.realpath": "^1.0.0", - "inflight": "^1.0.4", - "inherits": "2", - "minimatch": "^3.0.4", - "once": "^1.3.0", - "path-is-absolute": "^1.0.0" - } - }, - "glob-parent": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-3.1.0.tgz", - "integrity": "sha1-nmr2KZ2NO9K9QEMIMr0RPfkGxa4=", - "dev": true, - "requires": { - "is-glob": "^3.1.0", - "path-dirname": "^1.0.0" - } - }, - "globby": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/globby/-/globby-6.1.0.tgz", - "integrity": "sha1-9abXDoOV4hyFj7BInWTfAkJNUGw=", - "dev": true, - "requires": { - "array-union": "^1.0.1", - "glob": "^7.0.3", - "object-assign": "^4.0.1", - "pify": "^2.0.0", - "pinkie-promise": "^2.0.0" - }, - "dependencies": { - "pify": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz", - "integrity": "sha1-7RQaasBDqEnqWISY59yosVMw6Qw=", + "conventional-changelog-jquery": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/conventional-changelog-jquery/-/conventional-changelog-jquery-0.1.0.tgz", + "integrity": "sha1-Agg5cWLjhGmG5xJztsecW1+A9RA=", + "dev": true, + "requires": { + "q": "^1.4.1" + } + }, + "conventional-changelog-jscs": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/conventional-changelog-jscs/-/conventional-changelog-jscs-0.1.0.tgz", + "integrity": "sha1-BHnrRDzH1yxYvwvPDvHURKkvDlw=", + "dev": true, + "requires": { + "q": "^1.4.1" + } + }, + "conventional-changelog-jshint": { + "version": "0.3.8", + "resolved": "https://registry.npmjs.org/conventional-changelog-jshint/-/conventional-changelog-jshint-0.3.8.tgz", + "integrity": "sha512-hn9QU4ZI/5V50wKPJNPGT4gEWgiBFpV6adieILW4MaUFynuDYOvQ71EMSj3EznJyKi/KzuXpc9dGmX8njZMjig==", + "dev": true, + "requires": { + "compare-func": "^1.3.1", + "q": "^1.5.1" + } + }, + "conventional-changelog-preset-loader": { + "version": "1.1.8", + "resolved": "https://registry.npmjs.org/conventional-changelog-preset-loader/-/conventional-changelog-preset-loader-1.1.8.tgz", + "integrity": "sha512-MkksM4G4YdrMlT2MbTsV2F6LXu/hZR0Tc/yenRrDIKRwBl/SP7ER4ZDlglqJsCzLJi4UonBc52Bkm5hzrOVCcw==", "dev": true - } - } - }, - "got": { - "version": "6.7.1", - "resolved": "https://registry.npmjs.org/got/-/got-6.7.1.tgz", - "integrity": "sha1-JAzQV4WpoY5WHcG0S0HHY+8ejbA=", - "dev": true, - "requires": { - "create-error-class": "^3.0.0", - "duplexer3": "^0.1.4", - "get-stream": "^3.0.0", - "is-redirect": "^1.0.0", - "is-retry-allowed": "^1.0.0", - "is-stream": "^1.0.0", - "lowercase-keys": "^1.0.0", - "safe-buffer": "^5.0.1", - "timed-out": "^4.0.0", - "unzip-response": "^2.0.1", - "url-parse-lax": "^1.0.0" - } - }, - "graceful-fs": { - "version": "4.1.11", - "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.1.11.tgz", - "integrity": "sha1-Dovf5NHduIVNZOBOp8AOKgJuVlg=", - "dev": true - }, - "handlebars": { - "version": "4.0.11", - "resolved": "https://registry.npmjs.org/handlebars/-/handlebars-4.0.11.tgz", - "integrity": "sha1-Ywo13+ApS8KB7a5v/F0yn8eYLcw=", - "dev": true, - "requires": { - "async": "^1.4.0", - "optimist": "^0.6.1", - "source-map": "^0.4.4", - "uglify-js": "^2.6" - } - }, - "has-flag": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", - "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=", - "dev": true - }, - "has-unicode": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/has-unicode/-/has-unicode-2.0.1.tgz", - "integrity": "sha1-4Ob+aijPUROIVeCG0Wkedx3iqLk=", - "dev": true - }, - "hosted-git-info": { - "version": "2.7.1", - "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.7.1.tgz", - "integrity": "sha512-7T/BxH19zbcCTa8XkMlbK5lTo1WtgkFi3GvdWEyNuc4Vex7/9Dqbnpsf4JMydcfj9HCg4zUWFTL3Za6lapg5/w==", - "dev": true - }, - "iconv-lite": { - "version": "0.4.23", - "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.23.tgz", - "integrity": "sha512-neyTUVFtahjf0mB3dZT77u+8O0QB89jFdnBkd5P1JgYPbPaia3gXXOVL2fq8VyU2gMMD7SaN7QukTB/pmXYvDA==", - "dev": true, - "requires": { - "safer-buffer": ">= 2.1.2 < 3" - } - }, - "imurmurhash": { - "version": "0.1.4", - "resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz", - "integrity": "sha1-khi5srkoojixPcT7a21XbyMUU+o=", - "dev": true - }, - "indent-string": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/indent-string/-/indent-string-3.2.0.tgz", - "integrity": "sha1-Sl/W0nzDMvN+VBmlBNu4NxBckok=", - "dev": true - }, - "inflight": { - "version": "1.0.6", - "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", - "integrity": "sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=", - "dev": true, - "requires": { - "once": "^1.3.0", - "wrappy": "1" - } - }, - "inherits": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz", - "integrity": "sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4=", - "dev": true - }, - "ini": { - "version": "1.3.5", - "resolved": "https://registry.npmjs.org/ini/-/ini-1.3.5.tgz", - "integrity": "sha512-RZY5huIKCMRWDUqZlEi72f/lmXKMvuszcMBduliQ3nnWbx9X/ZBQO7DijMEYS9EhHBb2qacRUMtC7svLwe0lcw==", - "dev": true - }, - "inquirer": { - "version": "3.3.0", - "resolved": "https://registry.npmjs.org/inquirer/-/inquirer-3.3.0.tgz", - "integrity": "sha512-h+xtnyk4EwKvFWHrUYsWErEVR+igKtLdchu+o0Z1RL7VU/jVMFbYir2bp6bAj8efFNxWqHX0dIss6fJQ+/+qeQ==", - "dev": true, - "requires": { - "ansi-escapes": "^3.0.0", - "chalk": "^2.0.0", - "cli-cursor": "^2.1.0", - "cli-width": "^2.0.0", - "external-editor": "^2.0.4", - "figures": "^2.0.0", - "lodash": "^4.3.0", - "mute-stream": "0.0.7", - "run-async": "^2.2.0", - "rx-lite": "^4.0.8", - "rx-lite-aggregates": "^4.0.8", - "string-width": "^2.1.0", - "strip-ansi": "^4.0.0", - "through": "^2.3.6" - }, - "dependencies": { - "ansi-regex": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-3.0.0.tgz", - "integrity": "sha1-7QMXwyIGT3lGbAKWa922Bas32Zg=", + }, + "conventional-changelog-writer": { + "version": "3.0.9", + "resolved": "https://registry.npmjs.org/conventional-changelog-writer/-/conventional-changelog-writer-3.0.9.tgz", + "integrity": "sha512-n9KbsxlJxRQsUnK6wIBRnARacvNnN4C/nxnxCkH+B/R1JS2Fa+DiP1dU4I59mEDEjgnFaN2+9wr1P1s7GYB5/Q==", + "dev": true, + "requires": { + "compare-func": "^1.3.1", + "conventional-commits-filter": "^1.1.6", + "dateformat": "^3.0.0", + "handlebars": "^4.0.2", + "json-stringify-safe": "^5.0.1", + "lodash": "^4.2.1", + "meow": "^4.0.0", + "semver": "^5.5.0", + "split": "^1.0.0", + "through2": "^2.0.0" + } + }, + "conventional-commits-filter": { + "version": "1.1.6", + "resolved": "https://registry.npmjs.org/conventional-commits-filter/-/conventional-commits-filter-1.1.6.tgz", + "integrity": "sha512-KcDgtCRKJCQhyk6VLT7zR+ZOyCnerfemE/CsR3iQpzRRFbLEs0Y6rwk3mpDvtOh04X223z+1xyJ582Stfct/0Q==", + "dev": true, + "requires": { + "is-subset": "^0.1.1", + "modify-values": "^1.0.0" + } + }, + "conventional-commits-parser": { + "version": "2.1.7", + "resolved": "https://registry.npmjs.org/conventional-commits-parser/-/conventional-commits-parser-2.1.7.tgz", + "integrity": "sha512-BoMaddIEJ6B4QVMSDu9IkVImlGOSGA1I2BQyOZHeLQ6qVOJLcLKn97+fL6dGbzWEiqDzfH4OkcveULmeq2MHFQ==", + "dev": true, + "requires": { + "JSONStream": "^1.0.4", + "is-text-path": "^1.0.0", + "lodash": "^4.2.1", + "meow": "^4.0.0", + "split2": "^2.0.0", + "through2": "^2.0.0", + "trim-off-newlines": "^1.0.0" + } + }, + "conventional-recommended-bump": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/conventional-recommended-bump/-/conventional-recommended-bump-1.2.1.tgz", + "integrity": "sha512-oJjG6DkRgtnr/t/VrPdzmf4XZv8c4xKVJrVT4zrSHd92KEL+EYxSbYoKq8lQ7U5yLMw7130wrcQTLRjM/T+d4w==", + "dev": true, + "requires": { + "concat-stream": "^1.4.10", + "conventional-commits-filter": "^1.1.1", + "conventional-commits-parser": "^2.1.1", + "git-raw-commits": "^1.3.0", + "git-semver-tags": "^1.3.0", + "meow": "^3.3.0", + "object-assign": "^4.0.1" + }, + "dependencies": { + "camelcase": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-2.1.1.tgz", + "integrity": "sha1-fB0W1nmhu+WcoCys7PsBHiAfWh8=", + "dev": true + }, + "camelcase-keys": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/camelcase-keys/-/camelcase-keys-2.1.0.tgz", + "integrity": "sha1-MIvur/3ygRkFHvodkyITyRuPkuc=", + "dev": true, + "requires": { + "camelcase": "^2.0.0", + "map-obj": "^1.0.0" + } + }, + "indent-string": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/indent-string/-/indent-string-2.1.0.tgz", + "integrity": "sha1-ji1INIdCEhtKghi3oTfppSBJ3IA=", + "dev": true, + "requires": { + "repeating": "^2.0.0" + } + }, + "map-obj": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/map-obj/-/map-obj-1.0.1.tgz", + "integrity": "sha1-2TPOuSBdgr3PSIb2dCvcK03qFG0=", + "dev": true + }, + "meow": { + "version": "3.7.0", + "resolved": "https://registry.npmjs.org/meow/-/meow-3.7.0.tgz", + "integrity": "sha1-cstmi0JSKCkKu/qFaJJYcwioAfs=", + "dev": true, + "requires": { + "camelcase-keys": "^2.0.0", + "decamelize": "^1.1.2", + "loud-rejection": "^1.0.0", + "map-obj": "^1.0.1", + "minimist": "^1.1.3", + "normalize-package-data": "^2.3.4", + "object-assign": "^4.0.1", + "read-pkg-up": "^1.0.1", + "redent": "^1.0.0", + "trim-newlines": "^1.0.0" + } + }, + "minimist": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.0.tgz", + "integrity": "sha1-o1AIsg9BOD7sH7kU9M1d95omQoQ=", + "dev": true + }, + "redent": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/redent/-/redent-1.0.0.tgz", + "integrity": "sha1-z5Fqsf1fHxbfsggi3W7H9zDCr94=", + "dev": true, + "requires": { + "indent-string": "^2.1.0", + "strip-indent": "^1.0.1" + } + }, + "strip-indent": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/strip-indent/-/strip-indent-1.0.1.tgz", + "integrity": "sha1-DHlipq3vp7vUrDZkYKY4VSrhoKI=", + "dev": true, + "requires": { + "get-stdin": "^4.0.1" + } + }, + "trim-newlines": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/trim-newlines/-/trim-newlines-1.0.0.tgz", + "integrity": "sha1-WIeWa7WCpFA6QetST301ARgVphM=", + "dev": true + } + } + }, + "core-util-is": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz", + "integrity": "sha1-tf1UIgqivFq1eqtxQMlAdUUDwac=", "dev": true }, - "strip-ansi": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-4.0.0.tgz", - "integrity": "sha1-qEeQIusaw2iocTibY1JixQXuNo8=", + "create-error-class": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/create-error-class/-/create-error-class-3.0.2.tgz", + "integrity": "sha1-Br56vvlHo/FKMP1hBnHUAbyot7Y=", "dev": true, "requires": { - "ansi-regex": "^3.0.0" + "capture-stack-trace": "^1.0.0" } - } - } - }, - "invert-kv": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/invert-kv/-/invert-kv-1.0.0.tgz", - "integrity": "sha1-EEqOSqym09jNFXqO+L+rLXo//bY=", - "dev": true - }, - "is-arrayish": { - "version": "0.2.1", - "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz", - "integrity": "sha1-d8mYQFJ6qOyxqLppe4BkWnqSap0=", - "dev": true - }, - "is-buffer": { - "version": "1.1.6", - "resolved": "https://registry.npmjs.org/is-buffer/-/is-buffer-1.1.6.tgz", - "integrity": "sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w==", - "dev": true - }, - "is-builtin-module": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-builtin-module/-/is-builtin-module-1.0.0.tgz", - "integrity": "sha1-VAVy0096wxGfj3bDDLwbHgN6/74=", - "dev": true, - "requires": { - "builtin-modules": "^1.0.0" - } - }, - "is-ci": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/is-ci/-/is-ci-1.1.0.tgz", - "integrity": "sha512-c7TnwxLePuqIlxHgr7xtxzycJPegNHFuIrBkwbf8hc58//+Op1CqFkyS+xnIMkwn9UsJIwc174BIjkyBmSpjKg==", - "dev": true, - "requires": { - "ci-info": "^1.0.0" - } - }, - "is-extglob": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", - "integrity": "sha1-qIwCU1eR8C7TfHahueqXc8gz+MI=", - "dev": true - }, - "is-finite": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/is-finite/-/is-finite-1.0.2.tgz", - "integrity": "sha1-zGZ3aVYCvlUO8R6LSqYwU0K20Ko=", - "dev": true, - "requires": { - "number-is-nan": "^1.0.0" - } - }, - "is-fullwidth-code-point": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz", - "integrity": "sha1-o7MKXE8ZkYMWeqq5O+764937ZU8=", - "dev": true - }, - "is-glob": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-3.1.0.tgz", - "integrity": "sha1-e6WuJCF4BKxwcHuWkiVnSGzD6Eo=", - "dev": true, - "requires": { - "is-extglob": "^2.1.0" - } - }, - "is-obj": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/is-obj/-/is-obj-1.0.1.tgz", - "integrity": "sha1-PkcprB9f3gJc19g6iW2rn09n2w8=", - "dev": true - }, - "is-plain-obj": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-1.1.0.tgz", - "integrity": "sha1-caUMhCnfync8kqOQpKA7OfzVHT4=", - "dev": true - }, - "is-promise": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/is-promise/-/is-promise-2.1.0.tgz", - "integrity": "sha1-eaKp7OfwlugPNtKy87wWwf9L8/o=", - "dev": true - }, - "is-redirect": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-redirect/-/is-redirect-1.0.0.tgz", - "integrity": "sha1-HQPd7VO9jbDzDCbk+V02/HyH3CQ=", - "dev": true - }, - "is-retry-allowed": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/is-retry-allowed/-/is-retry-allowed-1.1.0.tgz", - "integrity": "sha1-EaBgVotnM5REAz0BJaYaINVk+zQ=", - "dev": true - }, - "is-stream": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-1.1.0.tgz", - "integrity": "sha1-EtSj3U5o4Lec6428hBc66A2RykQ=", - "dev": true - }, - "is-subset": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/is-subset/-/is-subset-0.1.1.tgz", - "integrity": "sha1-ilkRfZMt4d4A8kX83TnOQ/HpOaY=", - "dev": true - }, - "is-text-path": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/is-text-path/-/is-text-path-1.0.1.tgz", - "integrity": "sha1-Thqg+1G/vLPpJogAE5cgLBd1tm4=", - "dev": true, - "requires": { - "text-extensions": "^1.0.0" - } - }, - "is-utf8": { - "version": "0.2.1", - "resolved": "https://registry.npmjs.org/is-utf8/-/is-utf8-0.2.1.tgz", - "integrity": "sha1-Sw2hRCEE0bM2NA6AeX6GXPOffXI=", - "dev": true - }, - "isarray": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", - "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=", - "dev": true - }, - "isexe": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", - "integrity": "sha1-6PvzdNxVb/iUehDcsFctYz8s+hA=", - "dev": true - }, - "json-parse-better-errors": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/json-parse-better-errors/-/json-parse-better-errors-1.0.2.tgz", - "integrity": "sha512-mrqyZKfX5EhL7hvqcV6WG1yYjnjeuYDzDhhcAAUrq8Po85NBQBJP+ZDUT75qZQ98IkUoBqdkExkukOU7Ts2wrw==", - "dev": true - }, - "json-stringify-safe": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz", - "integrity": "sha1-Epai1Y/UXxmg9s4B1lcB4sc1tus=", - "dev": true - }, - "jsonfile": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-4.0.0.tgz", - "integrity": "sha1-h3Gq4HmbZAdrdmQPygWPnBDjPss=", - "dev": true, - "requires": { - "graceful-fs": "^4.1.6" - } - }, - "jsonparse": { - "version": "1.3.1", - "resolved": "https://registry.npmjs.org/jsonparse/-/jsonparse-1.3.1.tgz", - "integrity": "sha1-P02uSpH6wxX3EGL4UhzCOfE2YoA=", - "dev": true - }, - "kind-of": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", - "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", - "dev": true, - "requires": { - "is-buffer": "^1.1.5" - } - }, - "lazy-cache": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/lazy-cache/-/lazy-cache-1.0.4.tgz", - "integrity": "sha1-odePw6UEdMuAhF07O24dpJpEbo4=", - "dev": true, - "optional": true - }, - "lcid": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/lcid/-/lcid-1.0.0.tgz", - "integrity": "sha1-MIrMr6C8SDo4Z7S28rlQYlHRuDU=", - "dev": true, - "requires": { - "invert-kv": "^1.0.0" - } - }, - "lerna": { - "version": "2.11.0", - "resolved": "https://registry.npmjs.org/lerna/-/lerna-2.11.0.tgz", - "integrity": "sha512-kgM6zwe2P2tR30MYvgiLLW+9buFCm6E7o8HnRlhTgm70WVBvXVhydqv+q/MF2HrVZkCawfVtCfetyQmtd4oHhQ==", - "dev": true, - "requires": { - "async": "^1.5.0", - "chalk": "^2.1.0", - "cmd-shim": "^2.0.2", - "columnify": "^1.5.4", - "command-join": "^2.0.0", - "conventional-changelog-cli": "^1.3.13", - "conventional-recommended-bump": "^1.2.1", - "dedent": "^0.7.0", - "execa": "^0.8.0", - "find-up": "^2.1.0", - "fs-extra": "^4.0.1", - "get-port": "^3.2.0", - "glob": "^7.1.2", - "glob-parent": "^3.1.0", - "globby": "^6.1.0", - "graceful-fs": "^4.1.11", - "hosted-git-info": "^2.5.0", - "inquirer": "^3.2.2", - "is-ci": "^1.0.10", - "load-json-file": "^4.0.0", - "lodash": "^4.17.4", - "minimatch": "^3.0.4", - "npmlog": "^4.1.2", - "p-finally": "^1.0.0", - "package-json": "^4.0.1", - "path-exists": "^3.0.0", - "read-cmd-shim": "^1.0.1", - "read-pkg": "^3.0.0", - "rimraf": "^2.6.1", - "safe-buffer": "^5.1.1", - "semver": "^5.4.1", - "signal-exit": "^3.0.2", - "slash": "^1.0.0", - "strong-log-transformer": "^1.0.6", - "temp-write": "^3.3.0", - "write-file-atomic": "^2.3.0", - "write-json-file": "^2.2.0", - "write-pkg": "^3.1.0", - "yargs": "^8.0.2" - } - }, - "load-json-file": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/load-json-file/-/load-json-file-4.0.0.tgz", - "integrity": "sha1-L19Fq5HjMhYjT9U62rZo607AmTs=", - "dev": true, - "requires": { - "graceful-fs": "^4.1.2", - "parse-json": "^4.0.0", - "pify": "^3.0.0", - "strip-bom": "^3.0.0" - } - }, - "locate-path": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-2.0.0.tgz", - "integrity": "sha1-K1aLJl7slExtnA3pw9u7ygNUzY4=", - "dev": true, - "requires": { - "p-locate": "^2.0.0", - "path-exists": "^3.0.0" - } - }, - "lodash": { - "version": "4.17.10", - "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.10.tgz", - "integrity": "sha512-UejweD1pDoXu+AD825lWwp4ZGtSwgnpZxb3JDViD7StjQz+Nb/6l093lx4OQ0foGWNRoc19mWy7BzL+UAK2iVg==", - "dev": true - }, - "lodash._reinterpolate": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/lodash._reinterpolate/-/lodash._reinterpolate-3.0.0.tgz", - "integrity": "sha1-DM8tiRZq8Ds2Y8eWU4t1rG4RTZ0=", - "dev": true - }, - "lodash.template": { - "version": "4.4.0", - "resolved": "https://registry.npmjs.org/lodash.template/-/lodash.template-4.4.0.tgz", - "integrity": "sha1-5zoDhcg1VZF0bgILmWecaQ5o+6A=", - "dev": true, - "requires": { - "lodash._reinterpolate": "~3.0.0", - "lodash.templatesettings": "^4.0.0" - } - }, - "lodash.templatesettings": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/lodash.templatesettings/-/lodash.templatesettings-4.1.0.tgz", - "integrity": "sha1-K01OlbpEDZFf8IvImeRVNmZxMxY=", - "dev": true, - "requires": { - "lodash._reinterpolate": "~3.0.0" - } - }, - "longest": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/longest/-/longest-1.0.1.tgz", - "integrity": "sha1-MKCy2jj3N3DoKUoNIuZiXtd9AJc=", - "dev": true - }, - "loud-rejection": { - "version": "1.6.0", - "resolved": "https://registry.npmjs.org/loud-rejection/-/loud-rejection-1.6.0.tgz", - "integrity": "sha1-W0b4AUft7leIcPCG0Eghz5mOVR8=", - "dev": true, - "requires": { - "currently-unhandled": "^0.4.1", - "signal-exit": "^3.0.0" - } - }, - "lowercase-keys": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/lowercase-keys/-/lowercase-keys-1.0.1.tgz", - "integrity": "sha512-G2Lj61tXDnVFFOi8VZds+SoQjtQC3dgokKdDG2mTm1tx4m50NUHBOZSBwQQHyy0V12A0JTG4icfZQH+xPyh8VA==", - "dev": true - }, - "lru-cache": { - "version": "4.1.3", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-4.1.3.tgz", - "integrity": "sha512-fFEhvcgzuIoJVUF8fYr5KR0YqxD238zgObTps31YdADwPPAp82a4M8TrckkWyx7ekNlf9aBcVn81cFwwXngrJA==", - "dev": true, - "requires": { - "pseudomap": "^1.0.2", - "yallist": "^2.1.2" - } - }, - "make-dir": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-1.3.0.tgz", - "integrity": "sha512-2w31R7SJtieJJnQtGc7RVL2StM2vGYVfqUOvUDxH6bC6aJTxPxTF0GnIgCyu7tjockiUWAYQRbxa7vKn34s5sQ==", - "dev": true, - "requires": { - "pify": "^3.0.0" - } - }, - "map-obj": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/map-obj/-/map-obj-2.0.0.tgz", - "integrity": "sha1-plzSkIepJZi4eRJXpSPgISIqwfk=", - "dev": true - }, - "mem": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/mem/-/mem-1.1.0.tgz", - "integrity": "sha1-Xt1StIXKHZAP5kiVUFOZoN+kX3Y=", - "dev": true, - "requires": { - "mimic-fn": "^1.0.0" - } - }, - "meow": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/meow/-/meow-4.0.1.tgz", - "integrity": "sha512-xcSBHD5Z86zaOc+781KrupuHAzeGXSLtiAOmBsiLDiPSaYSB6hdew2ng9EBAnZ62jagG9MHAOdxpDi/lWBFJ/A==", - "dev": true, - "requires": { - "camelcase-keys": "^4.0.0", - "decamelize-keys": "^1.0.0", - "loud-rejection": "^1.0.0", - "minimist": "^1.1.3", - "minimist-options": "^3.0.1", - "normalize-package-data": "^2.3.4", - "read-pkg-up": "^3.0.0", - "redent": "^2.0.0", - "trim-newlines": "^2.0.0" - }, - "dependencies": { - "minimist": { + }, + "cross-spawn": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-5.1.0.tgz", + "integrity": "sha1-6L0O/uWPz/b4+UUQoKVUu/ojVEk=", + "dev": true, + "requires": { + "lru-cache": "^4.0.1", + "shebang-command": "^1.2.0", + "which": "^1.2.9" + } + }, + "currently-unhandled": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/currently-unhandled/-/currently-unhandled-0.4.1.tgz", + "integrity": "sha1-mI3zP+qxke95mmE2nddsF635V+o=", + "dev": true, + "requires": { + "array-find-index": "^1.0.1" + } + }, + "dargs": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/dargs/-/dargs-4.1.0.tgz", + "integrity": "sha1-A6nbtLXC8Tm/FK5T8LiipqhvThc=", + "dev": true, + "requires": { + "number-is-nan": "^1.0.0" + } + }, + "dateformat": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/dateformat/-/dateformat-3.0.3.tgz", + "integrity": "sha512-jyCETtSl3VMZMWeRo7iY1FL19ges1t55hMo5yaam4Jrsm5EPL89UQkoQRyiI+Yf4k8r2ZpdngkV8hr1lIdjb3Q==", + "dev": true + }, + "decamelize": { "version": "1.2.0", - "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.0.tgz", - "integrity": "sha1-o1AIsg9BOD7sH7kU9M1d95omQoQ=", + "resolved": "https://registry.npmjs.org/decamelize/-/decamelize-1.2.0.tgz", + "integrity": "sha1-9lNNFRSCabIDUue+4m9QH5oZEpA=", "dev": true }, - "read-pkg-up": { + "decamelize-keys": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/decamelize-keys/-/decamelize-keys-1.1.0.tgz", + "integrity": "sha1-0XGoeTMlKAfrPLYdwcFEXQeN8tk=", + "dev": true, + "requires": { + "decamelize": "^1.1.0", + "map-obj": "^1.0.0" + }, + "dependencies": { + "map-obj": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/map-obj/-/map-obj-1.0.1.tgz", + "integrity": "sha1-2TPOuSBdgr3PSIb2dCvcK03qFG0=", + "dev": true + } + } + }, + "dedent": { + "version": "0.7.0", + "resolved": "https://registry.npmjs.org/dedent/-/dedent-0.7.0.tgz", + "integrity": "sha1-JJXduvbrh0q7Dhvp3yLS5aVEMmw=", + "dev": true + }, + "deep-extend": { + "version": "0.6.0", + "resolved": "https://registry.npmjs.org/deep-extend/-/deep-extend-0.6.0.tgz", + "integrity": "sha512-LOHxIOaPYdHlJRtCQfDIVZtfw/ufM8+rVj649RIHzcm/vGwQRXFt6OPqIFWsm2XEMrNIEtWR64sY1LEKD2vAOA==", + "dev": true + }, + "defaults": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/defaults/-/defaults-1.0.3.tgz", + "integrity": "sha1-xlYFHpgX2f8I7YgUd/P+QBnz730=", + "dev": true, + "requires": { + "clone": "^1.0.2" + } + }, + "delegates": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/delegates/-/delegates-1.0.0.tgz", + "integrity": "sha1-hMbhWbgZBP3KWaDvRM2HDTElD5o=", + "dev": true + }, + "detect-indent": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/detect-indent/-/detect-indent-5.0.0.tgz", + "integrity": "sha1-OHHMCmoALow+Wzz38zYmRnXwa50=", + "dev": true + }, + "dot-prop": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-3.0.0.tgz", - "integrity": "sha1-PtSWaF26D4/hGNBpHcUfSh/5bwc=", + "resolved": "https://registry.npmjs.org/dot-prop/-/dot-prop-3.0.0.tgz", + "integrity": "sha1-G3CK8JSknJoOfbyteQq6U52sEXc=", "dev": true, "requires": { - "find-up": "^2.0.0", - "read-pkg": "^3.0.0" + "is-obj": "^1.0.0" } - } - } - }, - "mimic-fn": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-1.2.0.tgz", - "integrity": "sha512-jf84uxzwiuiIVKiOLpfYk7N46TSy8ubTonmneY9vrpHNAnp0QBt2BxWV9dO3/j+BoVAb+a5G6YDPW3M5HOdMWQ==", - "dev": true - }, - "minimatch": { - "version": "3.0.4", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz", - "integrity": "sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==", - "dev": true, - "requires": { - "brace-expansion": "^1.1.7" - } - }, - "minimist": { - "version": "0.0.8", - "resolved": "https://registry.npmjs.org/minimist/-/minimist-0.0.8.tgz", - "integrity": "sha1-hX/Kv8M5fSYluCKCYuhqp6ARsF0=", - "dev": true - }, - "minimist-options": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/minimist-options/-/minimist-options-3.0.2.tgz", - "integrity": "sha512-FyBrT/d0d4+uiZRbqznPXqw3IpZZG3gl3wKWiX784FycUKVwBt0uLBFkQrtE4tZOrgo78nZp2jnKz3L65T5LdQ==", - "dev": true, - "requires": { - "arrify": "^1.0.1", - "is-plain-obj": "^1.1.0" - } - }, - "mkdirp": { - "version": "0.5.1", - "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.1.tgz", - "integrity": "sha1-MAV0OOrGz3+MR2fzhkjWaX11yQM=", - "dev": true, - "requires": { - "minimist": "0.0.8" - } - }, - "modify-values": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/modify-values/-/modify-values-1.0.1.tgz", - "integrity": "sha512-xV2bxeN6F7oYjZWTe/YPAy6MN2M+sL4u/Rlm2AHCIVGfo2p1yGmBHQ6vHehl4bRTZBdHu3TSkWdYgkwpYzAGSw==", - "dev": true - }, - "moment": { - "version": "2.22.2", - "resolved": "https://registry.npmjs.org/moment/-/moment-2.22.2.tgz", - "integrity": "sha1-PCV/mDn8DpP/UxSWMiOeuQeD/2Y=", - "dev": true - }, - "mute-stream": { - "version": "0.0.7", - "resolved": "https://registry.npmjs.org/mute-stream/-/mute-stream-0.0.7.tgz", - "integrity": "sha1-MHXOk7whuPq0PhvE2n6BFe0ee6s=", - "dev": true - }, - "normalize-package-data": { - "version": "2.4.0", - "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-2.4.0.tgz", - "integrity": "sha512-9jjUFbTPfEy3R/ad/2oNbKtW9Hgovl5O1FvFWKkKblNXoN/Oou6+9+KKohPK13Yc3/TyunyWhJp6gvRNR/PPAw==", - "dev": true, - "requires": { - "hosted-git-info": "^2.1.4", - "is-builtin-module": "^1.0.0", - "semver": "2 || 3 || 4 || 5", - "validate-npm-package-license": "^3.0.1" - } - }, - "npm-run-path": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-2.0.2.tgz", - "integrity": "sha1-NakjLfo11wZ7TLLd8jV7GHFTbF8=", - "dev": true, - "requires": { - "path-key": "^2.0.0" - } - }, - "npmlog": { - "version": "4.1.2", - "resolved": "https://registry.npmjs.org/npmlog/-/npmlog-4.1.2.tgz", - "integrity": "sha512-2uUqazuKlTaSI/dC8AzicUck7+IrEaOnN/e0jd3Xtt1KcGpwx30v50mL7oPyr/h9bL3E4aZccVwpwP+5W9Vjkg==", - "dev": true, - "requires": { - "are-we-there-yet": "~1.1.2", - "console-control-strings": "~1.1.0", - "gauge": "~2.7.3", - "set-blocking": "~2.0.0" - } - }, - "number-is-nan": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/number-is-nan/-/number-is-nan-1.0.1.tgz", - "integrity": "sha1-CXtgK1NCKlIsGvuHkDGDNpQaAR0=", - "dev": true - }, - "object-assign": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", - "integrity": "sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM=", - "dev": true - }, - "once": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", - "integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=", - "dev": true, - "requires": { - "wrappy": "1" - } - }, - "onetime": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/onetime/-/onetime-2.0.1.tgz", - "integrity": "sha1-BnQoIw/WdEOyeUsiu6UotoZ5YtQ=", - "dev": true, - "requires": { - "mimic-fn": "^1.0.0" - } - }, - "optimist": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/optimist/-/optimist-0.6.1.tgz", - "integrity": "sha1-2j6nRob6IaGaERwybpDrFaAZZoY=", - "dev": true, - "requires": { - "minimist": "~0.0.1", - "wordwrap": "~0.0.2" - } - }, - "os-locale": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/os-locale/-/os-locale-2.1.0.tgz", - "integrity": "sha512-3sslG3zJbEYcaC4YVAvDorjGxc7tv6KVATnLPZONiljsUncvihe9BQoVCEs0RZ1kmf4Hk9OBqlZfJZWI4GanKA==", - "dev": true, - "requires": { - "execa": "^0.7.0", - "lcid": "^1.0.0", - "mem": "^1.1.0" - }, - "dependencies": { + }, + "duplexer": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/duplexer/-/duplexer-0.1.1.tgz", + "integrity": "sha1-rOb/gIwc5mtX0ev5eXessCM0z8E=", + "dev": true + }, + "duplexer3": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/duplexer3/-/duplexer3-0.1.4.tgz", + "integrity": "sha1-7gHdHKwO08vH/b6jfcCo8c4ALOI=", + "dev": true + }, + "error-ex": { + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/error-ex/-/error-ex-1.3.2.tgz", + "integrity": "sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==", + "dev": true, + "requires": { + "is-arrayish": "^0.2.1" + } + }, + "escape-string-regexp": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", + "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=", + "dev": true + }, "execa": { - "version": "0.7.0", - "resolved": "https://registry.npmjs.org/execa/-/execa-0.7.0.tgz", - "integrity": "sha1-lEvs00zEHuMqY6n68nrVpl/Fl3c=", + "version": "0.8.0", + "resolved": "https://registry.npmjs.org/execa/-/execa-0.8.0.tgz", + "integrity": "sha1-2NdrvBtVIX7RkP1t1J08d07PyNo=", "dev": true, "requires": { "cross-spawn": "^5.0.1", @@ -1804,981 +881,1794 @@ "signal-exit": "^3.0.0", "strip-eof": "^1.0.0" } - } - } - }, - "os-tmpdir": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/os-tmpdir/-/os-tmpdir-1.0.2.tgz", - "integrity": "sha1-u+Z0BseaqFxc/sdm/lc0VV36EnQ=", - "dev": true - }, - "p-finally": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/p-finally/-/p-finally-1.0.0.tgz", - "integrity": "sha1-P7z7FbiZpEEjs0ttzBi3JDNqLK4=", - "dev": true - }, - "p-limit": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-1.3.0.tgz", - "integrity": "sha512-vvcXsLAJ9Dr5rQOPk7toZQZJApBl2K4J6dANSsEuh6QI41JYcsS/qhTGa9ErIUUgK3WNQoJYvylxvjqmiqEA9Q==", - "dev": true, - "requires": { - "p-try": "^1.0.0" - } - }, - "p-locate": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-2.0.0.tgz", - "integrity": "sha1-IKAQOyIqcMj9OcwuWAaA893l7EM=", - "dev": true, - "requires": { - "p-limit": "^1.1.0" - } - }, - "p-try": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/p-try/-/p-try-1.0.0.tgz", - "integrity": "sha1-y8ec26+P1CKOE/Yh8rGiN8GyB7M=", - "dev": true - }, - "package-json": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/package-json/-/package-json-4.0.1.tgz", - "integrity": "sha1-iGmgQBJTZhxMTKPabCEh7VVfXu0=", - "dev": true, - "requires": { - "got": "^6.7.1", - "registry-auth-token": "^3.0.1", - "registry-url": "^3.0.3", - "semver": "^5.1.0" - } - }, - "parse-github-repo-url": { - "version": "1.4.1", - "resolved": "https://registry.npmjs.org/parse-github-repo-url/-/parse-github-repo-url-1.4.1.tgz", - "integrity": "sha1-nn2LslKmy2ukJZUGC3v23z28H1A=", - "dev": true - }, - "parse-json": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-4.0.0.tgz", - "integrity": "sha1-vjX1Qlvh9/bHRxhPmKeIy5lHfuA=", - "dev": true, - "requires": { - "error-ex": "^1.3.1", - "json-parse-better-errors": "^1.0.1" - } - }, - "path-dirname": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/path-dirname/-/path-dirname-1.0.2.tgz", - "integrity": "sha1-zDPSTVJeCZpTiMAzbG4yuRYGCeA=", - "dev": true - }, - "path-exists": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-3.0.0.tgz", - "integrity": "sha1-zg6+ql94yxiSXqfYENe1mwEP1RU=", - "dev": true - }, - "path-is-absolute": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", - "integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18=", - "dev": true - }, - "path-key": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/path-key/-/path-key-2.0.1.tgz", - "integrity": "sha1-QRyttXTFoUDTpLGRDUDYDMn0C0A=", - "dev": true - }, - "path-type": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/path-type/-/path-type-3.0.0.tgz", - "integrity": "sha512-T2ZUsdZFHgA3u4e5PfPbjd7HDDpxPnQb5jN0SrDsjNSuVXHJqtwTnWqG0B1jZrgmJ/7lj1EmVIByWt1gxGkWvg==", - "dev": true, - "requires": { - "pify": "^3.0.0" - } - }, - "pify": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/pify/-/pify-3.0.0.tgz", - "integrity": "sha1-5aSs0sEB/fPZpNB/DbxNtJ3SgXY=", - "dev": true - }, - "pinkie": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/pinkie/-/pinkie-2.0.4.tgz", - "integrity": "sha1-clVrgM+g1IqXToDnckjoDtT3+HA=", - "dev": true - }, - "pinkie-promise": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/pinkie-promise/-/pinkie-promise-2.0.1.tgz", - "integrity": "sha1-ITXW36ejWMBprJsXh3YogihFD/o=", - "dev": true, - "requires": { - "pinkie": "^2.0.0" - } - }, - "prepend-http": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/prepend-http/-/prepend-http-1.0.4.tgz", - "integrity": "sha1-1PRWKwzjaW5BrFLQ4ALlemNdxtw=", - "dev": true - }, - "process-nextick-args": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.0.tgz", - "integrity": "sha512-MtEC1TqN0EU5nephaJ4rAtThHtC86dNN9qCuEhtshvpVBkAW5ZO7BASN9REnF9eoXGcRub+pFuKEpOHE+HbEMw==", - "dev": true - }, - "pseudomap": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/pseudomap/-/pseudomap-1.0.2.tgz", - "integrity": "sha1-8FKijacOYYkX7wqKw0wa5aaChrM=", - "dev": true - }, - "q": { - "version": "1.5.1", - "resolved": "https://registry.npmjs.org/q/-/q-1.5.1.tgz", - "integrity": "sha1-fjL3W0E4EpHQRhHxvxQQmsAGUdc=", - "dev": true - }, - "quick-lru": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/quick-lru/-/quick-lru-1.1.0.tgz", - "integrity": "sha1-Q2CxfGETatOAeDl/8RQW4Ybc+7g=", - "dev": true - }, - "rc": { - "version": "1.2.8", - "resolved": "https://registry.npmjs.org/rc/-/rc-1.2.8.tgz", - "integrity": "sha512-y3bGgqKj3QBdxLbLkomlohkvsA8gdAiUQlSBJnBhfn+BPxg4bc62d8TcBW15wavDfgexCgccckhcZvywyQYPOw==", - "dev": true, - "requires": { - "deep-extend": "^0.6.0", - "ini": "~1.3.0", - "minimist": "^1.2.0", - "strip-json-comments": "~2.0.1" - }, - "dependencies": { - "minimist": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.0.tgz", - "integrity": "sha1-o1AIsg9BOD7sH7kU9M1d95omQoQ=", - "dev": true - } - } - }, - "read-cmd-shim": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/read-cmd-shim/-/read-cmd-shim-1.0.1.tgz", - "integrity": "sha1-LV0Vd4ajfAVdIgd8MsU/gynpHHs=", - "dev": true, - "requires": { - "graceful-fs": "^4.1.2" - } - }, - "read-pkg": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-3.0.0.tgz", - "integrity": "sha1-nLxoaXj+5l0WwA4rGcI3/Pbjg4k=", - "dev": true, - "requires": { - "load-json-file": "^4.0.0", - "normalize-package-data": "^2.3.2", - "path-type": "^3.0.0" - } - }, - "read-pkg-up": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-1.0.1.tgz", - "integrity": "sha1-nWPBMnbAZZGNV/ACpX9AobZD+wI=", - "dev": true, - "requires": { - "find-up": "^1.0.0", - "read-pkg": "^1.0.0" - }, - "dependencies": { - "find-up": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/find-up/-/find-up-1.1.2.tgz", - "integrity": "sha1-ay6YIrGizgpgq2TWEOzK1TyyTQ8=", + }, + "external-editor": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/external-editor/-/external-editor-2.2.0.tgz", + "integrity": "sha512-bSn6gvGxKt+b7+6TKEv1ZycHleA7aHhRHyAqJyp5pbUFuYYNIzpZnQDk7AsYckyWdEnTeAnay0aCy2aV6iTk9A==", "dev": true, "requires": { - "path-exists": "^2.0.0", - "pinkie-promise": "^2.0.0" + "chardet": "^0.4.0", + "iconv-lite": "^0.4.17", + "tmp": "^0.0.33" } }, - "load-json-file": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/load-json-file/-/load-json-file-1.1.0.tgz", - "integrity": "sha1-lWkFcI1YtLq0wiYbBPWfMcmTdMA=", + "figures": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/figures/-/figures-2.0.0.tgz", + "integrity": "sha1-OrGi0qYsi/tDGgyUy3l6L84nyWI=", "dev": true, "requires": { - "graceful-fs": "^4.1.2", - "parse-json": "^2.2.0", - "pify": "^2.0.0", - "pinkie-promise": "^2.0.0", - "strip-bom": "^2.0.0" + "escape-string-regexp": "^1.0.5" } }, - "parse-json": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-2.2.0.tgz", - "integrity": "sha1-9ID0BDTvgHQfhGkJn43qGPVaTck=", + "find-up": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-2.1.0.tgz", + "integrity": "sha1-RdG35QbHF93UgndaK3eSCjwMV6c=", "dev": true, "requires": { - "error-ex": "^1.2.0" + "locate-path": "^2.0.0" } }, - "path-exists": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-2.1.0.tgz", - "integrity": "sha1-D+tsZPD8UY2adU3V77YscCJ2H0s=", + "fs-extra": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-4.0.3.tgz", + "integrity": "sha512-q6rbdDd1o2mAnQreO7YADIxf/Whx4AHBiRf6d+/cVT8h44ss+lHgxf1FemcqDnQt9X3ct4McHr+JMGlYSsK7Cg==", "dev": true, "requires": { - "pinkie-promise": "^2.0.0" + "graceful-fs": "^4.1.2", + "jsonfile": "^4.0.0", + "universalify": "^0.1.0" } }, - "path-type": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/path-type/-/path-type-1.1.0.tgz", - "integrity": "sha1-WcRPfuSR2nBNpBXaWkBwuk+P5EE=", + "fs.realpath": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", + "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=", + "dev": true + }, + "gauge": { + "version": "2.7.4", + "resolved": "https://registry.npmjs.org/gauge/-/gauge-2.7.4.tgz", + "integrity": "sha1-LANAXHU4w51+s3sxcCLjJfsBi/c=", + "dev": true, + "requires": { + "aproba": "^1.0.3", + "console-control-strings": "^1.0.0", + "has-unicode": "^2.0.0", + "object-assign": "^4.1.0", + "signal-exit": "^3.0.0", + "string-width": "^1.0.1", + "strip-ansi": "^3.0.1", + "wide-align": "^1.1.0" + }, + "dependencies": { + "is-fullwidth-code-point": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-1.0.0.tgz", + "integrity": "sha1-754xOG8DGn8NZDr4L95QxFfvAMs=", + "dev": true, + "requires": { + "number-is-nan": "^1.0.0" + } + }, + "string-width": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-1.0.2.tgz", + "integrity": "sha1-EYvfW4zcUaKn5w0hHgfisLmxB9M=", + "dev": true, + "requires": { + "code-point-at": "^1.0.0", + "is-fullwidth-code-point": "^1.0.0", + "strip-ansi": "^3.0.0" + } + } + } + }, + "get-caller-file": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-1.0.3.tgz", + "integrity": "sha512-3t6rVToeoZfYSGd8YoLFR2DJkiQrIiUrGcjvFX2mDw3bn6k2OtwHN0TNCLbBO+w8qTvimhDkv+LSscbJY1vE6w==", + "dev": true + }, + "get-pkg-repo": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/get-pkg-repo/-/get-pkg-repo-1.4.0.tgz", + "integrity": "sha1-xztInAbYDMVTbCyFP54FIyBWly0=", + "dev": true, + "requires": { + "hosted-git-info": "^2.1.4", + "meow": "^3.3.0", + "normalize-package-data": "^2.3.0", + "parse-github-repo-url": "^1.3.0", + "through2": "^2.0.0" + }, + "dependencies": { + "camelcase": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-2.1.1.tgz", + "integrity": "sha1-fB0W1nmhu+WcoCys7PsBHiAfWh8=", + "dev": true + }, + "camelcase-keys": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/camelcase-keys/-/camelcase-keys-2.1.0.tgz", + "integrity": "sha1-MIvur/3ygRkFHvodkyITyRuPkuc=", + "dev": true, + "requires": { + "camelcase": "^2.0.0", + "map-obj": "^1.0.0" + } + }, + "indent-string": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/indent-string/-/indent-string-2.1.0.tgz", + "integrity": "sha1-ji1INIdCEhtKghi3oTfppSBJ3IA=", + "dev": true, + "requires": { + "repeating": "^2.0.0" + } + }, + "map-obj": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/map-obj/-/map-obj-1.0.1.tgz", + "integrity": "sha1-2TPOuSBdgr3PSIb2dCvcK03qFG0=", + "dev": true + }, + "meow": { + "version": "3.7.0", + "resolved": "https://registry.npmjs.org/meow/-/meow-3.7.0.tgz", + "integrity": "sha1-cstmi0JSKCkKu/qFaJJYcwioAfs=", + "dev": true, + "requires": { + "camelcase-keys": "^2.0.0", + "decamelize": "^1.1.2", + "loud-rejection": "^1.0.0", + "map-obj": "^1.0.1", + "minimist": "^1.1.3", + "normalize-package-data": "^2.3.4", + "object-assign": "^4.0.1", + "read-pkg-up": "^1.0.1", + "redent": "^1.0.0", + "trim-newlines": "^1.0.0" + } + }, + "minimist": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.0.tgz", + "integrity": "sha1-o1AIsg9BOD7sH7kU9M1d95omQoQ=", + "dev": true + }, + "redent": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/redent/-/redent-1.0.0.tgz", + "integrity": "sha1-z5Fqsf1fHxbfsggi3W7H9zDCr94=", + "dev": true, + "requires": { + "indent-string": "^2.1.0", + "strip-indent": "^1.0.1" + } + }, + "strip-indent": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/strip-indent/-/strip-indent-1.0.1.tgz", + "integrity": "sha1-DHlipq3vp7vUrDZkYKY4VSrhoKI=", + "dev": true, + "requires": { + "get-stdin": "^4.0.1" + } + }, + "trim-newlines": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/trim-newlines/-/trim-newlines-1.0.0.tgz", + "integrity": "sha1-WIeWa7WCpFA6QetST301ARgVphM=", + "dev": true + } + } + }, + "get-port": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/get-port/-/get-port-3.2.0.tgz", + "integrity": "sha1-3Xzn3hh8Bsi/NTeWrHHgmfCYDrw=", + "dev": true + }, + "get-stdin": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/get-stdin/-/get-stdin-4.0.1.tgz", + "integrity": "sha1-uWjGsKBDhDJJAui/Gl3zJXmkUP4=", + "dev": true + }, + "get-stream": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-3.0.0.tgz", + "integrity": "sha1-jpQ9E1jcN1VQVOy+LtsFqhdO3hQ=", + "dev": true + }, + "git-raw-commits": { + "version": "1.3.6", + "resolved": "https://registry.npmjs.org/git-raw-commits/-/git-raw-commits-1.3.6.tgz", + "integrity": "sha512-svsK26tQ8vEKnMshTDatSIQSMDdz8CxIIqKsvPqbtV23Etmw6VNaFAitu8zwZ0VrOne7FztwPyRLxK7/DIUTQg==", + "dev": true, + "requires": { + "dargs": "^4.0.1", + "lodash.template": "^4.0.2", + "meow": "^4.0.0", + "split2": "^2.0.0", + "through2": "^2.0.0" + } + }, + "git-remote-origin-url": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/git-remote-origin-url/-/git-remote-origin-url-2.0.0.tgz", + "integrity": "sha1-UoJlna4hBxRaERJhEq0yFuxfpl8=", + "dev": true, + "requires": { + "gitconfiglocal": "^1.0.0", + "pify": "^2.3.0" + }, + "dependencies": { + "pify": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz", + "integrity": "sha1-7RQaasBDqEnqWISY59yosVMw6Qw=", + "dev": true + } + } + }, + "git-semver-tags": { + "version": "1.3.6", + "resolved": "https://registry.npmjs.org/git-semver-tags/-/git-semver-tags-1.3.6.tgz", + "integrity": "sha512-2jHlJnln4D/ECk9FxGEBh3k44wgYdWjWDtMmJPaecjoRmxKo3Y1Lh8GMYuOPu04CHw86NTAODchYjC5pnpMQig==", + "dev": true, + "requires": { + "meow": "^4.0.0", + "semver": "^5.5.0" + } + }, + "gitconfiglocal": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/gitconfiglocal/-/gitconfiglocal-1.0.0.tgz", + "integrity": "sha1-QdBF84UaXqiPA/JMocYXgRRGS5s=", + "dev": true, + "requires": { + "ini": "^1.3.2" + } + }, + "glob": { + "version": "7.1.2", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.2.tgz", + "integrity": "sha512-MJTUg1kjuLeQCJ+ccE4Vpa6kKVXkPYJ2mOCQyUuKLcLQsdrMCpBPUi8qVE6+YuaJkozeA9NusTAw3hLr8Xe5EQ==", + "dev": true, + "requires": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.0.4", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" + } + }, + "glob-parent": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-3.1.0.tgz", + "integrity": "sha1-nmr2KZ2NO9K9QEMIMr0RPfkGxa4=", + "dev": true, + "requires": { + "is-glob": "^3.1.0", + "path-dirname": "^1.0.0" + } + }, + "globby": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/globby/-/globby-6.1.0.tgz", + "integrity": "sha1-9abXDoOV4hyFj7BInWTfAkJNUGw=", + "dev": true, + "requires": { + "array-union": "^1.0.1", + "glob": "^7.0.3", + "object-assign": "^4.0.1", + "pify": "^2.0.0", + "pinkie-promise": "^2.0.0" + }, + "dependencies": { + "pify": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz", + "integrity": "sha1-7RQaasBDqEnqWISY59yosVMw6Qw=", + "dev": true + } + } + }, + "got": { + "version": "6.7.1", + "resolved": "https://registry.npmjs.org/got/-/got-6.7.1.tgz", + "integrity": "sha1-JAzQV4WpoY5WHcG0S0HHY+8ejbA=", + "dev": true, + "requires": { + "create-error-class": "^3.0.0", + "duplexer3": "^0.1.4", + "get-stream": "^3.0.0", + "is-redirect": "^1.0.0", + "is-retry-allowed": "^1.0.0", + "is-stream": "^1.0.0", + "lowercase-keys": "^1.0.0", + "safe-buffer": "^5.0.1", + "timed-out": "^4.0.0", + "unzip-response": "^2.0.1", + "url-parse-lax": "^1.0.0" + } + }, + "graceful-fs": { + "version": "4.1.11", + "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.1.11.tgz", + "integrity": "sha1-Dovf5NHduIVNZOBOp8AOKgJuVlg=", + "dev": true + }, + "handlebars": { + "version": "4.0.11", + "resolved": "https://registry.npmjs.org/handlebars/-/handlebars-4.0.11.tgz", + "integrity": "sha1-Ywo13+ApS8KB7a5v/F0yn8eYLcw=", + "dev": true, + "requires": { + "async": "^1.4.0", + "optimist": "^0.6.1", + "source-map": "^0.4.4", + "uglify-js": "^2.6" + } + }, + "has-flag": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", + "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=", + "dev": true + }, + "has-unicode": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/has-unicode/-/has-unicode-2.0.1.tgz", + "integrity": "sha1-4Ob+aijPUROIVeCG0Wkedx3iqLk=", + "dev": true + }, + "hosted-git-info": { + "version": "2.7.1", + "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.7.1.tgz", + "integrity": "sha512-7T/BxH19zbcCTa8XkMlbK5lTo1WtgkFi3GvdWEyNuc4Vex7/9Dqbnpsf4JMydcfj9HCg4zUWFTL3Za6lapg5/w==", + "dev": true + }, + "iconv-lite": { + "version": "0.4.23", + "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.23.tgz", + "integrity": "sha512-neyTUVFtahjf0mB3dZT77u+8O0QB89jFdnBkd5P1JgYPbPaia3gXXOVL2fq8VyU2gMMD7SaN7QukTB/pmXYvDA==", + "dev": true, + "requires": { + "safer-buffer": ">= 2.1.2 < 3" + } + }, + "imurmurhash": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz", + "integrity": "sha1-khi5srkoojixPcT7a21XbyMUU+o=", + "dev": true + }, + "indent-string": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/indent-string/-/indent-string-3.2.0.tgz", + "integrity": "sha1-Sl/W0nzDMvN+VBmlBNu4NxBckok=", + "dev": true + }, + "inflight": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", + "integrity": "sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=", + "dev": true, + "requires": { + "once": "^1.3.0", + "wrappy": "1" + } + }, + "inherits": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz", + "integrity": "sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4=", + "dev": true + }, + "ini": { + "version": "1.3.5", + "resolved": "https://registry.npmjs.org/ini/-/ini-1.3.5.tgz", + "integrity": "sha512-RZY5huIKCMRWDUqZlEi72f/lmXKMvuszcMBduliQ3nnWbx9X/ZBQO7DijMEYS9EhHBb2qacRUMtC7svLwe0lcw==", + "dev": true + }, + "inquirer": { + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/inquirer/-/inquirer-3.3.0.tgz", + "integrity": "sha512-h+xtnyk4EwKvFWHrUYsWErEVR+igKtLdchu+o0Z1RL7VU/jVMFbYir2bp6bAj8efFNxWqHX0dIss6fJQ+/+qeQ==", + "dev": true, + "requires": { + "ansi-escapes": "^3.0.0", + "chalk": "^2.0.0", + "cli-cursor": "^2.1.0", + "cli-width": "^2.0.0", + "external-editor": "^2.0.4", + "figures": "^2.0.0", + "lodash": "^4.3.0", + "mute-stream": "0.0.7", + "run-async": "^2.2.0", + "rx-lite": "^4.0.8", + "rx-lite-aggregates": "^4.0.8", + "string-width": "^2.1.0", + "strip-ansi": "^4.0.0", + "through": "^2.3.6" + }, + "dependencies": { + "ansi-regex": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-3.0.0.tgz", + "integrity": "sha1-7QMXwyIGT3lGbAKWa922Bas32Zg=", + "dev": true + }, + "strip-ansi": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-4.0.0.tgz", + "integrity": "sha1-qEeQIusaw2iocTibY1JixQXuNo8=", + "dev": true, + "requires": { + "ansi-regex": "^3.0.0" + } + } + } + }, + "invert-kv": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/invert-kv/-/invert-kv-1.0.0.tgz", + "integrity": "sha1-EEqOSqym09jNFXqO+L+rLXo//bY=", + "dev": true + }, + "is-arrayish": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz", + "integrity": "sha1-d8mYQFJ6qOyxqLppe4BkWnqSap0=", + "dev": true + }, + "is-buffer": { + "version": "1.1.6", + "resolved": "https://registry.npmjs.org/is-buffer/-/is-buffer-1.1.6.tgz", + "integrity": "sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w==", + "dev": true + }, + "is-builtin-module": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-builtin-module/-/is-builtin-module-1.0.0.tgz", + "integrity": "sha1-VAVy0096wxGfj3bDDLwbHgN6/74=", + "dev": true, + "requires": { + "builtin-modules": "^1.0.0" + } + }, + "is-ci": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/is-ci/-/is-ci-1.1.0.tgz", + "integrity": "sha512-c7TnwxLePuqIlxHgr7xtxzycJPegNHFuIrBkwbf8hc58//+Op1CqFkyS+xnIMkwn9UsJIwc174BIjkyBmSpjKg==", + "dev": true, + "requires": { + "ci-info": "^1.0.0" + } + }, + "is-extglob": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", + "integrity": "sha1-qIwCU1eR8C7TfHahueqXc8gz+MI=", + "dev": true + }, + "is-finite": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/is-finite/-/is-finite-1.0.2.tgz", + "integrity": "sha1-zGZ3aVYCvlUO8R6LSqYwU0K20Ko=", + "dev": true, + "requires": { + "number-is-nan": "^1.0.0" + } + }, + "is-fullwidth-code-point": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz", + "integrity": "sha1-o7MKXE8ZkYMWeqq5O+764937ZU8=", + "dev": true + }, + "is-glob": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-3.1.0.tgz", + "integrity": "sha1-e6WuJCF4BKxwcHuWkiVnSGzD6Eo=", + "dev": true, + "requires": { + "is-extglob": "^2.1.0" + } + }, + "is-obj": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/is-obj/-/is-obj-1.0.1.tgz", + "integrity": "sha1-PkcprB9f3gJc19g6iW2rn09n2w8=", + "dev": true + }, + "is-plain-obj": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-1.1.0.tgz", + "integrity": "sha1-caUMhCnfync8kqOQpKA7OfzVHT4=", + "dev": true + }, + "is-promise": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/is-promise/-/is-promise-2.1.0.tgz", + "integrity": "sha1-eaKp7OfwlugPNtKy87wWwf9L8/o=", + "dev": true + }, + "is-redirect": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-redirect/-/is-redirect-1.0.0.tgz", + "integrity": "sha1-HQPd7VO9jbDzDCbk+V02/HyH3CQ=", + "dev": true + }, + "is-retry-allowed": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/is-retry-allowed/-/is-retry-allowed-1.1.0.tgz", + "integrity": "sha1-EaBgVotnM5REAz0BJaYaINVk+zQ=", + "dev": true + }, + "is-stream": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-1.1.0.tgz", + "integrity": "sha1-EtSj3U5o4Lec6428hBc66A2RykQ=", + "dev": true + }, + "is-subset": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/is-subset/-/is-subset-0.1.1.tgz", + "integrity": "sha1-ilkRfZMt4d4A8kX83TnOQ/HpOaY=", + "dev": true + }, + "is-text-path": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/is-text-path/-/is-text-path-1.0.1.tgz", + "integrity": "sha1-Thqg+1G/vLPpJogAE5cgLBd1tm4=", + "dev": true, + "requires": { + "text-extensions": "^1.0.0" + } + }, + "is-utf8": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/is-utf8/-/is-utf8-0.2.1.tgz", + "integrity": "sha1-Sw2hRCEE0bM2NA6AeX6GXPOffXI=", + "dev": true + }, + "isarray": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", + "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=", + "dev": true + }, + "isexe": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", + "integrity": "sha1-6PvzdNxVb/iUehDcsFctYz8s+hA=", + "dev": true + }, + "json-parse-better-errors": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/json-parse-better-errors/-/json-parse-better-errors-1.0.2.tgz", + "integrity": "sha512-mrqyZKfX5EhL7hvqcV6WG1yYjnjeuYDzDhhcAAUrq8Po85NBQBJP+ZDUT75qZQ98IkUoBqdkExkukOU7Ts2wrw==", + "dev": true + }, + "json-stringify-safe": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz", + "integrity": "sha1-Epai1Y/UXxmg9s4B1lcB4sc1tus=", + "dev": true + }, + "jsonfile": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-4.0.0.tgz", + "integrity": "sha1-h3Gq4HmbZAdrdmQPygWPnBDjPss=", + "dev": true, + "requires": { + "graceful-fs": "^4.1.6" + } + }, + "jsonparse": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/jsonparse/-/jsonparse-1.3.1.tgz", + "integrity": "sha1-P02uSpH6wxX3EGL4UhzCOfE2YoA=", + "dev": true + }, + "kind-of": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", + "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", + "dev": true, + "requires": { + "is-buffer": "^1.1.5" + } + }, + "lazy-cache": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/lazy-cache/-/lazy-cache-1.0.4.tgz", + "integrity": "sha1-odePw6UEdMuAhF07O24dpJpEbo4=", + "dev": true, + "optional": true + }, + "lcid": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/lcid/-/lcid-1.0.0.tgz", + "integrity": "sha1-MIrMr6C8SDo4Z7S28rlQYlHRuDU=", + "dev": true, + "requires": { + "invert-kv": "^1.0.0" + } + }, + "load-json-file": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/load-json-file/-/load-json-file-4.0.0.tgz", + "integrity": "sha1-L19Fq5HjMhYjT9U62rZo607AmTs=", + "dev": true, + "requires": { + "graceful-fs": "^4.1.2", + "parse-json": "^4.0.0", + "pify": "^3.0.0", + "strip-bom": "^3.0.0" + } + }, + "locate-path": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-2.0.0.tgz", + "integrity": "sha1-K1aLJl7slExtnA3pw9u7ygNUzY4=", + "dev": true, + "requires": { + "p-locate": "^2.0.0", + "path-exists": "^3.0.0" + } + }, + "lodash": { + "version": "4.17.10", + "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.10.tgz", + "integrity": "sha512-UejweD1pDoXu+AD825lWwp4ZGtSwgnpZxb3JDViD7StjQz+Nb/6l093lx4OQ0foGWNRoc19mWy7BzL+UAK2iVg==", + "dev": true + }, + "lodash._reinterpolate": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/lodash._reinterpolate/-/lodash._reinterpolate-3.0.0.tgz", + "integrity": "sha1-DM8tiRZq8Ds2Y8eWU4t1rG4RTZ0=", + "dev": true + }, + "lodash.template": { + "version": "4.4.0", + "resolved": "https://registry.npmjs.org/lodash.template/-/lodash.template-4.4.0.tgz", + "integrity": "sha1-5zoDhcg1VZF0bgILmWecaQ5o+6A=", + "dev": true, + "requires": { + "lodash._reinterpolate": "~3.0.0", + "lodash.templatesettings": "^4.0.0" + } + }, + "lodash.templatesettings": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/lodash.templatesettings/-/lodash.templatesettings-4.1.0.tgz", + "integrity": "sha1-K01OlbpEDZFf8IvImeRVNmZxMxY=", + "dev": true, + "requires": { + "lodash._reinterpolate": "~3.0.0" + } + }, + "longest": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/longest/-/longest-1.0.1.tgz", + "integrity": "sha1-MKCy2jj3N3DoKUoNIuZiXtd9AJc=", + "dev": true + }, + "loud-rejection": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/loud-rejection/-/loud-rejection-1.6.0.tgz", + "integrity": "sha1-W0b4AUft7leIcPCG0Eghz5mOVR8=", + "dev": true, + "requires": { + "currently-unhandled": "^0.4.1", + "signal-exit": "^3.0.0" + } + }, + "lowercase-keys": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/lowercase-keys/-/lowercase-keys-1.0.1.tgz", + "integrity": "sha512-G2Lj61tXDnVFFOi8VZds+SoQjtQC3dgokKdDG2mTm1tx4m50NUHBOZSBwQQHyy0V12A0JTG4icfZQH+xPyh8VA==", + "dev": true + }, + "lru-cache": { + "version": "4.1.3", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-4.1.3.tgz", + "integrity": "sha512-fFEhvcgzuIoJVUF8fYr5KR0YqxD238zgObTps31YdADwPPAp82a4M8TrckkWyx7ekNlf9aBcVn81cFwwXngrJA==", + "dev": true, + "requires": { + "pseudomap": "^1.0.2", + "yallist": "^2.1.2" + } + }, + "make-dir": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-1.3.0.tgz", + "integrity": "sha512-2w31R7SJtieJJnQtGc7RVL2StM2vGYVfqUOvUDxH6bC6aJTxPxTF0GnIgCyu7tjockiUWAYQRbxa7vKn34s5sQ==", + "dev": true, + "requires": { + "pify": "^3.0.0" + } + }, + "map-obj": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/map-obj/-/map-obj-2.0.0.tgz", + "integrity": "sha1-plzSkIepJZi4eRJXpSPgISIqwfk=", + "dev": true + }, + "mem": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/mem/-/mem-1.1.0.tgz", + "integrity": "sha1-Xt1StIXKHZAP5kiVUFOZoN+kX3Y=", + "dev": true, + "requires": { + "mimic-fn": "^1.0.0" + } + }, + "meow": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/meow/-/meow-4.0.1.tgz", + "integrity": "sha512-xcSBHD5Z86zaOc+781KrupuHAzeGXSLtiAOmBsiLDiPSaYSB6hdew2ng9EBAnZ62jagG9MHAOdxpDi/lWBFJ/A==", + "dev": true, + "requires": { + "camelcase-keys": "^4.0.0", + "decamelize-keys": "^1.0.0", + "loud-rejection": "^1.0.0", + "minimist": "^1.1.3", + "minimist-options": "^3.0.1", + "normalize-package-data": "^2.3.4", + "read-pkg-up": "^3.0.0", + "redent": "^2.0.0", + "trim-newlines": "^2.0.0" + }, + "dependencies": { + "minimist": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.0.tgz", + "integrity": "sha1-o1AIsg9BOD7sH7kU9M1d95omQoQ=", + "dev": true + }, + "read-pkg-up": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-3.0.0.tgz", + "integrity": "sha1-PtSWaF26D4/hGNBpHcUfSh/5bwc=", + "dev": true, + "requires": { + "find-up": "^2.0.0", + "read-pkg": "^3.0.0" + } + } + } + }, + "mimic-fn": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-1.2.0.tgz", + "integrity": "sha512-jf84uxzwiuiIVKiOLpfYk7N46TSy8ubTonmneY9vrpHNAnp0QBt2BxWV9dO3/j+BoVAb+a5G6YDPW3M5HOdMWQ==", + "dev": true + }, + "minimatch": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz", + "integrity": "sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==", + "dev": true, + "requires": { + "brace-expansion": "^1.1.7" + } + }, + "minimist": { + "version": "0.0.8", + "resolved": "https://registry.npmjs.org/minimist/-/minimist-0.0.8.tgz", + "integrity": "sha1-hX/Kv8M5fSYluCKCYuhqp6ARsF0=", + "dev": true + }, + "minimist-options": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/minimist-options/-/minimist-options-3.0.2.tgz", + "integrity": "sha512-FyBrT/d0d4+uiZRbqznPXqw3IpZZG3gl3wKWiX784FycUKVwBt0uLBFkQrtE4tZOrgo78nZp2jnKz3L65T5LdQ==", + "dev": true, + "requires": { + "arrify": "^1.0.1", + "is-plain-obj": "^1.1.0" + } + }, + "mkdirp": { + "version": "0.5.1", + "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.1.tgz", + "integrity": "sha1-MAV0OOrGz3+MR2fzhkjWaX11yQM=", + "dev": true, + "requires": { + "minimist": "0.0.8" + } + }, + "modify-values": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/modify-values/-/modify-values-1.0.1.tgz", + "integrity": "sha512-xV2bxeN6F7oYjZWTe/YPAy6MN2M+sL4u/Rlm2AHCIVGfo2p1yGmBHQ6vHehl4bRTZBdHu3TSkWdYgkwpYzAGSw==", + "dev": true + }, + "moment": { + "version": "2.22.2", + "resolved": "https://registry.npmjs.org/moment/-/moment-2.22.2.tgz", + "integrity": "sha1-PCV/mDn8DpP/UxSWMiOeuQeD/2Y=", + "dev": true + }, + "mute-stream": { + "version": "0.0.7", + "resolved": "https://registry.npmjs.org/mute-stream/-/mute-stream-0.0.7.tgz", + "integrity": "sha1-MHXOk7whuPq0PhvE2n6BFe0ee6s=", + "dev": true + }, + "normalize-package-data": { + "version": "2.4.0", + "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-2.4.0.tgz", + "integrity": "sha512-9jjUFbTPfEy3R/ad/2oNbKtW9Hgovl5O1FvFWKkKblNXoN/Oou6+9+KKohPK13Yc3/TyunyWhJp6gvRNR/PPAw==", + "dev": true, + "requires": { + "hosted-git-info": "^2.1.4", + "is-builtin-module": "^1.0.0", + "semver": "2 || 3 || 4 || 5", + "validate-npm-package-license": "^3.0.1" + } + }, + "npm-run-path": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-2.0.2.tgz", + "integrity": "sha1-NakjLfo11wZ7TLLd8jV7GHFTbF8=", + "dev": true, + "requires": { + "path-key": "^2.0.0" + } + }, + "npmlog": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/npmlog/-/npmlog-4.1.2.tgz", + "integrity": "sha512-2uUqazuKlTaSI/dC8AzicUck7+IrEaOnN/e0jd3Xtt1KcGpwx30v50mL7oPyr/h9bL3E4aZccVwpwP+5W9Vjkg==", + "dev": true, + "requires": { + "are-we-there-yet": "~1.1.2", + "console-control-strings": "~1.1.0", + "gauge": "~2.7.3", + "set-blocking": "~2.0.0" + } + }, + "number-is-nan": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/number-is-nan/-/number-is-nan-1.0.1.tgz", + "integrity": "sha1-CXtgK1NCKlIsGvuHkDGDNpQaAR0=", + "dev": true + }, + "object-assign": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", + "integrity": "sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM=", + "dev": true + }, + "once": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", + "integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=", + "dev": true, + "requires": { + "wrappy": "1" + } + }, + "onetime": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/onetime/-/onetime-2.0.1.tgz", + "integrity": "sha1-BnQoIw/WdEOyeUsiu6UotoZ5YtQ=", + "dev": true, + "requires": { + "mimic-fn": "^1.0.0" + } + }, + "optimist": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/optimist/-/optimist-0.6.1.tgz", + "integrity": "sha1-2j6nRob6IaGaERwybpDrFaAZZoY=", + "dev": true, + "requires": { + "minimist": "~0.0.1", + "wordwrap": "~0.0.2" + } + }, + "os-locale": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/os-locale/-/os-locale-2.1.0.tgz", + "integrity": "sha512-3sslG3zJbEYcaC4YVAvDorjGxc7tv6KVATnLPZONiljsUncvihe9BQoVCEs0RZ1kmf4Hk9OBqlZfJZWI4GanKA==", + "dev": true, + "requires": { + "execa": "^0.7.0", + "lcid": "^1.0.0", + "mem": "^1.1.0" + }, + "dependencies": { + "execa": { + "version": "0.7.0", + "resolved": "https://registry.npmjs.org/execa/-/execa-0.7.0.tgz", + "integrity": "sha1-lEvs00zEHuMqY6n68nrVpl/Fl3c=", + "dev": true, + "requires": { + "cross-spawn": "^5.0.1", + "get-stream": "^3.0.0", + "is-stream": "^1.1.0", + "npm-run-path": "^2.0.0", + "p-finally": "^1.0.0", + "signal-exit": "^3.0.0", + "strip-eof": "^1.0.0" + } + } + } + }, + "os-tmpdir": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/os-tmpdir/-/os-tmpdir-1.0.2.tgz", + "integrity": "sha1-u+Z0BseaqFxc/sdm/lc0VV36EnQ=", + "dev": true + }, + "p-finally": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/p-finally/-/p-finally-1.0.0.tgz", + "integrity": "sha1-P7z7FbiZpEEjs0ttzBi3JDNqLK4=", + "dev": true + }, + "p-limit": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-1.3.0.tgz", + "integrity": "sha512-vvcXsLAJ9Dr5rQOPk7toZQZJApBl2K4J6dANSsEuh6QI41JYcsS/qhTGa9ErIUUgK3WNQoJYvylxvjqmiqEA9Q==", + "dev": true, + "requires": { + "p-try": "^1.0.0" + } + }, + "p-locate": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-2.0.0.tgz", + "integrity": "sha1-IKAQOyIqcMj9OcwuWAaA893l7EM=", + "dev": true, + "requires": { + "p-limit": "^1.1.0" + } + }, + "p-try": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/p-try/-/p-try-1.0.0.tgz", + "integrity": "sha1-y8ec26+P1CKOE/Yh8rGiN8GyB7M=", + "dev": true + }, + "package-json": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/package-json/-/package-json-4.0.1.tgz", + "integrity": "sha1-iGmgQBJTZhxMTKPabCEh7VVfXu0=", + "dev": true, + "requires": { + "got": "^6.7.1", + "registry-auth-token": "^3.0.1", + "registry-url": "^3.0.3", + "semver": "^5.1.0" + } + }, + "parse-github-repo-url": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/parse-github-repo-url/-/parse-github-repo-url-1.4.1.tgz", + "integrity": "sha1-nn2LslKmy2ukJZUGC3v23z28H1A=", + "dev": true + }, + "parse-json": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-4.0.0.tgz", + "integrity": "sha1-vjX1Qlvh9/bHRxhPmKeIy5lHfuA=", + "dev": true, + "requires": { + "error-ex": "^1.3.1", + "json-parse-better-errors": "^1.0.1" + } + }, + "path-dirname": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/path-dirname/-/path-dirname-1.0.2.tgz", + "integrity": "sha1-zDPSTVJeCZpTiMAzbG4yuRYGCeA=", + "dev": true + }, + "path-exists": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-3.0.0.tgz", + "integrity": "sha1-zg6+ql94yxiSXqfYENe1mwEP1RU=", + "dev": true + }, + "path-is-absolute": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", + "integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18=", + "dev": true + }, + "path-key": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/path-key/-/path-key-2.0.1.tgz", + "integrity": "sha1-QRyttXTFoUDTpLGRDUDYDMn0C0A=", + "dev": true + }, + "path-type": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/path-type/-/path-type-3.0.0.tgz", + "integrity": "sha512-T2ZUsdZFHgA3u4e5PfPbjd7HDDpxPnQb5jN0SrDsjNSuVXHJqtwTnWqG0B1jZrgmJ/7lj1EmVIByWt1gxGkWvg==", + "dev": true, + "requires": { + "pify": "^3.0.0" + } + }, + "pify": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/pify/-/pify-3.0.0.tgz", + "integrity": "sha1-5aSs0sEB/fPZpNB/DbxNtJ3SgXY=", + "dev": true + }, + "pinkie": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/pinkie/-/pinkie-2.0.4.tgz", + "integrity": "sha1-clVrgM+g1IqXToDnckjoDtT3+HA=", + "dev": true + }, + "pinkie-promise": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/pinkie-promise/-/pinkie-promise-2.0.1.tgz", + "integrity": "sha1-ITXW36ejWMBprJsXh3YogihFD/o=", + "dev": true, + "requires": { + "pinkie": "^2.0.0" + } + }, + "prepend-http": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/prepend-http/-/prepend-http-1.0.4.tgz", + "integrity": "sha1-1PRWKwzjaW5BrFLQ4ALlemNdxtw=", + "dev": true + }, + "process-nextick-args": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.0.tgz", + "integrity": "sha512-MtEC1TqN0EU5nephaJ4rAtThHtC86dNN9qCuEhtshvpVBkAW5ZO7BASN9REnF9eoXGcRub+pFuKEpOHE+HbEMw==", + "dev": true + }, + "pseudomap": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/pseudomap/-/pseudomap-1.0.2.tgz", + "integrity": "sha1-8FKijacOYYkX7wqKw0wa5aaChrM=", + "dev": true + }, + "q": { + "version": "1.5.1", + "resolved": "https://registry.npmjs.org/q/-/q-1.5.1.tgz", + "integrity": "sha1-fjL3W0E4EpHQRhHxvxQQmsAGUdc=", + "dev": true + }, + "quick-lru": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/quick-lru/-/quick-lru-1.1.0.tgz", + "integrity": "sha1-Q2CxfGETatOAeDl/8RQW4Ybc+7g=", + "dev": true + }, + "rc": { + "version": "1.2.8", + "resolved": "https://registry.npmjs.org/rc/-/rc-1.2.8.tgz", + "integrity": "sha512-y3bGgqKj3QBdxLbLkomlohkvsA8gdAiUQlSBJnBhfn+BPxg4bc62d8TcBW15wavDfgexCgccckhcZvywyQYPOw==", + "dev": true, + "requires": { + "deep-extend": "^0.6.0", + "ini": "~1.3.0", + "minimist": "^1.2.0", + "strip-json-comments": "~2.0.1" + }, + "dependencies": { + "minimist": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.0.tgz", + "integrity": "sha1-o1AIsg9BOD7sH7kU9M1d95omQoQ=", + "dev": true + } + } + }, + "read-cmd-shim": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/read-cmd-shim/-/read-cmd-shim-1.0.1.tgz", + "integrity": "sha1-LV0Vd4ajfAVdIgd8MsU/gynpHHs=", + "dev": true, + "requires": { + "graceful-fs": "^4.1.2" + } + }, + "read-pkg": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-3.0.0.tgz", + "integrity": "sha1-nLxoaXj+5l0WwA4rGcI3/Pbjg4k=", + "dev": true, + "requires": { + "load-json-file": "^4.0.0", + "normalize-package-data": "^2.3.2", + "path-type": "^3.0.0" + } + }, + "read-pkg-up": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-1.0.1.tgz", + "integrity": "sha1-nWPBMnbAZZGNV/ACpX9AobZD+wI=", + "dev": true, + "requires": { + "find-up": "^1.0.0", + "read-pkg": "^1.0.0" + }, + "dependencies": { + "find-up": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-1.1.2.tgz", + "integrity": "sha1-ay6YIrGizgpgq2TWEOzK1TyyTQ8=", + "dev": true, + "requires": { + "path-exists": "^2.0.0", + "pinkie-promise": "^2.0.0" + } + }, + "load-json-file": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/load-json-file/-/load-json-file-1.1.0.tgz", + "integrity": "sha1-lWkFcI1YtLq0wiYbBPWfMcmTdMA=", + "dev": true, + "requires": { + "graceful-fs": "^4.1.2", + "parse-json": "^2.2.0", + "pify": "^2.0.0", + "pinkie-promise": "^2.0.0", + "strip-bom": "^2.0.0" + } + }, + "parse-json": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-2.2.0.tgz", + "integrity": "sha1-9ID0BDTvgHQfhGkJn43qGPVaTck=", + "dev": true, + "requires": { + "error-ex": "^1.2.0" + } + }, + "path-exists": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-2.1.0.tgz", + "integrity": "sha1-D+tsZPD8UY2adU3V77YscCJ2H0s=", + "dev": true, + "requires": { + "pinkie-promise": "^2.0.0" + } + }, + "path-type": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/path-type/-/path-type-1.1.0.tgz", + "integrity": "sha1-WcRPfuSR2nBNpBXaWkBwuk+P5EE=", + "dev": true, + "requires": { + "graceful-fs": "^4.1.2", + "pify": "^2.0.0", + "pinkie-promise": "^2.0.0" + } + }, + "pify": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz", + "integrity": "sha1-7RQaasBDqEnqWISY59yosVMw6Qw=", + "dev": true + }, + "read-pkg": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-1.1.0.tgz", + "integrity": "sha1-9f+qXs0pyzHAR0vKfXVra7KePyg=", + "dev": true, + "requires": { + "load-json-file": "^1.0.0", + "normalize-package-data": "^2.3.2", + "path-type": "^1.0.0" + } + }, + "strip-bom": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-2.0.0.tgz", + "integrity": "sha1-YhmoVhZSBJHzV4i9vxRHqZx+aw4=", + "dev": true, + "requires": { + "is-utf8": "^0.2.0" + } + } + } + }, + "readable-stream": { + "version": "2.3.6", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.6.tgz", + "integrity": "sha512-tQtKA9WIAhBF3+VLAseyMqZeBjW0AHJoxOtYqSUZNJxauErmLbVm2FW1y+J/YA9dUrAC39ITejlZWhVIwawkKw==", + "dev": true, + "requires": { + "core-util-is": "~1.0.0", + "inherits": "~2.0.3", + "isarray": "~1.0.0", + "process-nextick-args": "~2.0.0", + "safe-buffer": "~5.1.1", + "string_decoder": "~1.1.1", + "util-deprecate": "~1.0.1" + } + }, + "redent": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/redent/-/redent-2.0.0.tgz", + "integrity": "sha1-wbIAe0LVfrE4kHmzyDM2OdXhzKo=", + "dev": true, + "requires": { + "indent-string": "^3.0.0", + "strip-indent": "^2.0.0" + } + }, + "registry-auth-token": { + "version": "3.3.2", + "resolved": "https://registry.npmjs.org/registry-auth-token/-/registry-auth-token-3.3.2.tgz", + "integrity": "sha512-JL39c60XlzCVgNrO+qq68FoNb56w/m7JYvGR2jT5iR1xBrUA3Mfx5Twk5rqTThPmQKMWydGmq8oFtDlxfrmxnQ==", + "dev": true, + "requires": { + "rc": "^1.1.6", + "safe-buffer": "^5.0.1" + } + }, + "registry-url": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/registry-url/-/registry-url-3.1.0.tgz", + "integrity": "sha1-PU74cPc93h138M+aOBQyRE4XSUI=", + "dev": true, + "requires": { + "rc": "^1.0.1" + } + }, + "repeat-string": { + "version": "1.6.1", + "resolved": "https://registry.npmjs.org/repeat-string/-/repeat-string-1.6.1.tgz", + "integrity": "sha1-jcrkcOHIirwtYA//Sndihtp15jc=", + "dev": true + }, + "repeating": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/repeating/-/repeating-2.0.1.tgz", + "integrity": "sha1-UhTFOpJtNVJwdSf7q0FdvAjQbdo=", + "dev": true, + "requires": { + "is-finite": "^1.0.0" + } + }, + "require-directory": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz", + "integrity": "sha1-jGStX9MNqxyXbiNE/+f3kqam30I=", + "dev": true + }, + "require-main-filename": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/require-main-filename/-/require-main-filename-1.0.1.tgz", + "integrity": "sha1-l/cXtp1IeE9fUmpsWqj/3aBVpNE=", + "dev": true + }, + "restore-cursor": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/restore-cursor/-/restore-cursor-2.0.0.tgz", + "integrity": "sha1-n37ih/gv0ybU/RYpI9YhKe7g368=", + "dev": true, + "requires": { + "onetime": "^2.0.0", + "signal-exit": "^3.0.2" + } + }, + "right-align": { + "version": "0.1.3", + "resolved": "https://registry.npmjs.org/right-align/-/right-align-0.1.3.tgz", + "integrity": "sha1-YTObci/mo1FWiSENJOFMlhSGE+8=", + "dev": true, + "optional": true, + "requires": { + "align-text": "^0.1.1" + } + }, + "rimraf": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.6.2.tgz", + "integrity": "sha512-lreewLK/BlghmxtfH36YYVg1i8IAce4TI7oao75I1g245+6BctqTVQiBP3YUJ9C6DQOXJmkYR9X9fCLtCOJc5w==", + "dev": true, + "requires": { + "glob": "^7.0.5" + } + }, + "run-async": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/run-async/-/run-async-2.3.0.tgz", + "integrity": "sha1-A3GrSuC91yDUFm19/aZP96RFpsA=", + "dev": true, + "requires": { + "is-promise": "^2.1.0" + } + }, + "rx-lite": { + "version": "4.0.8", + "resolved": "https://registry.npmjs.org/rx-lite/-/rx-lite-4.0.8.tgz", + "integrity": "sha1-Cx4Rr4vESDbwSmQH6S2kJGe3lEQ=", + "dev": true + }, + "rx-lite-aggregates": { + "version": "4.0.8", + "resolved": "https://registry.npmjs.org/rx-lite-aggregates/-/rx-lite-aggregates-4.0.8.tgz", + "integrity": "sha1-dTuHqJoRyVRnxKwWJsTvxOBcZ74=", + "dev": true, + "requires": { + "rx-lite": "*" + } + }, + "safe-buffer": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", + "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==", + "dev": true + }, + "safer-buffer": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", + "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==", + "dev": true + }, + "semver": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.5.0.tgz", + "integrity": "sha512-4SJ3dm0WAwWy/NVeioZh5AntkdJoWKxHxcmyP622fOkgHa4z3R0TdBJICINyaSDE6uNwVc8gZr+ZinwZAH4xIA==", + "dev": true + }, + "set-blocking": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/set-blocking/-/set-blocking-2.0.0.tgz", + "integrity": "sha1-BF+XgtARrppoA93TgrJDkrPYkPc=", + "dev": true + }, + "shebang-command": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-1.2.0.tgz", + "integrity": "sha1-RKrGW2lbAzmJaMOfNj/uXer98eo=", + "dev": true, + "requires": { + "shebang-regex": "^1.0.0" + } + }, + "shebang-regex": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-1.0.0.tgz", + "integrity": "sha1-2kL0l0DAtC2yypcoVxyxkMmO/qM=", + "dev": true + }, + "signal-exit": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.2.tgz", + "integrity": "sha1-tf3AjxKH6hF4Yo5BXiUTK3NkbG0=", + "dev": true + }, + "slash": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/slash/-/slash-1.0.0.tgz", + "integrity": "sha1-xB8vbDn8FtHNF61LXYlhFK5HDVU=", + "dev": true + }, + "sort-keys": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/sort-keys/-/sort-keys-2.0.0.tgz", + "integrity": "sha1-ZYU1WEhh7JfXMNbPQYIuH1ZoQSg=", + "dev": true, + "requires": { + "is-plain-obj": "^1.0.0" + } + }, + "source-map": { + "version": "0.4.4", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.4.4.tgz", + "integrity": "sha1-66T12pwNyZneaAMti092FzZSA2s=", + "dev": true, + "requires": { + "amdefine": ">=0.0.4" + } + }, + "spdx-correct": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/spdx-correct/-/spdx-correct-3.0.0.tgz", + "integrity": "sha512-N19o9z5cEyc8yQQPukRCZ9EUmb4HUpnrmaL/fxS2pBo2jbfcFRVuFZ/oFC+vZz0MNNk0h80iMn5/S6qGZOL5+g==", + "dev": true, + "requires": { + "spdx-expression-parse": "^3.0.0", + "spdx-license-ids": "^3.0.0" + } + }, + "spdx-exceptions": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/spdx-exceptions/-/spdx-exceptions-2.1.0.tgz", + "integrity": "sha512-4K1NsmrlCU1JJgUrtgEeTVyfx8VaYea9J9LvARxhbHtVtohPs/gFGG5yy49beySjlIMhhXZ4QqujIZEfS4l6Cg==", + "dev": true + }, + "spdx-expression-parse": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/spdx-expression-parse/-/spdx-expression-parse-3.0.0.tgz", + "integrity": "sha512-Yg6D3XpRD4kkOmTpdgbUiEJFKghJH03fiC1OPll5h/0sO6neh2jqRDVHOQ4o/LMea0tgCkbMgea5ip/e+MkWyg==", + "dev": true, + "requires": { + "spdx-exceptions": "^2.1.0", + "spdx-license-ids": "^3.0.0" + } + }, + "spdx-license-ids": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.0.tgz", + "integrity": "sha512-2+EPwgbnmOIl8HjGBXXMd9NAu02vLjOO1nWw4kmeRDFyHn+M/ETfHxQUK0oXg8ctgVnl9t3rosNVsZ1jG61nDA==", + "dev": true + }, + "split": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/split/-/split-1.0.1.tgz", + "integrity": "sha512-mTyOoPbrivtXnwnIxZRFYRrPNtEFKlpB2fvjSnCQUiAA6qAZzqwna5envK4uk6OIeP17CsdF3rSBGYVBsU0Tkg==", + "dev": true, + "requires": { + "through": "2" + } + }, + "split2": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/split2/-/split2-2.2.0.tgz", + "integrity": "sha512-RAb22TG39LhI31MbreBgIuKiIKhVsawfTgEGqKHTK87aG+ul/PB8Sqoi3I7kVdRWiCfrKxK3uo4/YUkpNvhPbw==", + "dev": true, + "requires": { + "through2": "^2.0.2" + } + }, + "string-width": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-2.1.1.tgz", + "integrity": "sha512-nOqH59deCq9SRHlxq1Aw85Jnt4w6KvLKqWVik6oA9ZklXLNIOlqg4F2yrT1MVaTjAqvVwdfeZ7w7aCvJD7ugkw==", + "dev": true, + "requires": { + "is-fullwidth-code-point": "^2.0.0", + "strip-ansi": "^4.0.0" + }, + "dependencies": { + "ansi-regex": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-3.0.0.tgz", + "integrity": "sha1-7QMXwyIGT3lGbAKWa922Bas32Zg=", + "dev": true + }, + "strip-ansi": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-4.0.0.tgz", + "integrity": "sha1-qEeQIusaw2iocTibY1JixQXuNo8=", + "dev": true, + "requires": { + "ansi-regex": "^3.0.0" + } + } + } + }, + "string_decoder": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", + "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", + "dev": true, + "requires": { + "safe-buffer": "~5.1.0" + } + }, + "strip-ansi": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz", + "integrity": "sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8=", + "dev": true, + "requires": { + "ansi-regex": "^2.0.0" + } + }, + "strip-bom": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-3.0.0.tgz", + "integrity": "sha1-IzTBjpx1n3vdVv3vfprj1YjmjtM=", + "dev": true + }, + "strip-eof": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/strip-eof/-/strip-eof-1.0.0.tgz", + "integrity": "sha1-u0P/VZim6wXYm1n80SnJgzE2Br8=", + "dev": true + }, + "strip-indent": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/strip-indent/-/strip-indent-2.0.0.tgz", + "integrity": "sha1-XvjbKV0B5u1sv3qrlpmNeCJSe2g=", + "dev": true + }, + "strip-json-comments": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-2.0.1.tgz", + "integrity": "sha1-PFMZQukIwml8DsNEhYwobHygpgo=", + "dev": true + }, + "strong-log-transformer": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/strong-log-transformer/-/strong-log-transformer-1.0.6.tgz", + "integrity": "sha1-9/uTdYpppXEUAYEnfuoMLrEwH6M=", + "dev": true, + "requires": { + "byline": "^5.0.0", + "duplexer": "^0.1.1", + "minimist": "^0.1.0", + "moment": "^2.6.0", + "through": "^2.3.4" + }, + "dependencies": { + "minimist": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/minimist/-/minimist-0.1.0.tgz", + "integrity": "sha1-md9lelJXTCHJBXSX33QnkLK0wN4=", + "dev": true + } + } + }, + "supports-color": { + "version": "5.4.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.4.0.tgz", + "integrity": "sha512-zjaXglF5nnWpsq470jSv6P9DwPvgLkuapYmfDm3JWOm0vkNTVF2tI4UrN2r6jH1qM/uc/WtxYY1hYoA2dOKj5w==", + "dev": true, + "requires": { + "has-flag": "^3.0.0" + } + }, + "temp-dir": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/temp-dir/-/temp-dir-1.0.0.tgz", + "integrity": "sha1-CnwOom06Oa+n4OvqnB/AvE2qAR0=", + "dev": true + }, + "temp-write": { + "version": "3.4.0", + "resolved": "https://registry.npmjs.org/temp-write/-/temp-write-3.4.0.tgz", + "integrity": "sha1-jP9jD7fp2gXwR8dM5M5NaFRX1JI=", + "dev": true, + "requires": { + "graceful-fs": "^4.1.2", + "is-stream": "^1.1.0", + "make-dir": "^1.0.0", + "pify": "^3.0.0", + "temp-dir": "^1.0.0", + "uuid": "^3.0.1" + }, + "dependencies": { + "uuid": { + "version": "3.3.2", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-3.3.2.tgz", + "integrity": "sha512-yXJmeNaw3DnnKAOKJE51sL/ZaYfWJRl1pK9dr19YFCu0ObS231AB1/LbqTKRAQ5kw8A90rA6fr4riOUpTZvQZA==", + "dev": true + } + } + }, + "tempfile": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/tempfile/-/tempfile-1.1.1.tgz", + "integrity": "sha1-W8xOrsxKsscH2LwR2ZzMmiyyh/I=", + "dev": true, + "requires": { + "os-tmpdir": "^1.0.0", + "uuid": "^2.0.1" + } + }, + "text-extensions": { + "version": "1.7.0", + "resolved": "https://registry.npmjs.org/text-extensions/-/text-extensions-1.7.0.tgz", + "integrity": "sha512-AKXZeDq230UaSzaO5s3qQUZOaC7iKbzq0jOFL614R7d9R593HLqAOL0cYoqLdkNrjBSOdmoQI06yigq1TSBXAg==", + "dev": true + }, + "through": { + "version": "2.3.8", + "resolved": "https://registry.npmjs.org/through/-/through-2.3.8.tgz", + "integrity": "sha1-DdTJ/6q8NXlgsbckEV1+Doai4fU=", + "dev": true + }, + "through2": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/through2/-/through2-2.0.3.tgz", + "integrity": "sha1-AARWmzfHx0ujnEPzzteNGtlBQL4=", + "dev": true, + "requires": { + "readable-stream": "^2.1.5", + "xtend": "~4.0.1" + } + }, + "timed-out": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/timed-out/-/timed-out-4.0.1.tgz", + "integrity": "sha1-8y6srFoXW+ol1/q1Zas+2HQe9W8=", + "dev": true + }, + "tmp": { + "version": "0.0.33", + "resolved": "https://registry.npmjs.org/tmp/-/tmp-0.0.33.tgz", + "integrity": "sha512-jRCJlojKnZ3addtTOjdIqoRuPEKBvNXcGYqzO6zWZX8KfKEpnGY5jfggJQ3EjKuu8D4bJRr0y+cYJFmYbImXGw==", + "dev": true, + "requires": { + "os-tmpdir": "~1.0.2" + } + }, + "trim-newlines": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/trim-newlines/-/trim-newlines-2.0.0.tgz", + "integrity": "sha1-tAPQuRvlDDMd/EuC7s6yLD3hbSA=", + "dev": true + }, + "trim-off-newlines": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/trim-off-newlines/-/trim-off-newlines-1.0.1.tgz", + "integrity": "sha1-n5up2e+odkw4dpi8v+sshI8RrbM=", + "dev": true + }, + "typedarray": { + "version": "0.0.6", + "resolved": "https://registry.npmjs.org/typedarray/-/typedarray-0.0.6.tgz", + "integrity": "sha1-hnrHTjhkGHsdPUfZlqeOxciDB3c=", + "dev": true + }, + "uglify-js": { + "version": "2.8.29", + "resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-2.8.29.tgz", + "integrity": "sha1-KcVzMUgFe7Th913zW3qcty5qWd0=", + "dev": true, + "optional": true, + "requires": { + "source-map": "~0.5.1", + "uglify-to-browserify": "~1.0.0", + "yargs": "~3.10.0" + }, + "dependencies": { + "source-map": { + "version": "0.5.7", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", + "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=", + "dev": true, + "optional": true + }, + "yargs": { + "version": "3.10.0", + "resolved": "https://registry.npmjs.org/yargs/-/yargs-3.10.0.tgz", + "integrity": "sha1-9+572FfdfB0tOMDnTvvWgdFDH9E=", + "dev": true, + "optional": true, + "requires": { + "camelcase": "^1.0.2", + "cliui": "^2.1.0", + "decamelize": "^1.0.0", + "window-size": "0.1.0" + } + } + } + }, + "uglify-to-browserify": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/uglify-to-browserify/-/uglify-to-browserify-1.0.2.tgz", + "integrity": "sha1-bgkk1r2mta/jSeOabWMoUKD4grc=", + "dev": true, + "optional": true + }, + "universalify": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/universalify/-/universalify-0.1.2.tgz", + "integrity": "sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg==", + "dev": true + }, + "unzip-response": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/unzip-response/-/unzip-response-2.0.1.tgz", + "integrity": "sha1-0vD3N9FrBhXnKmk17QQhRXLVb5c=", + "dev": true + }, + "url-parse-lax": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/url-parse-lax/-/url-parse-lax-1.0.0.tgz", + "integrity": "sha1-evjzA2Rem9eaJy56FKxovAYJ2nM=", "dev": true, "requires": { - "graceful-fs": "^4.1.2", - "pify": "^2.0.0", - "pinkie-promise": "^2.0.0" + "prepend-http": "^1.0.1" } }, - "pify": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz", - "integrity": "sha1-7RQaasBDqEnqWISY59yosVMw6Qw=", + "util-deprecate": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", + "integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8=", "dev": true }, - "read-pkg": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-1.1.0.tgz", - "integrity": "sha1-9f+qXs0pyzHAR0vKfXVra7KePyg=", + "uuid": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-2.0.3.tgz", + "integrity": "sha1-Z+LoY3lyFVMN/zGOW/nc6/1Hsho=", + "dev": true + }, + "validate-npm-package-license": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/validate-npm-package-license/-/validate-npm-package-license-3.0.4.tgz", + "integrity": "sha512-DpKm2Ui/xN7/HQKCtpZxoRWBhZ9Z0kqtygG8XCgNQ8ZlDnxuQmWhj566j8fN4Cu3/JmbhsDo7fcAJq4s9h27Ew==", "dev": true, "requires": { - "load-json-file": "^1.0.0", - "normalize-package-data": "^2.3.2", - "path-type": "^1.0.0" + "spdx-correct": "^3.0.0", + "spdx-expression-parse": "^3.0.0" } }, - "strip-bom": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-2.0.0.tgz", - "integrity": "sha1-YhmoVhZSBJHzV4i9vxRHqZx+aw4=", + "wcwidth": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/wcwidth/-/wcwidth-1.0.1.tgz", + "integrity": "sha1-8LDc+RW8X/FSivrbLA4XtTLaL+g=", "dev": true, "requires": { - "is-utf8": "^0.2.0" + "defaults": "^1.0.3" } - } - } - }, - "readable-stream": { - "version": "2.3.6", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.6.tgz", - "integrity": "sha512-tQtKA9WIAhBF3+VLAseyMqZeBjW0AHJoxOtYqSUZNJxauErmLbVm2FW1y+J/YA9dUrAC39ITejlZWhVIwawkKw==", - "dev": true, - "requires": { - "core-util-is": "~1.0.0", - "inherits": "~2.0.3", - "isarray": "~1.0.0", - "process-nextick-args": "~2.0.0", - "safe-buffer": "~5.1.1", - "string_decoder": "~1.1.1", - "util-deprecate": "~1.0.1" - } - }, - "redent": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/redent/-/redent-2.0.0.tgz", - "integrity": "sha1-wbIAe0LVfrE4kHmzyDM2OdXhzKo=", - "dev": true, - "requires": { - "indent-string": "^3.0.0", - "strip-indent": "^2.0.0" - } - }, - "registry-auth-token": { - "version": "3.3.2", - "resolved": "https://registry.npmjs.org/registry-auth-token/-/registry-auth-token-3.3.2.tgz", - "integrity": "sha512-JL39c60XlzCVgNrO+qq68FoNb56w/m7JYvGR2jT5iR1xBrUA3Mfx5Twk5rqTThPmQKMWydGmq8oFtDlxfrmxnQ==", - "dev": true, - "requires": { - "rc": "^1.1.6", - "safe-buffer": "^5.0.1" - } - }, - "registry-url": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/registry-url/-/registry-url-3.1.0.tgz", - "integrity": "sha1-PU74cPc93h138M+aOBQyRE4XSUI=", - "dev": true, - "requires": { - "rc": "^1.0.1" - } - }, - "repeat-string": { - "version": "1.6.1", - "resolved": "https://registry.npmjs.org/repeat-string/-/repeat-string-1.6.1.tgz", - "integrity": "sha1-jcrkcOHIirwtYA//Sndihtp15jc=", - "dev": true - }, - "repeating": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/repeating/-/repeating-2.0.1.tgz", - "integrity": "sha1-UhTFOpJtNVJwdSf7q0FdvAjQbdo=", - "dev": true, - "requires": { - "is-finite": "^1.0.0" - } - }, - "require-directory": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz", - "integrity": "sha1-jGStX9MNqxyXbiNE/+f3kqam30I=", - "dev": true - }, - "require-main-filename": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/require-main-filename/-/require-main-filename-1.0.1.tgz", - "integrity": "sha1-l/cXtp1IeE9fUmpsWqj/3aBVpNE=", - "dev": true - }, - "restore-cursor": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/restore-cursor/-/restore-cursor-2.0.0.tgz", - "integrity": "sha1-n37ih/gv0ybU/RYpI9YhKe7g368=", - "dev": true, - "requires": { - "onetime": "^2.0.0", - "signal-exit": "^3.0.2" - } - }, - "right-align": { - "version": "0.1.3", - "resolved": "https://registry.npmjs.org/right-align/-/right-align-0.1.3.tgz", - "integrity": "sha1-YTObci/mo1FWiSENJOFMlhSGE+8=", - "dev": true, - "optional": true, - "requires": { - "align-text": "^0.1.1" - } - }, - "rimraf": { - "version": "2.6.2", - "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.6.2.tgz", - "integrity": "sha512-lreewLK/BlghmxtfH36YYVg1i8IAce4TI7oao75I1g245+6BctqTVQiBP3YUJ9C6DQOXJmkYR9X9fCLtCOJc5w==", - "dev": true, - "requires": { - "glob": "^7.0.5" - } - }, - "run-async": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/run-async/-/run-async-2.3.0.tgz", - "integrity": "sha1-A3GrSuC91yDUFm19/aZP96RFpsA=", - "dev": true, - "requires": { - "is-promise": "^2.1.0" - } - }, - "rx-lite": { - "version": "4.0.8", - "resolved": "https://registry.npmjs.org/rx-lite/-/rx-lite-4.0.8.tgz", - "integrity": "sha1-Cx4Rr4vESDbwSmQH6S2kJGe3lEQ=", - "dev": true - }, - "rx-lite-aggregates": { - "version": "4.0.8", - "resolved": "https://registry.npmjs.org/rx-lite-aggregates/-/rx-lite-aggregates-4.0.8.tgz", - "integrity": "sha1-dTuHqJoRyVRnxKwWJsTvxOBcZ74=", - "dev": true, - "requires": { - "rx-lite": "*" - } - }, - "safe-buffer": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", - "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==", - "dev": true - }, - "safer-buffer": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", - "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==", - "dev": true - }, - "semver": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-5.5.0.tgz", - "integrity": "sha512-4SJ3dm0WAwWy/NVeioZh5AntkdJoWKxHxcmyP622fOkgHa4z3R0TdBJICINyaSDE6uNwVc8gZr+ZinwZAH4xIA==", - "dev": true - }, - "set-blocking": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/set-blocking/-/set-blocking-2.0.0.tgz", - "integrity": "sha1-BF+XgtARrppoA93TgrJDkrPYkPc=", - "dev": true - }, - "shebang-command": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-1.2.0.tgz", - "integrity": "sha1-RKrGW2lbAzmJaMOfNj/uXer98eo=", - "dev": true, - "requires": { - "shebang-regex": "^1.0.0" - } - }, - "shebang-regex": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-1.0.0.tgz", - "integrity": "sha1-2kL0l0DAtC2yypcoVxyxkMmO/qM=", - "dev": true - }, - "signal-exit": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.2.tgz", - "integrity": "sha1-tf3AjxKH6hF4Yo5BXiUTK3NkbG0=", - "dev": true - }, - "slash": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/slash/-/slash-1.0.0.tgz", - "integrity": "sha1-xB8vbDn8FtHNF61LXYlhFK5HDVU=", - "dev": true - }, - "sort-keys": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/sort-keys/-/sort-keys-2.0.0.tgz", - "integrity": "sha1-ZYU1WEhh7JfXMNbPQYIuH1ZoQSg=", - "dev": true, - "requires": { - "is-plain-obj": "^1.0.0" - } - }, - "source-map": { - "version": "0.4.4", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.4.4.tgz", - "integrity": "sha1-66T12pwNyZneaAMti092FzZSA2s=", - "dev": true, - "requires": { - "amdefine": ">=0.0.4" - } - }, - "spdx-correct": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/spdx-correct/-/spdx-correct-3.0.0.tgz", - "integrity": "sha512-N19o9z5cEyc8yQQPukRCZ9EUmb4HUpnrmaL/fxS2pBo2jbfcFRVuFZ/oFC+vZz0MNNk0h80iMn5/S6qGZOL5+g==", - "dev": true, - "requires": { - "spdx-expression-parse": "^3.0.0", - "spdx-license-ids": "^3.0.0" - } - }, - "spdx-exceptions": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/spdx-exceptions/-/spdx-exceptions-2.1.0.tgz", - "integrity": "sha512-4K1NsmrlCU1JJgUrtgEeTVyfx8VaYea9J9LvARxhbHtVtohPs/gFGG5yy49beySjlIMhhXZ4QqujIZEfS4l6Cg==", - "dev": true - }, - "spdx-expression-parse": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/spdx-expression-parse/-/spdx-expression-parse-3.0.0.tgz", - "integrity": "sha512-Yg6D3XpRD4kkOmTpdgbUiEJFKghJH03fiC1OPll5h/0sO6neh2jqRDVHOQ4o/LMea0tgCkbMgea5ip/e+MkWyg==", - "dev": true, - "requires": { - "spdx-exceptions": "^2.1.0", - "spdx-license-ids": "^3.0.0" - } - }, - "spdx-license-ids": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.0.tgz", - "integrity": "sha512-2+EPwgbnmOIl8HjGBXXMd9NAu02vLjOO1nWw4kmeRDFyHn+M/ETfHxQUK0oXg8ctgVnl9t3rosNVsZ1jG61nDA==", - "dev": true - }, - "split": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/split/-/split-1.0.1.tgz", - "integrity": "sha512-mTyOoPbrivtXnwnIxZRFYRrPNtEFKlpB2fvjSnCQUiAA6qAZzqwna5envK4uk6OIeP17CsdF3rSBGYVBsU0Tkg==", - "dev": true, - "requires": { - "through": "2" - } - }, - "split2": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/split2/-/split2-2.2.0.tgz", - "integrity": "sha512-RAb22TG39LhI31MbreBgIuKiIKhVsawfTgEGqKHTK87aG+ul/PB8Sqoi3I7kVdRWiCfrKxK3uo4/YUkpNvhPbw==", - "dev": true, - "requires": { - "through2": "^2.0.2" - } - }, - "string-width": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-2.1.1.tgz", - "integrity": "sha512-nOqH59deCq9SRHlxq1Aw85Jnt4w6KvLKqWVik6oA9ZklXLNIOlqg4F2yrT1MVaTjAqvVwdfeZ7w7aCvJD7ugkw==", - "dev": true, - "requires": { - "is-fullwidth-code-point": "^2.0.0", - "strip-ansi": "^4.0.0" - }, - "dependencies": { - "ansi-regex": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-3.0.0.tgz", - "integrity": "sha1-7QMXwyIGT3lGbAKWa922Bas32Zg=", - "dev": true }, - "strip-ansi": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-4.0.0.tgz", - "integrity": "sha1-qEeQIusaw2iocTibY1JixQXuNo8=", + "which": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/which/-/which-1.3.1.tgz", + "integrity": "sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ==", "dev": true, "requires": { - "ansi-regex": "^3.0.0" + "isexe": "^2.0.0" } - } - } - }, - "string_decoder": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", - "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", - "dev": true, - "requires": { - "safe-buffer": "~5.1.0" - } - }, - "strip-ansi": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz", - "integrity": "sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8=", - "dev": true, - "requires": { - "ansi-regex": "^2.0.0" - } - }, - "strip-bom": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-3.0.0.tgz", - "integrity": "sha1-IzTBjpx1n3vdVv3vfprj1YjmjtM=", - "dev": true - }, - "strip-eof": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/strip-eof/-/strip-eof-1.0.0.tgz", - "integrity": "sha1-u0P/VZim6wXYm1n80SnJgzE2Br8=", - "dev": true - }, - "strip-indent": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/strip-indent/-/strip-indent-2.0.0.tgz", - "integrity": "sha1-XvjbKV0B5u1sv3qrlpmNeCJSe2g=", - "dev": true - }, - "strip-json-comments": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-2.0.1.tgz", - "integrity": "sha1-PFMZQukIwml8DsNEhYwobHygpgo=", - "dev": true - }, - "strong-log-transformer": { - "version": "1.0.6", - "resolved": "https://registry.npmjs.org/strong-log-transformer/-/strong-log-transformer-1.0.6.tgz", - "integrity": "sha1-9/uTdYpppXEUAYEnfuoMLrEwH6M=", - "dev": true, - "requires": { - "byline": "^5.0.0", - "duplexer": "^0.1.1", - "minimist": "^0.1.0", - "moment": "^2.6.0", - "through": "^2.3.4" - }, - "dependencies": { - "minimist": { - "version": "0.1.0", - "resolved": "https://registry.npmjs.org/minimist/-/minimist-0.1.0.tgz", - "integrity": "sha1-md9lelJXTCHJBXSX33QnkLK0wN4=", - "dev": true - } - } - }, - "supports-color": { - "version": "5.4.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.4.0.tgz", - "integrity": "sha512-zjaXglF5nnWpsq470jSv6P9DwPvgLkuapYmfDm3JWOm0vkNTVF2tI4UrN2r6jH1qM/uc/WtxYY1hYoA2dOKj5w==", - "dev": true, - "requires": { - "has-flag": "^3.0.0" - } - }, - "temp-dir": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/temp-dir/-/temp-dir-1.0.0.tgz", - "integrity": "sha1-CnwOom06Oa+n4OvqnB/AvE2qAR0=", - "dev": true - }, - "temp-write": { - "version": "3.4.0", - "resolved": "https://registry.npmjs.org/temp-write/-/temp-write-3.4.0.tgz", - "integrity": "sha1-jP9jD7fp2gXwR8dM5M5NaFRX1JI=", - "dev": true, - "requires": { - "graceful-fs": "^4.1.2", - "is-stream": "^1.1.0", - "make-dir": "^1.0.0", - "pify": "^3.0.0", - "temp-dir": "^1.0.0", - "uuid": "^3.0.1" - }, - "dependencies": { - "uuid": { - "version": "3.3.2", - "resolved": "https://registry.npmjs.org/uuid/-/uuid-3.3.2.tgz", - "integrity": "sha512-yXJmeNaw3DnnKAOKJE51sL/ZaYfWJRl1pK9dr19YFCu0ObS231AB1/LbqTKRAQ5kw8A90rA6fr4riOUpTZvQZA==", + }, + "which-module": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/which-module/-/which-module-2.0.0.tgz", + "integrity": "sha1-2e8H3Od7mQK4o6j6SzHD4/fm6Ho=", "dev": true - } - } - }, - "tempfile": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/tempfile/-/tempfile-1.1.1.tgz", - "integrity": "sha1-W8xOrsxKsscH2LwR2ZzMmiyyh/I=", - "dev": true, - "requires": { - "os-tmpdir": "^1.0.0", - "uuid": "^2.0.1" - } - }, - "text-extensions": { - "version": "1.7.0", - "resolved": "https://registry.npmjs.org/text-extensions/-/text-extensions-1.7.0.tgz", - "integrity": "sha512-AKXZeDq230UaSzaO5s3qQUZOaC7iKbzq0jOFL614R7d9R593HLqAOL0cYoqLdkNrjBSOdmoQI06yigq1TSBXAg==", - "dev": true - }, - "through": { - "version": "2.3.8", - "resolved": "https://registry.npmjs.org/through/-/through-2.3.8.tgz", - "integrity": "sha1-DdTJ/6q8NXlgsbckEV1+Doai4fU=", - "dev": true - }, - "through2": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/through2/-/through2-2.0.3.tgz", - "integrity": "sha1-AARWmzfHx0ujnEPzzteNGtlBQL4=", - "dev": true, - "requires": { - "readable-stream": "^2.1.5", - "xtend": "~4.0.1" - } - }, - "timed-out": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/timed-out/-/timed-out-4.0.1.tgz", - "integrity": "sha1-8y6srFoXW+ol1/q1Zas+2HQe9W8=", - "dev": true - }, - "tmp": { - "version": "0.0.33", - "resolved": "https://registry.npmjs.org/tmp/-/tmp-0.0.33.tgz", - "integrity": "sha512-jRCJlojKnZ3addtTOjdIqoRuPEKBvNXcGYqzO6zWZX8KfKEpnGY5jfggJQ3EjKuu8D4bJRr0y+cYJFmYbImXGw==", - "dev": true, - "requires": { - "os-tmpdir": "~1.0.2" - } - }, - "trim-newlines": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/trim-newlines/-/trim-newlines-2.0.0.tgz", - "integrity": "sha1-tAPQuRvlDDMd/EuC7s6yLD3hbSA=", - "dev": true - }, - "trim-off-newlines": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/trim-off-newlines/-/trim-off-newlines-1.0.1.tgz", - "integrity": "sha1-n5up2e+odkw4dpi8v+sshI8RrbM=", - "dev": true - }, - "typedarray": { - "version": "0.0.6", - "resolved": "https://registry.npmjs.org/typedarray/-/typedarray-0.0.6.tgz", - "integrity": "sha1-hnrHTjhkGHsdPUfZlqeOxciDB3c=", - "dev": true - }, - "uglify-js": { - "version": "2.8.29", - "resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-2.8.29.tgz", - "integrity": "sha1-KcVzMUgFe7Th913zW3qcty5qWd0=", - "dev": true, - "optional": true, - "requires": { - "source-map": "~0.5.1", - "uglify-to-browserify": "~1.0.0", - "yargs": "~3.10.0" - }, - "dependencies": { - "source-map": { - "version": "0.5.7", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", - "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=", - "dev": true, - "optional": true }, - "yargs": { - "version": "3.10.0", - "resolved": "https://registry.npmjs.org/yargs/-/yargs-3.10.0.tgz", - "integrity": "sha1-9+572FfdfB0tOMDnTvvWgdFDH9E=", - "dev": true, - "optional": true, - "requires": { - "camelcase": "^1.0.2", - "cliui": "^2.1.0", - "decamelize": "^1.0.0", - "window-size": "0.1.0" - } - } - } - }, - "uglify-to-browserify": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/uglify-to-browserify/-/uglify-to-browserify-1.0.2.tgz", - "integrity": "sha1-bgkk1r2mta/jSeOabWMoUKD4grc=", - "dev": true, - "optional": true - }, - "universalify": { - "version": "0.1.2", - "resolved": "https://registry.npmjs.org/universalify/-/universalify-0.1.2.tgz", - "integrity": "sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg==", - "dev": true - }, - "unzip-response": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/unzip-response/-/unzip-response-2.0.1.tgz", - "integrity": "sha1-0vD3N9FrBhXnKmk17QQhRXLVb5c=", - "dev": true - }, - "url-parse-lax": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/url-parse-lax/-/url-parse-lax-1.0.0.tgz", - "integrity": "sha1-evjzA2Rem9eaJy56FKxovAYJ2nM=", - "dev": true, - "requires": { - "prepend-http": "^1.0.1" - } - }, - "util-deprecate": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", - "integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8=", - "dev": true - }, - "uuid": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/uuid/-/uuid-2.0.3.tgz", - "integrity": "sha1-Z+LoY3lyFVMN/zGOW/nc6/1Hsho=", - "dev": true - }, - "validate-npm-package-license": { - "version": "3.0.4", - "resolved": "https://registry.npmjs.org/validate-npm-package-license/-/validate-npm-package-license-3.0.4.tgz", - "integrity": "sha512-DpKm2Ui/xN7/HQKCtpZxoRWBhZ9Z0kqtygG8XCgNQ8ZlDnxuQmWhj566j8fN4Cu3/JmbhsDo7fcAJq4s9h27Ew==", - "dev": true, - "requires": { - "spdx-correct": "^3.0.0", - "spdx-expression-parse": "^3.0.0" - } - }, - "wcwidth": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/wcwidth/-/wcwidth-1.0.1.tgz", - "integrity": "sha1-8LDc+RW8X/FSivrbLA4XtTLaL+g=", - "dev": true, - "requires": { - "defaults": "^1.0.3" - } - }, - "which": { - "version": "1.3.1", - "resolved": "https://registry.npmjs.org/which/-/which-1.3.1.tgz", - "integrity": "sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ==", - "dev": true, - "requires": { - "isexe": "^2.0.0" - } - }, - "which-module": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/which-module/-/which-module-2.0.0.tgz", - "integrity": "sha1-2e8H3Od7mQK4o6j6SzHD4/fm6Ho=", - "dev": true - }, - "wide-align": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/wide-align/-/wide-align-1.1.3.tgz", - "integrity": "sha512-QGkOQc8XL6Bt5PwnsExKBPuMKBxnGxWWW3fU55Xt4feHozMUhdUMaBCk290qpm/wG5u/RSKzwdAC4i51YigihA==", - "dev": true, - "requires": { - "string-width": "^1.0.2 || 2" - } - }, - "window-size": { - "version": "0.1.0", - "resolved": "https://registry.npmjs.org/window-size/-/window-size-0.1.0.tgz", - "integrity": "sha1-VDjNLqk7IC76Ohn+iIeu58lPnJ0=", - "dev": true, - "optional": true - }, - "wordwrap": { - "version": "0.0.3", - "resolved": "https://registry.npmjs.org/wordwrap/-/wordwrap-0.0.3.tgz", - "integrity": "sha1-o9XabNXAvAAI03I0u68b7WMFkQc=", - "dev": true - }, - "wrap-ansi": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-2.1.0.tgz", - "integrity": "sha1-2Pw9KE3QV5T+hJc8rs3Rz4JP3YU=", - "dev": true, - "requires": { - "string-width": "^1.0.1", - "strip-ansi": "^3.0.1" - }, - "dependencies": { - "is-fullwidth-code-point": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-1.0.0.tgz", - "integrity": "sha1-754xOG8DGn8NZDr4L95QxFfvAMs=", + "wide-align": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/wide-align/-/wide-align-1.1.3.tgz", + "integrity": "sha512-QGkOQc8XL6Bt5PwnsExKBPuMKBxnGxWWW3fU55Xt4feHozMUhdUMaBCk290qpm/wG5u/RSKzwdAC4i51YigihA==", "dev": true, "requires": { - "number-is-nan": "^1.0.0" + "string-width": "^1.0.2 || 2" } }, - "string-width": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-1.0.2.tgz", - "integrity": "sha1-EYvfW4zcUaKn5w0hHgfisLmxB9M=", + "window-size": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/window-size/-/window-size-0.1.0.tgz", + "integrity": "sha1-VDjNLqk7IC76Ohn+iIeu58lPnJ0=", "dev": true, - "requires": { - "code-point-at": "^1.0.0", - "is-fullwidth-code-point": "^1.0.0", - "strip-ansi": "^3.0.0" - } - } - } - }, - "wrappy": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", - "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=", - "dev": true - }, - "write-file-atomic": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-2.3.0.tgz", - "integrity": "sha512-xuPeK4OdjWqtfi59ylvVL0Yn35SF3zgcAcv7rBPFHVaEapaDr4GdGgm3j7ckTwH9wHL7fGmgfAnb0+THrHb8tA==", - "dev": true, - "requires": { - "graceful-fs": "^4.1.11", - "imurmurhash": "^0.1.4", - "signal-exit": "^3.0.2" - } - }, - "write-json-file": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/write-json-file/-/write-json-file-2.3.0.tgz", - "integrity": "sha1-K2TIozAE1UuGmMdtWFp3zrYdoy8=", - "dev": true, - "requires": { - "detect-indent": "^5.0.0", - "graceful-fs": "^4.1.2", - "make-dir": "^1.0.0", - "pify": "^3.0.0", - "sort-keys": "^2.0.0", - "write-file-atomic": "^2.0.0" - } - }, - "write-pkg": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/write-pkg/-/write-pkg-3.2.0.tgz", - "integrity": "sha512-tX2ifZ0YqEFOF1wjRW2Pk93NLsj02+n1UP5RvO6rCs0K6R2g1padvf006cY74PQJKMGS2r42NK7FD0dG6Y6paw==", - "dev": true, - "requires": { - "sort-keys": "^2.0.0", - "write-json-file": "^2.2.0" - } - }, - "xtend": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/xtend/-/xtend-4.0.1.tgz", - "integrity": "sha1-pcbVMr5lbiPbgg77lDofBJmNY68=", - "dev": true - }, - "y18n": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/y18n/-/y18n-3.2.1.tgz", - "integrity": "sha1-bRX7qITAhnnA136I53WegR4H+kE=", - "dev": true - }, - "yallist": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/yallist/-/yallist-2.1.2.tgz", - "integrity": "sha1-HBH5IY8HYImkfdUS+TxmmaaoHVI=", - "dev": true - }, - "yargs": { - "version": "8.0.2", - "resolved": "https://registry.npmjs.org/yargs/-/yargs-8.0.2.tgz", - "integrity": "sha1-YpmpBVsc78lp/355wdkY3Osiw2A=", - "dev": true, - "requires": { - "camelcase": "^4.1.0", - "cliui": "^3.2.0", - "decamelize": "^1.1.1", - "get-caller-file": "^1.0.1", - "os-locale": "^2.0.0", - "read-pkg-up": "^2.0.0", - "require-directory": "^2.1.1", - "require-main-filename": "^1.0.1", - "set-blocking": "^2.0.0", - "string-width": "^2.0.0", - "which-module": "^2.0.0", - "y18n": "^3.2.1", - "yargs-parser": "^7.0.0" - }, - "dependencies": { - "camelcase": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-4.1.0.tgz", - "integrity": "sha1-1UVjW+HjPFQmScaRc+Xeas+uNN0=", + "optional": true + }, + "wordwrap": { + "version": "0.0.3", + "resolved": "https://registry.npmjs.org/wordwrap/-/wordwrap-0.0.3.tgz", + "integrity": "sha1-o9XabNXAvAAI03I0u68b7WMFkQc=", "dev": true }, - "cliui": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/cliui/-/cliui-3.2.0.tgz", - "integrity": "sha1-EgYBU3qRbSmUD5NNo7SNWFo5IT0=", + "wrap-ansi": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-2.1.0.tgz", + "integrity": "sha1-2Pw9KE3QV5T+hJc8rs3Rz4JP3YU=", "dev": true, "requires": { "string-width": "^1.0.1", - "strip-ansi": "^3.0.1", - "wrap-ansi": "^2.0.0" + "strip-ansi": "^3.0.1" }, "dependencies": { + "is-fullwidth-code-point": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-1.0.0.tgz", + "integrity": "sha1-754xOG8DGn8NZDr4L95QxFfvAMs=", + "dev": true, + "requires": { + "number-is-nan": "^1.0.0" + } + }, "string-width": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/string-width/-/string-width-1.0.2.tgz", @@ -2792,90 +2682,202 @@ } } }, - "is-fullwidth-code-point": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-1.0.0.tgz", - "integrity": "sha1-754xOG8DGn8NZDr4L95QxFfvAMs=", + "wrappy": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", + "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=", + "dev": true + }, + "write-file-atomic": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-2.3.0.tgz", + "integrity": "sha512-xuPeK4OdjWqtfi59ylvVL0Yn35SF3zgcAcv7rBPFHVaEapaDr4GdGgm3j7ckTwH9wHL7fGmgfAnb0+THrHb8tA==", "dev": true, "requires": { - "number-is-nan": "^1.0.0" + "graceful-fs": "^4.1.11", + "imurmurhash": "^0.1.4", + "signal-exit": "^3.0.2" } }, - "load-json-file": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/load-json-file/-/load-json-file-2.0.0.tgz", - "integrity": "sha1-eUfkIUmvgNaWy/eXvKq8/h/inKg=", + "write-json-file": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/write-json-file/-/write-json-file-2.3.0.tgz", + "integrity": "sha1-K2TIozAE1UuGmMdtWFp3zrYdoy8=", "dev": true, "requires": { + "detect-indent": "^5.0.0", "graceful-fs": "^4.1.2", - "parse-json": "^2.2.0", - "pify": "^2.0.0", - "strip-bom": "^3.0.0" + "make-dir": "^1.0.0", + "pify": "^3.0.0", + "sort-keys": "^2.0.0", + "write-file-atomic": "^2.0.0" } }, - "parse-json": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-2.2.0.tgz", - "integrity": "sha1-9ID0BDTvgHQfhGkJn43qGPVaTck=", + "write-pkg": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/write-pkg/-/write-pkg-3.2.0.tgz", + "integrity": "sha512-tX2ifZ0YqEFOF1wjRW2Pk93NLsj02+n1UP5RvO6rCs0K6R2g1padvf006cY74PQJKMGS2r42NK7FD0dG6Y6paw==", "dev": true, "requires": { - "error-ex": "^1.2.0" + "sort-keys": "^2.0.0", + "write-json-file": "^2.2.0" } }, - "path-type": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/path-type/-/path-type-2.0.0.tgz", - "integrity": "sha1-8BLMuEFbcJb8LaoQVMPXI4lZTHM=", - "dev": true, - "requires": { - "pify": "^2.0.0" - } + "xtend": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/xtend/-/xtend-4.0.1.tgz", + "integrity": "sha1-pcbVMr5lbiPbgg77lDofBJmNY68=", + "dev": true }, - "pify": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz", - "integrity": "sha1-7RQaasBDqEnqWISY59yosVMw6Qw=", + "y18n": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/y18n/-/y18n-3.2.1.tgz", + "integrity": "sha1-bRX7qITAhnnA136I53WegR4H+kE=", "dev": true }, - "read-pkg": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-2.0.0.tgz", - "integrity": "sha1-jvHAYjxqbbDcZxPEv6xGMysjaPg=", + "yallist": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-2.1.2.tgz", + "integrity": "sha1-HBH5IY8HYImkfdUS+TxmmaaoHVI=", + "dev": true + }, + "yargs": { + "version": "8.0.2", + "resolved": "https://registry.npmjs.org/yargs/-/yargs-8.0.2.tgz", + "integrity": "sha1-YpmpBVsc78lp/355wdkY3Osiw2A=", "dev": true, "requires": { - "load-json-file": "^2.0.0", - "normalize-package-data": "^2.3.2", - "path-type": "^2.0.0" + "camelcase": "^4.1.0", + "cliui": "^3.2.0", + "decamelize": "^1.1.1", + "get-caller-file": "^1.0.1", + "os-locale": "^2.0.0", + "read-pkg-up": "^2.0.0", + "require-directory": "^2.1.1", + "require-main-filename": "^1.0.1", + "set-blocking": "^2.0.0", + "string-width": "^2.0.0", + "which-module": "^2.0.0", + "y18n": "^3.2.1", + "yargs-parser": "^7.0.0" + }, + "dependencies": { + "camelcase": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-4.1.0.tgz", + "integrity": "sha1-1UVjW+HjPFQmScaRc+Xeas+uNN0=", + "dev": true + }, + "cliui": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/cliui/-/cliui-3.2.0.tgz", + "integrity": "sha1-EgYBU3qRbSmUD5NNo7SNWFo5IT0=", + "dev": true, + "requires": { + "string-width": "^1.0.1", + "strip-ansi": "^3.0.1", + "wrap-ansi": "^2.0.0" + }, + "dependencies": { + "string-width": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-1.0.2.tgz", + "integrity": "sha1-EYvfW4zcUaKn5w0hHgfisLmxB9M=", + "dev": true, + "requires": { + "code-point-at": "^1.0.0", + "is-fullwidth-code-point": "^1.0.0", + "strip-ansi": "^3.0.0" + } + } + } + }, + "is-fullwidth-code-point": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-1.0.0.tgz", + "integrity": "sha1-754xOG8DGn8NZDr4L95QxFfvAMs=", + "dev": true, + "requires": { + "number-is-nan": "^1.0.0" + } + }, + "load-json-file": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/load-json-file/-/load-json-file-2.0.0.tgz", + "integrity": "sha1-eUfkIUmvgNaWy/eXvKq8/h/inKg=", + "dev": true, + "requires": { + "graceful-fs": "^4.1.2", + "parse-json": "^2.2.0", + "pify": "^2.0.0", + "strip-bom": "^3.0.0" + } + }, + "parse-json": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-2.2.0.tgz", + "integrity": "sha1-9ID0BDTvgHQfhGkJn43qGPVaTck=", + "dev": true, + "requires": { + "error-ex": "^1.2.0" + } + }, + "path-type": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/path-type/-/path-type-2.0.0.tgz", + "integrity": "sha1-8BLMuEFbcJb8LaoQVMPXI4lZTHM=", + "dev": true, + "requires": { + "pify": "^2.0.0" + } + }, + "pify": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz", + "integrity": "sha1-7RQaasBDqEnqWISY59yosVMw6Qw=", + "dev": true + }, + "read-pkg": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-2.0.0.tgz", + "integrity": "sha1-jvHAYjxqbbDcZxPEv6xGMysjaPg=", + "dev": true, + "requires": { + "load-json-file": "^2.0.0", + "normalize-package-data": "^2.3.2", + "path-type": "^2.0.0" + } + }, + "read-pkg-up": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-2.0.0.tgz", + "integrity": "sha1-a3KoBImE4MQeeVEP1en6mbO1Sb4=", + "dev": true, + "requires": { + "find-up": "^2.0.0", + "read-pkg": "^2.0.0" + } + } } }, - "read-pkg-up": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-2.0.0.tgz", - "integrity": "sha1-a3KoBImE4MQeeVEP1en6mbO1Sb4=", + "yargs-parser": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-7.0.0.tgz", + "integrity": "sha1-jQrELxbqVd69MyyvTEA4s+P139k=", "dev": true, "requires": { - "find-up": "^2.0.0", - "read-pkg": "^2.0.0" + "camelcase": "^4.1.0" + }, + "dependencies": { + "camelcase": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-4.1.0.tgz", + "integrity": "sha1-1UVjW+HjPFQmScaRc+Xeas+uNN0=", + "dev": true + } } } } - }, - "yargs-parser": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-7.0.0.tgz", - "integrity": "sha1-jQrELxbqVd69MyyvTEA4s+P139k=", - "dev": true, - "requires": { - "camelcase": "^4.1.0" - }, - "dependencies": { - "camelcase": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-4.1.0.tgz", - "integrity": "sha1-1UVjW+HjPFQmScaRc+Xeas+uNN0=", - "dev": true - } - } } } } diff --git a/packages/codemaker/package-lock.json b/packages/codemaker/package-lock.json index 2122bddf97..3ae12c9c0a 100644 --- a/packages/codemaker/package-lock.json +++ b/packages/codemaker/package-lock.json @@ -21,25 +21,31 @@ } }, "@types/node": { - "version": "9.6.18", - "resolved": "https://registry.npmjs.org/@types/node/-/node-9.6.18.tgz", - "integrity": "sha512-lywCnJQRSsu0kitHQ5nkb7Ay/ScdJPQjhWRtuf+G1DmNKJnPcdVyP0pYvdiDFKjzReC6NLWLgSyimno3kKfIig==" + "version": "9.6.26", + "resolved": "https://registry.npmjs.org/@types/node/-/node-9.6.26.tgz", + "integrity": "sha512-3LKKscYUZdZreOuvnly8oWsCA1TOWtmkV3mbcUnV34f+nqDWJic+4SGjRi1C/sPHnZcSs/x209O+Dgy8aWHt2A==" }, "@types/nodeunit": { "version": "0.0.30", "resolved": "https://registry.npmjs.org/@types/nodeunit/-/nodeunit-0.0.30.tgz", "integrity": "sha1-SNLCcZoRjHcjuDMGw+gAsRor9ng=" }, + "ajv": { + "version": "5.5.2", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-5.5.2.tgz", + "integrity": "sha1-c7Xuyj+rZT49P5Qis0GtQiBdyWU=", + "requires": { + "co": "^4.6.0", + "fast-deep-equal": "^1.0.0", + "fast-json-stable-stringify": "^2.0.0", + "json-schema-traverse": "^0.3.0" + } + }, "ansi-regex": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz", "integrity": "sha1-w7M6te42DYbg5ijwRorn7yfWVN8=" }, - "ansi-styles": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz", - "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=" - }, "argparse": { "version": "1.0.10", "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz", @@ -49,14 +55,17 @@ } }, "asn1": { - "version": "0.2.3", - "resolved": "https://registry.npmjs.org/asn1/-/asn1-0.2.3.tgz", - "integrity": "sha1-2sh4dxPJlmhJ/IGAd36+nB3fO4Y=" + "version": "0.2.4", + "resolved": "https://registry.npmjs.org/asn1/-/asn1-0.2.4.tgz", + "integrity": "sha512-jxwzQpLQjSmWXgwaCZE9Nz+glAG01yF1QnWgbhGwHI5A6FRIEY6IVqtHhIepHqI7/kyEyQEagBC5mBEFlIYvdg==", + "requires": { + "safer-buffer": "~2.1.0" + } }, "assert-plus": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/assert-plus/-/assert-plus-0.2.0.tgz", - "integrity": "sha1-104bh+ev/A24qttwIfP+SBAasjQ=" + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz", + "integrity": "sha1-8S4PPF13sLHN2RRpQuTpbB5N1SU=" }, "asynckit": { "version": "0.4.0", @@ -64,14 +73,14 @@ "integrity": "sha1-x57Zf380y48robyXkLzDZkdLS3k=" }, "aws-sign2": { - "version": "0.6.0", - "resolved": "https://registry.npmjs.org/aws-sign2/-/aws-sign2-0.6.0.tgz", - "integrity": "sha1-FDQt0428yU0OW4fXY81jYSwOeU8=" + "version": "0.7.0", + "resolved": "https://registry.npmjs.org/aws-sign2/-/aws-sign2-0.7.0.tgz", + "integrity": "sha1-tG6JCTSpWR8tL2+G1+ap8bP+dqg=" }, "aws4": { - "version": "1.7.0", - "resolved": "https://registry.npmjs.org/aws4/-/aws4-1.7.0.tgz", - "integrity": "sha512-32NDda82rhwD9/JBCCkB+MRYDp0oSvlo2IL6rQWA10PQi7tDUM3eqMSltXmY+Oyl/7N3P3qNtAlv7X0d9bI28w==" + "version": "1.8.0", + "resolved": "https://registry.npmjs.org/aws4/-/aws4-1.8.0.tgz", + "integrity": "sha512-ReZxvNHIOv88FlT7rxcXIIC0fPt4KZqZbOlivyWtXLt8ESx84zd3kMC6iK5jVeS2qt+g7ftS7ye4fi06X5rtRQ==" }, "balanced-match": { "version": "1.0.0", @@ -79,32 +88,24 @@ "integrity": "sha1-ibTRmasr7kneFk6gK4nORi1xt2c=" }, "bcrypt-pbkdf": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/bcrypt-pbkdf/-/bcrypt-pbkdf-1.0.1.tgz", - "integrity": "sha1-Y7xdy2EzG5K8Bf1SiVPDNGKgb40=", + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/bcrypt-pbkdf/-/bcrypt-pbkdf-1.0.2.tgz", + "integrity": "sha1-pDAdOJtqQ/m2f/PKEaP2Y342Dp4=", "optional": true, "requires": { "tweetnacl": "^0.14.3" } }, "bind-obj-methods": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/bind-obj-methods/-/bind-obj-methods-1.0.0.tgz", - "integrity": "sha1-T1l5ysFXk633DkiBYeRj4gnKUJw=" + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/bind-obj-methods/-/bind-obj-methods-2.0.0.tgz", + "integrity": "sha512-3/qRXczDi2Cdbz6jE+W3IflJOutRVica8frpBn14de1mBOkzDo+6tY33kNhvkw54Kn3PzRRD2VnGbGPcTAk4sw==" }, "bluebird": { "version": "3.5.1", "resolved": "https://registry.npmjs.org/bluebird/-/bluebird-3.5.1.tgz", "integrity": "sha512-MKiLiV+I1AA596t9w1sQJ8jkiSr5+ZKi0WKrYGUn6d1Fx+Ij4tIj+m2WMQSGczs5jZVxV339chE8iwk6F64wjA==" }, - "boom": { - "version": "2.10.1", - "resolved": "https://registry.npmjs.org/boom/-/boom-2.10.1.tgz", - "integrity": "sha1-OciRjO/1eZ+D+UkqhI9iWt0Mdm8=", - "requires": { - "hoek": "2.x.x" - } - }, "brace-expansion": { "version": "1.1.11", "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", @@ -114,33 +115,31 @@ "concat-map": "0.0.1" } }, + "buffer-from": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.1.tgz", + "integrity": "sha512-MQcXEUbCKtEo7bhqEs6560Hyd4XaovZlO/k9V3hjVUF/zwW7KBVdSK4gIt/bzwS9MbR5qob+F5jusZsb0YQK2A==" + }, "camelcase": { "version": "4.1.0", "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-4.1.0.tgz", "integrity": "sha1-1UVjW+HjPFQmScaRc+Xeas+uNN0=" }, "caseless": { - "version": "0.11.0", - "resolved": "https://registry.npmjs.org/caseless/-/caseless-0.11.0.tgz", - "integrity": "sha1-cVuW6phBWTzDMGeSP17GDr2k99c=" - }, - "chalk": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz", - "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=", - "requires": { - "ansi-styles": "^2.2.1", - "escape-string-regexp": "^1.0.2", - "has-ansi": "^2.0.0", - "strip-ansi": "^3.0.0", - "supports-color": "^2.0.0" - } + "version": "0.12.0", + "resolved": "https://registry.npmjs.org/caseless/-/caseless-0.12.0.tgz", + "integrity": "sha1-G2gcIf+EAzyCZUMJBolCDRhxUdw=" }, "clean-yaml-object": { "version": "0.1.0", "resolved": "https://registry.npmjs.org/clean-yaml-object/-/clean-yaml-object-0.1.0.tgz", "integrity": "sha1-Y/sRDcLOGoTcIfbZM0h20BCui2g=" }, + "co": { + "version": "4.6.0", + "resolved": "https://registry.npmjs.org/co/-/co-4.6.0.tgz", + "integrity": "sha1-bqa989hTrlTMuOR7+gvz+QMfsYQ=" + }, "color-support": { "version": "1.1.3", "resolved": "https://registry.npmjs.org/color-support/-/color-support-1.1.3.tgz", @@ -154,11 +153,6 @@ "delayed-stream": "~1.0.0" } }, - "commander": { - "version": "2.15.1", - "resolved": "https://registry.npmjs.org/commander/-/commander-2.15.1.tgz", - "integrity": "sha512-VlfT9F3V0v+jr4yxPc5gg9s62/fIVWsd2Bk2iD435um1NlGMYdVCq+MjcXnhYq2icNOizHr1kK+5TI6H0Hy0ag==" - }, "concat-map": { "version": "0.0.1", "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", @@ -170,26 +164,16 @@ "integrity": "sha1-tf1UIgqivFq1eqtxQMlAdUUDwac=" }, "coveralls": { - "version": "2.13.3", - "resolved": "https://registry.npmjs.org/coveralls/-/coveralls-2.13.3.tgz", - "integrity": "sha512-iiAmn+l1XqRwNLXhW8Rs5qHZRFMYp9ZIPjEOVRpC/c4so6Y/f4/lFi0FfR5B9cCqgyhkJ5cZmbvcVRfP8MHchw==", + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/coveralls/-/coveralls-3.0.2.tgz", + "integrity": "sha512-Tv0LKe/MkBOilH2v7WBiTBdudg2ChfGbdXafc/s330djpF3zKOmuehTeRwjXWc7pzfj9FrDUTA7tEx6Div8NFw==", "requires": { - "js-yaml": "3.6.1", - "lcov-parse": "0.0.10", - "log-driver": "1.2.5", - "minimist": "1.2.0", - "request": "2.79.0" - }, - "dependencies": { - "js-yaml": { - "version": "3.6.1", - "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.6.1.tgz", - "integrity": "sha1-bl/mfYsgXOTSL60Ft3geja3MSzA=", - "requires": { - "argparse": "^1.0.7", - "esprima": "^2.6.0" - } - } + "growl": "~> 1.10.0", + "js-yaml": "^3.11.0", + "lcov-parse": "^0.0.10", + "log-driver": "^1.2.7", + "minimist": "^1.2.0", + "request": "^2.85.0" } }, "cross-spawn": { @@ -201,27 +185,12 @@ "which": "^1.2.9" } }, - "cryptiles": { - "version": "2.0.5", - "resolved": "https://registry.npmjs.org/cryptiles/-/cryptiles-2.0.5.tgz", - "integrity": "sha1-O9/s3GCBR8HGcgL6KR59ylnqo7g=", - "requires": { - "boom": "2.x.x" - } - }, "dashdash": { "version": "1.14.1", "resolved": "https://registry.npmjs.org/dashdash/-/dashdash-1.14.1.tgz", "integrity": "sha1-hTz6D3y+L+1d4gMmuN1YEDX24vA=", "requires": { "assert-plus": "^1.0.0" - }, - "dependencies": { - "assert-plus": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz", - "integrity": "sha1-8S4PPF13sLHN2RRpQuTpbB5N1SU=" - } } }, "debug": { @@ -248,12 +217,13 @@ "integrity": "sha1-fyjS657nsVqX79ic5j3P2qPMur8=" }, "ecc-jsbn": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/ecc-jsbn/-/ecc-jsbn-0.1.1.tgz", - "integrity": "sha1-D8c6ntXw1Tw4GTOYUj735UN3dQU=", + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/ecc-jsbn/-/ecc-jsbn-0.1.2.tgz", + "integrity": "sha1-OoOpBOVDUyh4dMVkt1SThoSamMk=", "optional": true, "requires": { - "jsbn": "~0.1.0" + "jsbn": "~0.1.0", + "safer-buffer": "^2.1.0" } }, "ejs": { @@ -267,9 +237,9 @@ "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=" }, "esprima": { - "version": "2.7.3", - "resolved": "https://registry.npmjs.org/esprima/-/esprima-2.7.3.tgz", - "integrity": "sha1-luO3DVd59q1JzQMmc9HDEnZ7pYE=" + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz", + "integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==" }, "events-to-array": { "version": "1.1.2", @@ -277,15 +247,25 @@ "integrity": "sha1-LUH1Y+H+QA7Uli/hpNXGp1Od9/Y=" }, "extend": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/extend/-/extend-3.0.1.tgz", - "integrity": "sha1-p1Xqe8Gt/MWjHOfnYtuq3F5jZEQ=" + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/extend/-/extend-3.0.2.tgz", + "integrity": "sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g==" }, "extsprintf": { "version": "1.3.0", "resolved": "https://registry.npmjs.org/extsprintf/-/extsprintf-1.3.0.tgz", "integrity": "sha1-lpGEQOMEGnpBT4xS48V06zw+HgU=" }, + "fast-deep-equal": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-1.1.0.tgz", + "integrity": "sha1-wFNHeBfIa1HaqFPIHgWbcz0CNhQ=" + }, + "fast-json-stable-stringify": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.0.0.tgz", + "integrity": "sha1-1RQsDK7msRifh9OnYREGT4bIu/I=" + }, "foreground-child": { "version": "1.5.6", "resolved": "https://registry.npmjs.org/foreground-child/-/foreground-child-1.5.6.tgz", @@ -301,12 +281,12 @@ "integrity": "sha1-+8cfDEGt6zf5bFd60e1C2P2sypE=" }, "form-data": { - "version": "2.1.4", - "resolved": "https://registry.npmjs.org/form-data/-/form-data-2.1.4.tgz", - "integrity": "sha1-M8GDrPGTJ27KqYFDpp6Uv+4XUNE=", + "version": "2.3.2", + "resolved": "https://registry.npmjs.org/form-data/-/form-data-2.3.2.tgz", + "integrity": "sha1-SXBJi+YEwgwAXU9cI67NIda0kJk=", "requires": { "asynckit": "^0.4.0", - "combined-stream": "^1.0.5", + "combined-stream": "1.0.6", "mime-types": "^2.1.12" } }, @@ -335,32 +315,12 @@ "resolved": "https://registry.npmjs.org/function-loop/-/function-loop-1.0.1.tgz", "integrity": "sha1-gHa7MF6OajzO7ikgdl8zDRkPNAw=" }, - "generate-function": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/generate-function/-/generate-function-2.0.0.tgz", - "integrity": "sha1-aFj+fAlpt9TpCTM3ZHrHn2DfvnQ=" - }, - "generate-object-property": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/generate-object-property/-/generate-object-property-1.2.0.tgz", - "integrity": "sha1-nA4cQDCM6AT0eDYYuTf6iPmdUNA=", - "requires": { - "is-property": "^1.0.0" - } - }, "getpass": { "version": "0.1.7", "resolved": "https://registry.npmjs.org/getpass/-/getpass-0.1.7.tgz", "integrity": "sha1-Xv+OPmhNVprkyysSgmBOi6YhSfo=", "requires": { "assert-plus": "^1.0.0" - }, - "dependencies": { - "assert-plus": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz", - "integrity": "sha1-8S4PPF13sLHN2RRpQuTpbB5N1SU=" - } } }, "glob": { @@ -381,51 +341,40 @@ "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.1.11.tgz", "integrity": "sha1-Dovf5NHduIVNZOBOp8AOKgJuVlg=" }, - "har-validator": { - "version": "2.0.6", - "resolved": "https://registry.npmjs.org/har-validator/-/har-validator-2.0.6.tgz", - "integrity": "sha1-zcvAgYgmWtEZtqWnyKtw7s+10n0=", - "requires": { - "chalk": "^1.1.1", - "commander": "^2.9.0", - "is-my-json-valid": "^2.12.4", - "pinkie-promise": "^2.0.0" - } + "growl": { + "version": "1.10.5", + "resolved": "https://registry.npmjs.org/growl/-/growl-1.10.5.tgz", + "integrity": "sha512-qBr4OuELkhPenW6goKVXiv47US3clb3/IbuWF9KNKEijAy9oeHxU9IgzjvJhHkUzhaj7rOUD7+YGWqUjLp5oSA==" }, - "has-ansi": { + "har-schema": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/has-ansi/-/has-ansi-2.0.0.tgz", - "integrity": "sha1-NPUEnOHs3ysGSa8+8k5F7TVBbZE=", - "requires": { - "ansi-regex": "^2.0.0" - } + "resolved": "https://registry.npmjs.org/har-schema/-/har-schema-2.0.0.tgz", + "integrity": "sha1-qUwiJOvKwEeCoNkDVSHyRzW37JI=" }, - "hawk": { - "version": "3.1.3", - "resolved": "https://registry.npmjs.org/hawk/-/hawk-3.1.3.tgz", - "integrity": "sha1-B4REvXwWQLD+VA0sm3PVlnjo4cQ=", + "har-validator": { + "version": "5.0.3", + "resolved": "https://registry.npmjs.org/har-validator/-/har-validator-5.0.3.tgz", + "integrity": "sha1-ukAsJmGU8VlW7xXg/PJCmT9qff0=", "requires": { - "boom": "2.x.x", - "cryptiles": "2.x.x", - "hoek": "2.x.x", - "sntp": "1.x.x" + "ajv": "^5.1.0", + "har-schema": "^2.0.0" } }, - "hoek": { - "version": "2.16.3", - "resolved": "https://registry.npmjs.org/hoek/-/hoek-2.16.3.tgz", - "integrity": "sha1-ILt0A9POo5jpHcRxCo/xuCdKJe0=" - }, "http-signature": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/http-signature/-/http-signature-1.1.1.tgz", - "integrity": "sha1-33LiZwZs0Kxn+3at+OE0qPvPkb8=", + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/http-signature/-/http-signature-1.2.0.tgz", + "integrity": "sha1-muzZJRFHcvPZW2WmCruPfBj7rOE=", "requires": { - "assert-plus": "^0.2.0", + "assert-plus": "^1.0.0", "jsprim": "^1.2.2", "sshpk": "^1.7.0" } }, + "imurmurhash": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz", + "integrity": "sha1-khi5srkoojixPcT7a21XbyMUU+o=" + }, "inflight": { "version": "1.0.6", "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", @@ -440,28 +389,6 @@ "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz", "integrity": "sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4=" }, - "is-my-ip-valid": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-my-ip-valid/-/is-my-ip-valid-1.0.0.tgz", - "integrity": "sha512-gmh/eWXROncUzRnIa1Ubrt5b8ep/MGSnfAUI3aRp+sqTCs1tv1Isl8d8F6JmkN3dXKc3ehZMrtiPN9eL03NuaQ==" - }, - "is-my-json-valid": { - "version": "2.17.2", - "resolved": "https://registry.npmjs.org/is-my-json-valid/-/is-my-json-valid-2.17.2.tgz", - "integrity": "sha512-IBhBslgngMQN8DDSppmgDv7RNrlFotuuDsKcrCP3+HbFaVivIBU7u9oiiErw8sH4ynx3+gOGQ3q2otkgiSi6kg==", - "requires": { - "generate-function": "^2.0.0", - "generate-object-property": "^1.1.0", - "is-my-ip-valid": "^1.0.0", - "jsonpointer": "^4.0.0", - "xtend": "^4.0.0" - } - }, - "is-property": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/is-property/-/is-property-1.0.2.tgz", - "integrity": "sha1-V/4cTkhHTt1lsJkR8msc1Ald2oQ=" - }, "is-typedarray": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/is-typedarray/-/is-typedarray-1.0.0.tgz", @@ -470,7 +397,8 @@ "isarray": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", - "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=" + "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=", + "optional": true }, "isexe": { "version": "2.0.0", @@ -483,19 +411,12 @@ "integrity": "sha1-R+Y/evVa+m+S4VAOaQ64uFKcCZo=" }, "js-yaml": { - "version": "3.11.0", - "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.11.0.tgz", - "integrity": "sha512-saJstZWv7oNeOyBh3+Dx1qWzhW0+e6/8eDzo7p5rDFqxntSztloLtuKu+Ejhtq82jsilwOIZYsCz+lIjthg1Hw==", + "version": "3.12.0", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.12.0.tgz", + "integrity": "sha512-PIt2cnwmPfL4hKNwqeiuz4bKfnzHTBv6HyVgjahA6mPLwPDzjDWrplJBMjHUFxku/N3FlmrbyPclad+I+4mJ3A==", "requires": { "argparse": "^1.0.7", "esprima": "^4.0.0" - }, - "dependencies": { - "esprima": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.0.tgz", - "integrity": "sha512-oftTcaMu/EGrEIu904mWteKIv8vMuOgGYo7EhVJJN00R/EED9DCua/xxHRdYnKtcECzVg7xOWhflvJMnqcFZjw==" - } } }, "jsbn": { @@ -509,6 +430,11 @@ "resolved": "https://registry.npmjs.org/json-schema/-/json-schema-0.2.3.tgz", "integrity": "sha1-tIDIkuWaLwWVTOcnvT8qTogvnhM=" }, + "json-schema-traverse": { + "version": "0.3.1", + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.3.1.tgz", + "integrity": "sha1-NJptRMU6Ud6JtAgFxdXlm0F9M0A=" + }, "json-stringify-safe": { "version": "5.0.1", "resolved": "https://registry.npmjs.org/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz", @@ -522,11 +448,6 @@ "graceful-fs": "^4.1.6" } }, - "jsonpointer": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/jsonpointer/-/jsonpointer-4.0.1.tgz", - "integrity": "sha1-T9kss04OnbPInIYi7PUfm5eMbLk=" - }, "jsprim": { "version": "1.4.1", "resolved": "https://registry.npmjs.org/jsprim/-/jsprim-1.4.1.tgz", @@ -536,13 +457,6 @@ "extsprintf": "1.3.0", "json-schema": "0.2.3", "verror": "1.10.0" - }, - "dependencies": { - "assert-plus": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz", - "integrity": "sha1-8S4PPF13sLHN2RRpQuTpbB5N1SU=" - } } }, "lcov-parse": { @@ -551,9 +465,9 @@ "integrity": "sha1-GwuP+ayceIklBYK3C3ExXZ2m2aM=" }, "log-driver": { - "version": "1.2.5", - "resolved": "https://registry.npmjs.org/log-driver/-/log-driver-1.2.5.tgz", - "integrity": "sha1-euTsJXMC/XkNVXyxDJcQDYV7AFY=" + "version": "1.2.7", + "resolved": "https://registry.npmjs.org/log-driver/-/log-driver-1.2.7.tgz", + "integrity": "sha512-U7KCmLdqsGHBLeWqYlFA0V0Sl6P08EE1ZrmA9cxjUE0WVqT9qnyVDPz1kzpFEP0jdJuFnasWIfSd7fsaNXkpbg==" }, "lru-cache": { "version": "4.1.3", @@ -565,16 +479,16 @@ } }, "mime-db": { - "version": "1.33.0", - "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.33.0.tgz", - "integrity": "sha512-BHJ/EKruNIqJf/QahvxwQZXKygOQ256myeN/Ew+THcAa5q+PjyTTMMeNQC4DZw5AwfvelsUrA6B67NKMqXDbzQ==" + "version": "1.35.0", + "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.35.0.tgz", + "integrity": "sha512-JWT/IcCTsB0Io3AhWUMjRqucrHSPsSf2xKLaRldJVULioggvkJvggZ3VXNNSRkCddE6D+BUI4HEIZIA2OjwIvg==" }, "mime-types": { - "version": "2.1.18", - "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.18.tgz", - "integrity": "sha512-lc/aahn+t4/SWV/qcmumYjymLsWfN3ELhpmVuUFjgsORruuZPVSwAQryq+HHGvO/SI2KVX26bx+En+zhM8g8hQ==", + "version": "2.1.19", + "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.19.tgz", + "integrity": "sha512-P1tKYHVSZ6uFo26mtnve4HQFE3koh1UWVkp8YUC+ESBHe945xWSoXuHHiGarDqcEZ+whpCDnlNw5LON0kLo+sw==", "requires": { - "mime-db": "~1.33.0" + "mime-db": "~1.35.0" } }, "minimatch": { @@ -590,24 +504,55 @@ "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.0.tgz", "integrity": "sha1-o1AIsg9BOD7sH7kU9M1d95omQoQ=" }, + "minipass": { + "version": "2.3.3", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-2.3.3.tgz", + "integrity": "sha512-/jAn9/tEX4gnpyRATxgHEOV6xbcyxgT7iUnxo9Y3+OB0zX00TgKIv/2FZCf5brBbICcwbLqVv2ImjvWWrQMSYw==", + "requires": { + "safe-buffer": "^5.1.2", + "yallist": "^3.0.0" + }, + "dependencies": { + "yallist": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-3.0.2.tgz", + "integrity": "sha1-hFK0u36Dx8GI2AQcGoN8dz1ti7k=" + } + } + }, + "mkdirp": { + "version": "0.5.1", + "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.1.tgz", + "integrity": "sha1-MAV0OOrGz3+MR2fzhkjWaX11yQM=", + "requires": { + "minimist": "0.0.8" + }, + "dependencies": { + "minimist": { + "version": "0.0.8", + "resolved": "https://registry.npmjs.org/minimist/-/minimist-0.0.8.tgz", + "integrity": "sha1-hX/Kv8M5fSYluCKCYuhqp6ARsF0=" + } + } + }, "ms": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=" }, "nodeunit": { - "version": "0.11.2", - "resolved": "https://registry.npmjs.org/nodeunit/-/nodeunit-0.11.2.tgz", - "integrity": "sha512-rlr0Fgd66nLmWwgVFj40TZp5jo47/YqaPQtoHG78mt+DVQhaLhA8EJJYCf2lozgYplPv+jJMLt8bCP34zo05mQ==", + "version": "0.11.3", + "resolved": "https://registry.npmjs.org/nodeunit/-/nodeunit-0.11.3.tgz", + "integrity": "sha512-gDNxrDWpx07BxYNO/jn1UrGI1vNhDQZrIFphbHMcTCDc5mrrqQBWfQMXPHJ5WSgbFwD1D6bv4HOsqtTrPG03AA==", "requires": { "ejs": "^2.5.2", - "tap": "^10.0.2" + "tap": "^12.0.1" } }, "nyc": { - "version": "11.8.0", - "resolved": "https://registry.npmjs.org/nyc/-/nyc-11.8.0.tgz", - "integrity": "sha512-PUFq1PSsx5OinSk5g5aaZygcDdI3QQT5XUlbR9QRMihtMS6w0Gm8xj4BxmKeeAlpQXC5M2DIhH16Y+KejceivQ==", + "version": "11.9.0", + "resolved": "https://registry.npmjs.org/nyc/-/nyc-11.9.0.tgz", + "integrity": "sha512-w8OdJAhXL5izerzZMdqzYKMj/pgHJyY3qEPYBjLLxrhcVoHEY9pU5ENIiZyCgG9OR7x3VcUMoD40o6PtVpfR4g==", "requires": { "archy": "^1.0.0", "arrify": "^1.0.1", @@ -2948,23 +2893,16 @@ "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", "integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18=" }, - "pinkie": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/pinkie/-/pinkie-2.0.4.tgz", - "integrity": "sha1-clVrgM+g1IqXToDnckjoDtT3+HA=" - }, - "pinkie-promise": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/pinkie-promise/-/pinkie-promise-2.0.1.tgz", - "integrity": "sha1-ITXW36ejWMBprJsXh3YogihFD/o=", - "requires": { - "pinkie": "^2.0.0" - } + "performance-now": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/performance-now/-/performance-now-2.1.0.tgz", + "integrity": "sha1-Ywn04OX6kT7BxpMHrjZLSzd8nns=" }, "process-nextick-args": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.0.tgz", - "integrity": "sha512-MtEC1TqN0EU5nephaJ4rAtThHtC86dNN9qCuEhtshvpVBkAW5ZO7BASN9REnF9eoXGcRub+pFuKEpOHE+HbEMw==" + "integrity": "sha512-MtEC1TqN0EU5nephaJ4rAtThHtC86dNN9qCuEhtshvpVBkAW5ZO7BASN9REnF9eoXGcRub+pFuKEpOHE+HbEMw==", + "optional": true }, "pseudomap": { "version": "1.0.2", @@ -2977,14 +2915,15 @@ "integrity": "sha1-wNWmOycYgArY4esPpSachN1BhF4=" }, "qs": { - "version": "6.3.2", - "resolved": "https://registry.npmjs.org/qs/-/qs-6.3.2.tgz", - "integrity": "sha1-51vV9uJoEioqDgvaYwslUMFmUCw=" + "version": "6.5.2", + "resolved": "https://registry.npmjs.org/qs/-/qs-6.5.2.tgz", + "integrity": "sha512-N5ZAX4/LxJmF+7wN74pUD6qAh9/wnvdQcjq9TZjevvXzSUo7bfmw91saqMjzGS2xq91/odN2dW/WOl7qQHNDGA==" }, "readable-stream": { "version": "2.3.6", "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.6.tgz", "integrity": "sha512-tQtKA9WIAhBF3+VLAseyMqZeBjW0AHJoxOtYqSUZNJxauErmLbVm2FW1y+J/YA9dUrAC39ITejlZWhVIwawkKw==", + "optional": true, "requires": { "core-util-is": "~1.0.0", "inherits": "~2.0.3", @@ -2996,30 +2935,38 @@ } }, "request": { - "version": "2.79.0", - "resolved": "https://registry.npmjs.org/request/-/request-2.79.0.tgz", - "integrity": "sha1-Tf5b9r6LjNw3/Pk+BLZVd3InEN4=", + "version": "2.87.0", + "resolved": "https://registry.npmjs.org/request/-/request-2.87.0.tgz", + "integrity": "sha512-fcogkm7Az5bsS6Sl0sibkbhcKsnyon/jV1kF3ajGmF0c8HrttdKTPRT9hieOaQHA5HEq6r8OyWOo/o781C1tNw==", "requires": { - "aws-sign2": "~0.6.0", - "aws4": "^1.2.1", - "caseless": "~0.11.0", + "aws-sign2": "~0.7.0", + "aws4": "^1.6.0", + "caseless": "~0.12.0", "combined-stream": "~1.0.5", - "extend": "~3.0.0", + "extend": "~3.0.1", "forever-agent": "~0.6.1", - "form-data": "~2.1.1", - "har-validator": "~2.0.6", - "hawk": "~3.1.3", - "http-signature": "~1.1.0", + "form-data": "~2.3.1", + "har-validator": "~5.0.3", + "http-signature": "~1.2.0", "is-typedarray": "~1.0.0", "isstream": "~0.1.2", "json-stringify-safe": "~5.0.1", - "mime-types": "~2.1.7", - "oauth-sign": "~0.8.1", - "qs": "~6.3.0", - "stringstream": "~0.0.4", - "tough-cookie": "~2.3.0", - "tunnel-agent": "~0.4.1", - "uuid": "^3.0.0" + "mime-types": "~2.1.17", + "oauth-sign": "~0.8.2", + "performance-now": "^2.1.0", + "qs": "~6.5.1", + "safe-buffer": "^5.1.1", + "tough-cookie": "~2.3.3", + "tunnel-agent": "^0.6.0", + "uuid": "^3.1.0" + } + }, + "rimraf": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.6.2.tgz", + "integrity": "sha512-lreewLK/BlghmxtfH36YYVg1i8IAce4TI7oao75I1g245+6BctqTVQiBP3YUJ9C6DQOXJmkYR9X9fCLtCOJc5w==", + "requires": { + "glob": "^7.0.5" } }, "safe-buffer": { @@ -3027,30 +2974,28 @@ "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==" }, + "safer-buffer": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", + "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==" + }, "signal-exit": { "version": "3.0.2", "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.2.tgz", "integrity": "sha1-tf3AjxKH6hF4Yo5BXiUTK3NkbG0=" }, - "sntp": { - "version": "1.0.9", - "resolved": "https://registry.npmjs.org/sntp/-/sntp-1.0.9.tgz", - "integrity": "sha1-ZUEYTMkK7qbG57NeJlkIJEPGYZg=", - "requires": { - "hoek": "2.x.x" - } - }, "source-map": { - "version": "0.5.7", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", - "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=" + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==" }, "source-map-support": { - "version": "0.4.18", - "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.4.18.tgz", - "integrity": "sha512-try0/JqxPLF9nOjvSta7tVondkP5dwgyLDjVoyMDlmjugT2lRZ1OfsrYTkCd2hkDnJTKRbO/Rl3orm8vlsUzbA==", + "version": "0.5.6", + "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.6.tgz", + "integrity": "sha512-N4KXEz7jcKqPf2b2vZF11lQIz9W5ZMuUcIOGj243lduidkf2fjkVKJS9vNxVWn3u/uxX38AcE8U9nnH9FPcq+g==", "requires": { - "source-map": "^0.5.6" + "buffer-from": "^1.0.0", + "source-map": "^0.6.0" } }, "sprintf-js": { @@ -3059,9 +3004,9 @@ "integrity": "sha1-BOaSb2YolTVPPdAVIDYzuFcpfiw=" }, "sshpk": { - "version": "1.14.1", - "resolved": "https://registry.npmjs.org/sshpk/-/sshpk-1.14.1.tgz", - "integrity": "sha1-Ew9Zde3a2WPx1W+SuaxsUfqfg+s=", + "version": "1.14.2", + "resolved": "https://registry.npmjs.org/sshpk/-/sshpk-1.14.2.tgz", + "integrity": "sha1-xvxhZIo9nE52T9P8306hBeSSupg=", "requires": { "asn1": "~0.2.3", "assert-plus": "^1.0.0", @@ -3070,14 +3015,8 @@ "ecc-jsbn": "~0.1.1", "getpass": "^0.1.1", "jsbn": "~0.1.0", + "safer-buffer": "^2.0.2", "tweetnacl": "~0.14.0" - }, - "dependencies": { - "assert-plus": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz", - "integrity": "sha1-8S4PPF13sLHN2RRpQuTpbB5N1SU=" - } } }, "stack-utils": { @@ -3089,15 +3028,11 @@ "version": "1.1.1", "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", + "optional": true, "requires": { "safe-buffer": "~5.1.0" } }, - "stringstream": { - "version": "0.0.6", - "resolved": "https://registry.npmjs.org/stringstream/-/stringstream-0.0.6.tgz", - "integrity": "sha512-87GEBAkegbBcweToUrdzf3eLhWNg06FJTebl4BVJz/JgWy8CvEr9dRtX5qWphiynMSQlxxi+QqN0z5T32SLlhA==" - }, "strip-ansi": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz", @@ -3106,41 +3041,39 @@ "ansi-regex": "^2.0.0" } }, - "supports-color": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz", - "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=" - }, "tap": { - "version": "10.7.3", - "resolved": "https://registry.npmjs.org/tap/-/tap-10.7.3.tgz", - "integrity": "sha512-oS/FIq+tcmxVgYn5usKtLsX+sOHNEj+G7JIQE9SBjO5mVYB1rbaEJJiDbnYp8k0ZqY2Pe4HbYEpkvzm9jfLDyw==", + "version": "12.0.1", + "resolved": "https://registry.npmjs.org/tap/-/tap-12.0.1.tgz", + "integrity": "sha512-iEJytWaZy8risvfRjuV4+ST+Lrrui/MW2ZCWn01ZaMn0NKFej4+PpBy6bXGOg9+cEGNmI7d3Sdka/zTUZUGidA==", "requires": { - "bind-obj-methods": "^1.0.0", + "bind-obj-methods": "^2.0.0", "bluebird": "^3.5.1", "clean-yaml-object": "^0.1.0", "color-support": "^1.1.0", - "coveralls": "^2.13.3", + "coveralls": "^3.0.1", "foreground-child": "^1.3.3", "fs-exists-cached": "^1.0.0", "function-loop": "^1.0.1", "glob": "^7.0.0", "isexe": "^2.0.0", - "js-yaml": "^3.10.0", - "nyc": "^11.3.0", + "js-yaml": "^3.11.0", + "minipass": "^2.3.0", + "mkdirp": "^0.5.1", + "nyc": "^11.8.0", "opener": "^1.4.1", "os-homedir": "^1.0.2", "own-or": "^1.0.0", - "own-or-env": "^1.0.0", - "readable-stream": "^2.3.2", + "own-or-env": "^1.0.1", + "rimraf": "^2.6.2", "signal-exit": "^3.0.0", - "source-map-support": "^0.4.18", + "source-map-support": "^0.5.6", "stack-utils": "^1.0.0", - "tap-mocha-reporter": "^3.0.6", - "tap-parser": "^5.3.1", - "tmatch": "^3.1.0", + "tap-mocha-reporter": "^3.0.7", + "tap-parser": "^7.0.0", + "tmatch": "^4.0.0", "trivial-deferred": "^1.0.1", - "tsame": "^1.1.2", + "tsame": "^2.0.0", + "write-file-atomic": "^2.3.0", "yapool": "^1.0.0" } }, @@ -3158,22 +3091,34 @@ "readable-stream": "^2.1.5", "tap-parser": "^5.1.0", "unicode-length": "^1.0.0" + }, + "dependencies": { + "tap-parser": { + "version": "5.4.0", + "resolved": "https://registry.npmjs.org/tap-parser/-/tap-parser-5.4.0.tgz", + "integrity": "sha512-BIsIaGqv7uTQgTW1KLTMNPSEQf4zDDPgYOBRdgOfuB+JFOLRBfEu6cLa/KvMvmqggu1FKXDfitjLwsq4827RvA==", + "requires": { + "events-to-array": "^1.0.1", + "js-yaml": "^3.2.7", + "readable-stream": "^2" + } + } } }, "tap-parser": { - "version": "5.4.0", - "resolved": "https://registry.npmjs.org/tap-parser/-/tap-parser-5.4.0.tgz", - "integrity": "sha512-BIsIaGqv7uTQgTW1KLTMNPSEQf4zDDPgYOBRdgOfuB+JFOLRBfEu6cLa/KvMvmqggu1FKXDfitjLwsq4827RvA==", + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/tap-parser/-/tap-parser-7.0.0.tgz", + "integrity": "sha512-05G8/LrzqOOFvZhhAk32wsGiPZ1lfUrl+iV7+OkKgfofZxiceZWMHkKmow71YsyVQ8IvGBP2EjcIjE5gL4l5lA==", "requires": { "events-to-array": "^1.0.1", "js-yaml": "^3.2.7", - "readable-stream": "^2" + "minipass": "^2.2.0" } }, "tmatch": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/tmatch/-/tmatch-3.1.0.tgz", - "integrity": "sha512-W3MSATOCN4pVu2qFxmJLIArSifeSOFqnfx9hiUaVgOmeRoI2NbU7RNga+6G+L8ojlFeQge+ZPCclWyUpQ8UeNQ==" + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/tmatch/-/tmatch-4.0.0.tgz", + "integrity": "sha512-Ynn2Gsp+oCvYScQXeV+cCs7citRDilq0qDXA6tuvFwDgiYyyaq7D5vKUlAPezzZR5NDobc/QMeN6e5guOYmvxg==" }, "tough-cookie": { "version": "2.3.4", @@ -3189,14 +3134,17 @@ "integrity": "sha1-N21NKdlR1jaKb3oK6FwvTV4GWPM=" }, "tsame": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/tsame/-/tsame-1.1.2.tgz", - "integrity": "sha512-ovCs24PGjmByVPr9tSIOs/yjUX9sJl0grEmOsj9dZA/UknQkgPOKcUqM84aSCvt9awHuhc/boMzTg3BHFalxWw==" + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/tsame/-/tsame-2.0.0.tgz", + "integrity": "sha512-dAuzcnOPdqZYojylFQzEes95UDjve3HqKrlTCeLZKSDPMTsn3smzHZqsJj/sWD8wOUkg0RD++B11evyLn2+bIw==" }, "tunnel-agent": { - "version": "0.4.3", - "resolved": "https://registry.npmjs.org/tunnel-agent/-/tunnel-agent-0.4.3.tgz", - "integrity": "sha1-Y3PbdpCf5XDgjXNYM2Xtgop07us=" + "version": "0.6.0", + "resolved": "https://registry.npmjs.org/tunnel-agent/-/tunnel-agent-0.6.0.tgz", + "integrity": "sha1-J6XeoGs2sEoKmWZ3SykIaPD8QP0=", + "requires": { + "safe-buffer": "^5.0.1" + } }, "tweetnacl": { "version": "0.14.5", @@ -3219,19 +3167,20 @@ } }, "universalify": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/universalify/-/universalify-0.1.1.tgz", - "integrity": "sha1-+nG63UQ3r0wUiEHjs7Fl+enlkLc=" + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/universalify/-/universalify-0.1.2.tgz", + "integrity": "sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg==" }, "util-deprecate": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", - "integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8=" + "integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8=", + "optional": true }, "uuid": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/uuid/-/uuid-3.2.1.tgz", - "integrity": "sha512-jZnMwlb9Iku/O3smGWvZhauCf6cvvpKi4BKRiliS3cxnI+Gz9j5MEpTz2UFuXiKPJocb7gnsLHwiS05ige5BEA==" + "version": "3.3.2", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-3.3.2.tgz", + "integrity": "sha512-yXJmeNaw3DnnKAOKJE51sL/ZaYfWJRl1pK9dr19YFCu0ObS231AB1/LbqTKRAQ5kw8A90rA6fr4riOUpTZvQZA==" }, "verror": { "version": "1.10.0", @@ -3241,19 +3190,12 @@ "assert-plus": "^1.0.0", "core-util-is": "1.0.2", "extsprintf": "^1.2.0" - }, - "dependencies": { - "assert-plus": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz", - "integrity": "sha1-8S4PPF13sLHN2RRpQuTpbB5N1SU=" - } } }, "which": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/which/-/which-1.3.0.tgz", - "integrity": "sha512-xcJpopdamTuY5duC/KnTTNBraPK54YwpenP4lzxU8H91GudWpFv38u0CKjclE1Wi2EH2EDz5LRcHcKbCIzqGyg==", + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/which/-/which-1.3.1.tgz", + "integrity": "sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ==", "requires": { "isexe": "^2.0.0" } @@ -3263,10 +3205,15 @@ "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=" }, - "xtend": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/xtend/-/xtend-4.0.1.tgz", - "integrity": "sha1-pcbVMr5lbiPbgg77lDofBJmNY68=" + "write-file-atomic": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-2.3.0.tgz", + "integrity": "sha512-xuPeK4OdjWqtfi59ylvVL0Yn35SF3zgcAcv7rBPFHVaEapaDr4GdGgm3j7ckTwH9wHL7fGmgfAnb0+THrHb8tA==", + "requires": { + "graceful-fs": "^4.1.11", + "imurmurhash": "^0.1.4", + "signal-exit": "^3.0.2" + } }, "yallist": { "version": "2.1.2", diff --git a/packages/jsii-build-tools/package-lock.json b/packages/jsii-build-tools/package-lock.json index e89f25110b..389b3c5d2c 100644 --- a/packages/jsii-build-tools/package-lock.json +++ b/packages/jsii-build-tools/package-lock.json @@ -1,34 +1,34 @@ { - "requires": true, - "lockfileVersion": 1, - "dependencies": { - "fs-extra": { - "version": "4.0.3", - "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-4.0.3.tgz", - "integrity": "sha512-q6rbdDd1o2mAnQreO7YADIxf/Whx4AHBiRf6d+/cVT8h44ss+lHgxf1FemcqDnQt9X3ct4McHr+JMGlYSsK7Cg==", - "requires": { - "graceful-fs": "^4.1.2", - "jsonfile": "^4.0.0", - "universalify": "^0.1.0" - } - }, - "graceful-fs": { - "version": "4.1.11", - "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.1.11.tgz", - "integrity": "sha1-Dovf5NHduIVNZOBOp8AOKgJuVlg=" - }, - "jsonfile": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-4.0.0.tgz", - "integrity": "sha1-h3Gq4HmbZAdrdmQPygWPnBDjPss=", - "requires": { - "graceful-fs": "^4.1.6" - } - }, - "universalify": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/universalify/-/universalify-0.1.1.tgz", - "integrity": "sha1-+nG63UQ3r0wUiEHjs7Fl+enlkLc=" - } - } + "requires": true, + "lockfileVersion": 1, + "dependencies": { + "fs-extra": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-4.0.3.tgz", + "integrity": "sha512-q6rbdDd1o2mAnQreO7YADIxf/Whx4AHBiRf6d+/cVT8h44ss+lHgxf1FemcqDnQt9X3ct4McHr+JMGlYSsK7Cg==", + "requires": { + "graceful-fs": "4.1.11", + "jsonfile": "4.0.0", + "universalify": "0.1.2" + } + }, + "graceful-fs": { + "version": "4.1.11", + "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.1.11.tgz", + "integrity": "sha1-Dovf5NHduIVNZOBOp8AOKgJuVlg=" + }, + "jsonfile": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-4.0.0.tgz", + "integrity": "sha1-h3Gq4HmbZAdrdmQPygWPnBDjPss=", + "requires": { + "graceful-fs": "4.1.11" + } + }, + "universalify": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/universalify/-/universalify-0.1.2.tgz", + "integrity": "sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg==" + } + } } diff --git a/packages/jsii-calc/package-lock.json b/packages/jsii-calc/package-lock.json index 692cfb1219..28d7099b97 100644 --- a/packages/jsii-calc/package-lock.json +++ b/packages/jsii-calc/package-lock.json @@ -3,9 +3,9 @@ "lockfileVersion": 1, "dependencies": { "@types/node": { - "version": "9.6.18", - "resolved": "https://registry.npmjs.org/@types/node/-/node-9.6.18.tgz", - "integrity": "sha512-lywCnJQRSsu0kitHQ5nkb7Ay/ScdJPQjhWRtuf+G1DmNKJnPcdVyP0pYvdiDFKjzReC6NLWLgSyimno3kKfIig==" + "version": "9.6.26", + "resolved": "https://registry.npmjs.org/@types/node/-/node-9.6.26.tgz", + "integrity": "sha512-3LKKscYUZdZreOuvnly8oWsCA1TOWtmkV3mbcUnV34f+nqDWJic+4SGjRi1C/sPHnZcSs/x209O+Dgy8aWHt2A==" }, "typescript": { "version": "3.0.1", diff --git a/packages/jsii-dotnet-generator/package.json b/packages/jsii-dotnet-generator/package.json index 7ba485ab88..c91de78ef1 100644 --- a/packages/jsii-dotnet-generator/package.json +++ b/packages/jsii-dotnet-generator/package.json @@ -16,13 +16,15 @@ "devDependencies": { "jsii-build-tools": "^0.6.2" }, + "author": { + "name": "Amazon Web Services", + "url": "https://aws.amazon.com", + "email": "aws-jsii@amazon.com" + }, + "license": "Apache-2.0", "repository": { "type": "git", "url": "https://github.com/awslabs/jsii.git" }, - "author": { - "name": "Amazon Web Services", - "url": "https://aws.amazon.com" - }, - "license": "Apache-2.0" + "homepage": "https://github.com/awslabs/jsii" } diff --git a/packages/jsii-dotnet-generator/src/Amazon.JSII.Generator.UnitTests/AssemblyExtensionsTests.cs b/packages/jsii-dotnet-generator/src/Amazon.JSII.Generator.UnitTests/AssemblyExtensionsTests.cs index c6c512a042..368dca4ef0 100644 --- a/packages/jsii-dotnet-generator/src/Amazon.JSII.Generator.UnitTests/AssemblyExtensionsTests.cs +++ b/packages/jsii-dotnet-generator/src/Amazon.JSII.Generator.UnitTests/AssemblyExtensionsTests.cs @@ -1,196 +1,196 @@ -using Amazon.JSII.JsonModel.Spec; -using System; -using System.Collections.Generic; -using System.Text; -using Xunit; - -namespace Amazon.JSII.Generator.UnitTests -{ - public class AssemblyExtensionsTests - { - const string Prefix = nameof(Generator) + "." + nameof(AssemblyExtensions) + "."; - - public class GetNativeName - { - const string _Prefix = Prefix + nameof(GetNativeName) + "."; - - [Fact(DisplayName = _Prefix + nameof(ThrowsOnNullAssembly))] - public void ThrowsOnNullAssembly() - { - ArgumentNullException exception = Assert.Throws(() => ((Assembly)null).GetNativeName()); - Assert.Equal("root", exception.ParamName); - } - - [Fact(DisplayName = _Prefix + nameof(ThrowsOnMissingDotNetKey))] - public void ThrowsOnMissingDotNetKey() - { - Assembly assembly = new Assembly( - name: "myName", - targets: null, - version: "myVersion", - types: new Dictionary() - ); - - ArgumentException exception = Assert.Throws(() => assembly.GetNativeName()); - Assert.Equal("root", exception.ParamName); - } - - [Fact(DisplayName = _Prefix + nameof(ThrowsOnEmptyDotNetKey))] - public void ThrowsOnEmptyDotNetKey() - { - Assembly assembly = new Assembly( - name: "myName", - targets: new Targets(new Targets.DotNetTarget(" ")), - version: "myVersion", - types: new Dictionary() - ); - - ArgumentException exception = Assert.Throws(() => assembly.GetNativeName()); - Assert.Equal("root", exception.ParamName); - } - - [Fact(DisplayName = _Prefix + nameof(RetrievesDotNetName))] - public void RetrievesDotNetName() - { - Assembly assembly = new Assembly( - name: "myName", - targets: new Targets(new Targets.DotNetTarget("myNativeName")), - version: "myVersion", - types: new Dictionary() - ); - - string actual = assembly.GetNativeName(); - Assert.Equal("myNativeName", actual); - } - } - - public class GetNativeName_WithPackage - { - const string _Prefix = Prefix + nameof(GetNativeName_WithPackage) + "."; - - [Fact(DisplayName = _Prefix + nameof(ThrowsOnNullAssembly))] - public void ThrowsOnNullAssembly() - { - ArgumentNullException exception = Assert.Throws(() => ((Assembly)null).GetNativeName("myPackage")); - Assert.Equal("assembly", exception.ParamName); - } - - [Fact(DisplayName = _Prefix + nameof(ThrowsOnNullPackage))] - public void ThrowsOnNullPackage() - { - Assembly assembly = new Assembly( - name: "myName", - targets: new Targets(new Targets.DotNetTarget("myNativeName")), - dependencies: new Dictionary - { - { - "myPackage", - new PackageVersion( - "0.0.1", - new Targets(new Targets.DotNetTarget("myPackageNativeName")) - ) - } - }, - version: "myVersion", - types: new Dictionary() - ); - - ArgumentNullException exception = Assert.Throws(() => assembly.GetNativeName(null)); - Assert.Equal("packageName", exception.ParamName); - } - - [Fact(DisplayName = _Prefix + nameof(ThrowsOnMissingPackage))] - public void ThrowsOnMissingPackage() - { - Assembly assembly = new Assembly( - name: "myName", - targets: new Targets(new Targets.DotNetTarget("myNativeName")), - dependencies: new Dictionary - { - { - "myPackage", - new PackageVersion( - "0.0.1", - new Targets(new Targets.DotNetTarget("myPackageNativeName")) - ) - } - }, - version: "myVersion", - types: new Dictionary() - ); - - ArgumentException exception = Assert.Throws(() => assembly.GetNativeName("notMyPackage")); - Assert.Equal("assembly", exception.ParamName); - } - - [Fact(DisplayName = _Prefix + nameof(ThrowsOnMissingDotNetKey))] - public void ThrowsOnMissingDotNetKey() - { - Assembly assembly = new Assembly( - name: "myName", - targets: new Targets(new Targets.DotNetTarget("myNativeName")), - dependencies: new Dictionary - { - { - "myPackage", - new PackageVersion("0.0.1") - } - }, - version: "myVersion", - types: new Dictionary() - ); - - ArgumentException exception = Assert.Throws(() => assembly.GetNativeName("myPackage")); - Assert.Equal("root", exception.ParamName); - } - - [Fact(DisplayName = _Prefix + nameof(ThrowsOnEmptyDotNetKey))] - public void ThrowsOnEmptyDotNetKey() - { - Assembly assembly = new Assembly( - name: "myName", - targets: new Targets(new Targets.DotNetTarget("myNativeName")), - dependencies: new Dictionary - { - { - "myPackage", - new PackageVersion( - "0.0.1", - new Targets(new Targets.DotNetTarget(" ")) - ) - } - }, - version: "myVersion", - types: new Dictionary() - ); - - ArgumentException exception = Assert.Throws(() => assembly.GetNativeName("myPackage")); - Assert.Equal("root", exception.ParamName); - } - - [Fact(DisplayName = _Prefix + nameof(RetrievesDotNetName))] - public void RetrievesDotNetName() - { - Assembly assembly = new Assembly( - name: "myName", - targets: new Targets(new Targets.DotNetTarget("myNativeName")), - dependencies: new Dictionary - { - { - "myPackage", - new PackageVersion( - "0.0.1", - new Targets(new Targets.DotNetTarget("myPackageNativeName")) - ) - } - }, - version: "myVersion", - types: new Dictionary() - ); - - string actual = assembly.GetNativeName("myPackage"); - Assert.Equal("myPackageNativeName", actual); - } - } - } -} +using Amazon.JSII.JsonModel.Spec; +using System; +using System.Collections.Generic; +using System.Text; +using Xunit; + +namespace Amazon.JSII.Generator.UnitTests +{ + public class AssemblyExtensionsTests + { + const string Prefix = nameof(Generator) + "." + nameof(AssemblyExtensions) + "."; + + public class GetNativeName + { + const string _Prefix = Prefix + nameof(GetNativeName) + "."; + + [Fact(DisplayName = _Prefix + nameof(ThrowsOnNullAssembly))] + public void ThrowsOnNullAssembly() + { + ArgumentNullException exception = Assert.Throws(() => ((Assembly)null).GetNativeName()); + Assert.Equal("root", exception.ParamName); + } + + [Fact(DisplayName = _Prefix + nameof(ThrowsOnMissingDotNetKey))] + public void ThrowsOnMissingDotNetKey() + { + Assembly assembly = new Assembly( + name: "myName", + targets: null, + version: "myVersion", + types: new Dictionary() + ); + + ArgumentException exception = Assert.Throws(() => assembly.GetNativeName()); + Assert.Equal("root", exception.ParamName); + } + + [Fact(DisplayName = _Prefix + nameof(ThrowsOnEmptyDotNetKey))] + public void ThrowsOnEmptyDotNetKey() + { + Assembly assembly = new Assembly( + name: "myName", + targets: new Targets(new Targets.DotNetTarget(" ")), + version: "myVersion", + types: new Dictionary() + ); + + ArgumentException exception = Assert.Throws(() => assembly.GetNativeName()); + Assert.Equal("root", exception.ParamName); + } + + [Fact(DisplayName = _Prefix + nameof(RetrievesDotNetName))] + public void RetrievesDotNetName() + { + Assembly assembly = new Assembly( + name: "myName", + targets: new Targets(new Targets.DotNetTarget("myNativeName")), + version: "myVersion", + types: new Dictionary() + ); + + string actual = assembly.GetNativeName(); + Assert.Equal("myNativeName", actual); + } + } + + public class GetNativeName_WithPackage + { + const string _Prefix = Prefix + nameof(GetNativeName_WithPackage) + "."; + + [Fact(DisplayName = _Prefix + nameof(ThrowsOnNullAssembly))] + public void ThrowsOnNullAssembly() + { + ArgumentNullException exception = Assert.Throws(() => ((Assembly)null).GetNativeName("myPackage")); + Assert.Equal("assembly", exception.ParamName); + } + + [Fact(DisplayName = _Prefix + nameof(ThrowsOnNullPackage))] + public void ThrowsOnNullPackage() + { + Assembly assembly = new Assembly( + name: "myName", + targets: new Targets(new Targets.DotNetTarget("myNativeName")), + dependencies: new Dictionary + { + { + "myPackage", + new PackageVersion( + "0.0.1", + new Targets(new Targets.DotNetTarget("myPackageNativeName")) + ) + } + }, + version: "myVersion", + types: new Dictionary() + ); + + ArgumentNullException exception = Assert.Throws(() => assembly.GetNativeName(null)); + Assert.Equal("packageName", exception.ParamName); + } + + [Fact(DisplayName = _Prefix + nameof(ThrowsOnMissingPackage))] + public void ThrowsOnMissingPackage() + { + Assembly assembly = new Assembly( + name: "myName", + targets: new Targets(new Targets.DotNetTarget("myNativeName")), + dependencies: new Dictionary + { + { + "myPackage", + new PackageVersion( + "0.0.1", + new Targets(new Targets.DotNetTarget("myPackageNativeName")) + ) + } + }, + version: "myVersion", + types: new Dictionary() + ); + + ArgumentException exception = Assert.Throws(() => assembly.GetNativeName("notMyPackage")); + Assert.Equal("assembly", exception.ParamName); + } + + [Fact(DisplayName = _Prefix + nameof(ThrowsOnMissingDotNetKey))] + public void ThrowsOnMissingDotNetKey() + { + Assembly assembly = new Assembly( + name: "myName", + targets: new Targets(new Targets.DotNetTarget("myNativeName")), + dependencies: new Dictionary + { + { + "myPackage", + new PackageVersion("0.0.1") + } + }, + version: "myVersion", + types: new Dictionary() + ); + + ArgumentException exception = Assert.Throws(() => assembly.GetNativeName("myPackage")); + Assert.Equal("root", exception.ParamName); + } + + [Fact(DisplayName = _Prefix + nameof(ThrowsOnEmptyDotNetKey))] + public void ThrowsOnEmptyDotNetKey() + { + Assembly assembly = new Assembly( + name: "myName", + targets: new Targets(new Targets.DotNetTarget("myNativeName")), + dependencies: new Dictionary + { + { + "myPackage", + new PackageVersion( + "0.0.1", + new Targets(new Targets.DotNetTarget(" ")) + ) + } + }, + version: "myVersion", + types: new Dictionary() + ); + + ArgumentException exception = Assert.Throws(() => assembly.GetNativeName("myPackage")); + Assert.Equal("root", exception.ParamName); + } + + [Fact(DisplayName = _Prefix + nameof(RetrievesDotNetName))] + public void RetrievesDotNetName() + { + Assembly assembly = new Assembly( + name: "myName", + targets: new Targets(new Targets.DotNetTarget("myNativeName")), + dependencies: new Dictionary + { + { + "myPackage", + new PackageVersion( + "0.0.1", + new Targets(new Targets.DotNetTarget("myPackageNativeName")) + ) + } + }, + version: "myVersion", + types: new Dictionary() + ); + + string actual = assembly.GetNativeName("myPackage"); + Assert.Equal("myPackageNativeName", actual); + } + } + } +} diff --git a/packages/jsii-dotnet-generator/src/Amazon.JSII.Generator.UnitTests/AssemblyGeneratorTests.cs b/packages/jsii-dotnet-generator/src/Amazon.JSII.Generator.UnitTests/AssemblyGeneratorTests.cs index ba48afd475..a7f96acd24 100644 --- a/packages/jsii-dotnet-generator/src/Amazon.JSII.Generator.UnitTests/AssemblyGeneratorTests.cs +++ b/packages/jsii-dotnet-generator/src/Amazon.JSII.Generator.UnitTests/AssemblyGeneratorTests.cs @@ -202,9 +202,8 @@ public void CreatesBasicProjectFile() - "; - file.Received().WriteAllText(projectFilePath, Arg.Is(actual => PlatformIndependentEqual(expected, actual))); + file.Received().WriteAllText(projectFilePath, Arg.Do(actual => PlatformIndependentEqual(expected, actual))); } [Fact(DisplayName = Prefix + nameof(CreatesProjectFileWithDependencies))] @@ -292,12 +291,10 @@ public void CreatesProjectFileWithDependencies() - - - + "; - file.Received().WriteAllText(projectFilePath, Arg.Is(actual => PlatformIndependentEqual(expected, actual))); + file.Received().WriteAllText(projectFilePath, Arg.Do(actual => PlatformIndependentEqual(expected, actual))); } [Fact(DisplayName = Prefix + nameof(CreatesAssemblyInfo))] diff --git a/packages/jsii-dotnet-generator/src/Amazon.JSII.Generator.UnitTests/TypeMetadataTests.cs b/packages/jsii-dotnet-generator/src/Amazon.JSII.Generator.UnitTests/TypeMetadataTests.cs index a6267d99ab..1d6809155e 100644 --- a/packages/jsii-dotnet-generator/src/Amazon.JSII.Generator.UnitTests/TypeMetadataTests.cs +++ b/packages/jsii-dotnet-generator/src/Amazon.JSII.Generator.UnitTests/TypeMetadataTests.cs @@ -1,428 +1,428 @@ -using Amazon.JSII.JsonModel.Spec; -using System; -using System.Collections.Generic; -using System.Text; -using Xunit; - -namespace Amazon.JSII.Generator.UnitTests -{ - public class TypeMetadataTests - { - const string Prefix = nameof(Generator) + "." + nameof(TypeMetadata) + "."; - - public class Class - { - const string _Prefix = Prefix + nameof(Class) + "."; - - readonly Assembly _assembly = new Assembly( - name: "myName", - targets: new Targets(new Targets.DotNetTarget("myNativeName")), - dependencies: new Dictionary - { - { - "myModule", - new PackageVersion( - "0.0.1", - new Targets(new Targets.DotNetTarget("myPackageNativeName")) - ) - } - }, - version: "myVersion", - types: new Dictionary() - ); - - readonly ClassType _type = new ClassType( - fullyQualifiedName: "myFqn", - assembly: "myModule", - name: "myName", - @namespace: "myModule_myNamespace", - isAbstract: false - ); - - [Fact(DisplayName = _Prefix + nameof(ThrowsOnNullType))] - public void ThrowsOnNullType() - { - ArgumentNullException exception = Assert.Throws(() => new ClassTypeMetadata(null, _assembly)); - Assert.Equal("type", exception.ParamName); - } - - [Fact(DisplayName = _Prefix + nameof(ThrowsOnNullAssembly))] - public void ThrowsOnNullAssembly() - { - ArgumentNullException exception = Assert.Throws(() => new ClassTypeMetadata(_type, null)); - Assert.Equal("assembly", exception.ParamName); - } - - [Fact(DisplayName = _Prefix + nameof(SetsName))] - public void SetsName() - { - ClassTypeMetadata metadata = new ClassTypeMetadata(_type, _assembly); - - Assert.Equal("MyName", metadata.Name); - } - - [Fact(DisplayName = _Prefix + nameof(SetsFrameworkFullyQualifiedName))] - public void SetsFrameworkFullyQualifiedName() - { - ClassTypeMetadata metadata = new ClassTypeMetadata(_type, _assembly); - - Assert.Equal("myPackageNativeName_myNamespace.MyName", metadata.FrameworkFullyQualifiedName); - } - - [Fact(DisplayName = _Prefix + nameof(SetsPackage))] - public void SetsPackage() - { - ClassTypeMetadata metadata = new ClassTypeMetadata(_type, _assembly); - - Assert.Equal("myModule", metadata.Package); - } - - [Fact(DisplayName = _Prefix + nameof(SetsNamespace))] - public void SetsNamespace() - { - ClassTypeMetadata metadata = new ClassTypeMetadata(_type, _assembly); - - Assert.Equal("myPackageNativeName_myNamespace", metadata.Namespace); - } - - [Fact(DisplayName = _Prefix + nameof(DisambiguatesNamespaceConflicts))] - public void DisambiguatesNamespaceConflicts() - { - ClassTypeMetadata metadata = new ClassTypeMetadata(_type, _assembly); - metadata.ResolveTypeNameConflicts(new HashSet(new[] { - "myPackageNativeName_myNamespace.MyName" - })); - - Assert.Equal("MyName_", metadata.Name); - } - - [Fact(DisplayName = _Prefix + nameof(DisambiguatesPropertyConflicts))] - public void DisambiguatesPropertyConflicts() - { - ClassType type = new ClassType( - fullyQualifiedName: "myFqn", - assembly: "myModule", - name: "myName", - @namespace: "myModule_myNamespace", - isAbstract: false, - properties: new[] { - new Property( - name: "myName", - type: new TypeReference(primitive: PrimitiveType.String) - ) - } - ); - - ClassTypeMetadata metadata = new ClassTypeMetadata(type, _assembly); - metadata.ResolveTypeNameConflicts(new HashSet()); - - Assert.Equal("MyName_", metadata.Name); - } - - [Fact(DisplayName = _Prefix + nameof(DisambiguatesMethodConflicts))] - public void DisambiguatesMethodConflicts() - { - ClassType type = new ClassType( - fullyQualifiedName: "myFqn", - assembly: "myModule", - name: "myName", - @namespace: "myModule_myNamespace", - isAbstract: false, - methods: new[] { - new Method( - isInitializer: false, - isProtected: false, - isAbstract: false, - name: "myName", - returns: new TypeReference(primitive: PrimitiveType.String) - ) - } - ); - - ClassTypeMetadata metadata = new ClassTypeMetadata(type, _assembly); - metadata.ResolveTypeNameConflicts(new HashSet()); - - Assert.Equal("MyName_", metadata.Name); - } - } - - public class Enum - { - const string _Prefix = Prefix + nameof(Enum) + "."; - - readonly Assembly _assembly = new Assembly( - name: "myName", - targets: new Targets(new Targets.DotNetTarget("myNativeName")), - dependencies: new Dictionary - { - { - "myModule", - new PackageVersion( - "0.0.1", - new Targets(new Targets.DotNetTarget("myPackageNativeName")) - ) - } - }, - version: "myVersion", - types: new Dictionary() - ); - - readonly EnumType _type = new EnumType( - fullyQualifiedName: "myFqn", - assembly: "myModule", - name: "myName", - @namespace: "myModule_myNamespace", - members: new EnumMember[] { } - ); - - [Fact(DisplayName = _Prefix + nameof(ThrowsOnNullType))] - public void ThrowsOnNullType() - { - ArgumentNullException exception = Assert.Throws(() => new EnumTypeMetadata(null, _assembly)); - Assert.Equal("type", exception.ParamName); - } - - [Fact(DisplayName = _Prefix + nameof(ThrowsOnNullAssembly))] - public void ThrowsOnNullAssembly() - { - ArgumentNullException exception = Assert.Throws(() => new EnumTypeMetadata(_type, null)); - Assert.Equal("assembly", exception.ParamName); - } - - [Fact(DisplayName = _Prefix + nameof(SetsName))] - public void SetsName() - { - EnumTypeMetadata metadata = new EnumTypeMetadata(_type, _assembly); - - Assert.Equal("MyName", metadata.Name); - } - - [Fact(DisplayName = _Prefix + nameof(SetsFrameworkFullyQualifiedName))] - public void SetsFrameworkFullyQualifiedName() - { - EnumTypeMetadata metadata = new EnumTypeMetadata(_type, _assembly); - - Assert.Equal("myPackageNativeName_myNamespace.MyName", metadata.FrameworkFullyQualifiedName); - } - - [Fact(DisplayName = _Prefix + nameof(SetsPackage))] - public void SetsPackage() - { - EnumTypeMetadata metadata = new EnumTypeMetadata(_type, _assembly); - - Assert.Equal("myModule", metadata.Package); - } - - [Fact(DisplayName = _Prefix + nameof(SetsNamespace))] - public void SetsNamespace() - { - EnumTypeMetadata metadata = new EnumTypeMetadata(_type, _assembly); - - Assert.Equal("myPackageNativeName_myNamespace", metadata.Namespace); - } - - [Fact(DisplayName = _Prefix + nameof(DisambiguatesNamespaceConflicts))] - public void DisambiguatesNamespaceConflicts() - { - EnumTypeMetadata metadata = new EnumTypeMetadata(_type, _assembly); - metadata.ResolveTypeNameConflicts(new HashSet(new[] { - "myPackageNativeName_myNamespace.MyName" - })); - - Assert.Equal("MyName_", metadata.Name); - } - - [Fact(DisplayName = _Prefix + nameof(DisambiguatesMemberConflicts))] - public void DisambiguatesMemberConflicts() - { - EnumType type = new EnumType( - fullyQualifiedName: "myFqn", - assembly: "myModule", - name: "myName", - @namespace: "myModule_myNamespace", - members: new[] { - new EnumMember("myName") - } - ); - - EnumTypeMetadata metadata = new EnumTypeMetadata(type, _assembly); - metadata.ResolveTypeNameConflicts(new HashSet()); - - Assert.Equal("MyName_", metadata.Name); - } - } - - public class Interface - { - const string _Prefix = Prefix + nameof(Interface) + "."; - - readonly Assembly _assembly = new Assembly( - name: "myName", - targets: new Targets(new Targets.DotNetTarget("myNativeName")), - dependencies: new Dictionary - { - { - "myModule", - new PackageVersion( - "0.0.1", - new Targets(new Targets.DotNetTarget("myPackageNativeName")) - ) - } - }, - version: "myVersion", - types: new Dictionary() - ); - - readonly InterfaceType _type = new InterfaceType( - fullyQualifiedName: "myFqn", - assembly: "myModule", - name: "myName", - @namespace: "myModule_myNamespace", - isDataType: true - ); - - [Fact(DisplayName = _Prefix + nameof(ThrowsOnNullType))] - public void ThrowsOnNullType() - { - ArgumentNullException exception = Assert.Throws(() => new InterfaceTypeMetadata(null, _assembly)); - Assert.Equal("type", exception.ParamName); - } - - [Fact(DisplayName = _Prefix + nameof(ThrowsOnNullAssembly))] - public void ThrowsOnNullAssembly() - { - InterfaceType type = new InterfaceType( - fullyQualifiedName: "myFqn", - assembly: "myModule", - name: "myName", - @namespace: "myNamespace" - ); - - ArgumentNullException exception = Assert.Throws(() => new InterfaceTypeMetadata(_type, null)); - Assert.Equal("assembly", exception.ParamName); - } - - [Fact(DisplayName = _Prefix + nameof(SetsName))] - public void SetsName() - { - InterfaceTypeMetadata metadata = new InterfaceTypeMetadata(_type, _assembly); - - Assert.Equal("IMyName", metadata.Name); - } - - [Fact(DisplayName = _Prefix + nameof(SetsProxyName))] - public void SetsProxyName() - { - InterfaceTypeMetadata metadata = new InterfaceTypeMetadata(_type, _assembly); - - Assert.Equal("MyNameProxy", metadata.ProxyName); - } - - [Fact(DisplayName = _Prefix + nameof(SetsDefaultName))] - public void SetsDefaultName() - { - InterfaceTypeMetadata metadata = new InterfaceTypeMetadata(_type, _assembly); - - Assert.Equal("MyName", metadata.DefaultName); - } - - [Fact(DisplayName = _Prefix + nameof(SetsFrameworkFullyQualifiedName))] - public void SetsFrameworkFullyQualifiedName() - { - InterfaceTypeMetadata metadata = new InterfaceTypeMetadata(_type, _assembly); - - Assert.Equal("myPackageNativeName_myNamespace.IMyName", metadata.FrameworkFullyQualifiedName); - } - - [Fact(DisplayName = _Prefix + nameof(SetsFrameworkFullyQualifiedProxyName))] - public void SetsFrameworkFullyQualifiedProxyName() - { - InterfaceTypeMetadata metadata = new InterfaceTypeMetadata(_type, _assembly); - - Assert.Equal("myPackageNativeName_myNamespace.MyNameProxy", metadata.FrameworkFullyQualifiedProxyName); - } - - [Fact(DisplayName = _Prefix + nameof(SetsFrameworkFullyQualifiedDefaultName))] - public void SetsFrameworkFullyQualifiedDefaultName() - { - InterfaceTypeMetadata metadata = new InterfaceTypeMetadata(_type, _assembly); - - Assert.Equal("myPackageNativeName_myNamespace.MyName", metadata.FrameworkFullyQualifiedDefaultName); - } - - [Fact(DisplayName = _Prefix + nameof(SetsPackage))] - public void SetsPackage() - { - InterfaceTypeMetadata metadata = new InterfaceTypeMetadata(_type, _assembly); - - Assert.Equal("myModule", metadata.Package); - } - - [Fact(DisplayName = _Prefix + nameof(SetsNamespace))] - public void SetsNamespace() - { - InterfaceTypeMetadata metadata = new InterfaceTypeMetadata(_type, _assembly); - - Assert.Equal("myPackageNativeName_myNamespace", metadata.Namespace); - } - - [Fact(DisplayName = _Prefix + nameof(DisambiguatesNamespaceConflicts))] - public void DisambiguatesNamespaceConflicts() - { - InterfaceTypeMetadata metadata = new InterfaceTypeMetadata(_type, _assembly); - metadata.ResolveTypeNameConflicts(new HashSet(new[] { - "myPackageNativeName_myNamespace.IMyName" - })); - - Assert.Equal("IMyName_", metadata.Name); - } - - [Fact(DisplayName = _Prefix + nameof(DisambiguatesPropertyConflicts))] - public void DisambiguatesPropertyConflicts() - { - InterfaceType type = new InterfaceType( - fullyQualifiedName: "myFqn", - assembly: "myModule", - name: "myName", - @namespace: "myModule_myNamespace", - properties: new[] { - new Property( - name: "iMyName", - type: new TypeReference(primitive: PrimitiveType.String) - ) - } - ); - - InterfaceTypeMetadata metadata = new InterfaceTypeMetadata(type, _assembly); - metadata.ResolveTypeNameConflicts(new HashSet()); - - Assert.Equal("IMyName_", metadata.Name); - } - - [Fact(DisplayName = _Prefix + nameof(DisambiguatesMethodConflicts))] - public void DisambiguatesMethodConflicts() - { - InterfaceType type = new InterfaceType( - fullyQualifiedName: "myFqn", - assembly: "myModule", - name: "myName", - @namespace: "myModule_myNamespace", - methods: new[] { - new Method( - isInitializer: false, - isProtected: false, - isAbstract: false, - name: "iMyName", - returns: new TypeReference(primitive: PrimitiveType.String) - ) - } - ); - - InterfaceTypeMetadata metadata = new InterfaceTypeMetadata(type, _assembly); - metadata.ResolveTypeNameConflicts(new HashSet()); - - Assert.Equal("IMyName_", metadata.Name); - } - } - } -} +using Amazon.JSII.JsonModel.Spec; +using System; +using System.Collections.Generic; +using System.Text; +using Xunit; + +namespace Amazon.JSII.Generator.UnitTests +{ + public class TypeMetadataTests + { + const string Prefix = nameof(Generator) + "." + nameof(TypeMetadata) + "."; + + public class Class + { + const string _Prefix = Prefix + nameof(Class) + "."; + + readonly Assembly _assembly = new Assembly( + name: "myName", + targets: new Targets(new Targets.DotNetTarget("myNativeName")), + dependencies: new Dictionary + { + { + "myModule", + new PackageVersion( + "0.0.1", + new Targets(new Targets.DotNetTarget("myPackageNativeName")) + ) + } + }, + version: "myVersion", + types: new Dictionary() + ); + + readonly ClassType _type = new ClassType( + fullyQualifiedName: "myFqn", + assembly: "myModule", + name: "myName", + @namespace: "myModule_myNamespace", + isAbstract: false + ); + + [Fact(DisplayName = _Prefix + nameof(ThrowsOnNullType))] + public void ThrowsOnNullType() + { + ArgumentNullException exception = Assert.Throws(() => new ClassTypeMetadata(null, _assembly)); + Assert.Equal("type", exception.ParamName); + } + + [Fact(DisplayName = _Prefix + nameof(ThrowsOnNullAssembly))] + public void ThrowsOnNullAssembly() + { + ArgumentNullException exception = Assert.Throws(() => new ClassTypeMetadata(_type, null)); + Assert.Equal("assembly", exception.ParamName); + } + + [Fact(DisplayName = _Prefix + nameof(SetsName))] + public void SetsName() + { + ClassTypeMetadata metadata = new ClassTypeMetadata(_type, _assembly); + + Assert.Equal("MyName", metadata.Name); + } + + [Fact(DisplayName = _Prefix + nameof(SetsFrameworkFullyQualifiedName))] + public void SetsFrameworkFullyQualifiedName() + { + ClassTypeMetadata metadata = new ClassTypeMetadata(_type, _assembly); + + Assert.Equal("myPackageNativeName_myNamespace.MyName", metadata.FrameworkFullyQualifiedName); + } + + [Fact(DisplayName = _Prefix + nameof(SetsPackage))] + public void SetsPackage() + { + ClassTypeMetadata metadata = new ClassTypeMetadata(_type, _assembly); + + Assert.Equal("myModule", metadata.Package); + } + + [Fact(DisplayName = _Prefix + nameof(SetsNamespace))] + public void SetsNamespace() + { + ClassTypeMetadata metadata = new ClassTypeMetadata(_type, _assembly); + + Assert.Equal("myPackageNativeName_myNamespace", metadata.Namespace); + } + + [Fact(DisplayName = _Prefix + nameof(DisambiguatesNamespaceConflicts))] + public void DisambiguatesNamespaceConflicts() + { + ClassTypeMetadata metadata = new ClassTypeMetadata(_type, _assembly); + metadata.ResolveTypeNameConflicts(new HashSet(new[] { + "myPackageNativeName_myNamespace.MyName" + })); + + Assert.Equal("MyName_", metadata.Name); + } + + [Fact(DisplayName = _Prefix + nameof(DisambiguatesPropertyConflicts))] + public void DisambiguatesPropertyConflicts() + { + ClassType type = new ClassType( + fullyQualifiedName: "myFqn", + assembly: "myModule", + name: "myName", + @namespace: "myModule_myNamespace", + isAbstract: false, + properties: new[] { + new Property( + name: "myName", + type: new TypeReference(primitive: PrimitiveType.String) + ) + } + ); + + ClassTypeMetadata metadata = new ClassTypeMetadata(type, _assembly); + metadata.ResolveTypeNameConflicts(new HashSet()); + + Assert.Equal("MyName_", metadata.Name); + } + + [Fact(DisplayName = _Prefix + nameof(DisambiguatesMethodConflicts))] + public void DisambiguatesMethodConflicts() + { + ClassType type = new ClassType( + fullyQualifiedName: "myFqn", + assembly: "myModule", + name: "myName", + @namespace: "myModule_myNamespace", + isAbstract: false, + methods: new[] { + new Method( + isInitializer: false, + isProtected: false, + isAbstract: false, + name: "myName", + returns: new TypeReference(primitive: PrimitiveType.String) + ) + } + ); + + ClassTypeMetadata metadata = new ClassTypeMetadata(type, _assembly); + metadata.ResolveTypeNameConflicts(new HashSet()); + + Assert.Equal("MyName_", metadata.Name); + } + } + + public class Enum + { + const string _Prefix = Prefix + nameof(Enum) + "."; + + readonly Assembly _assembly = new Assembly( + name: "myName", + targets: new Targets(new Targets.DotNetTarget("myNativeName")), + dependencies: new Dictionary + { + { + "myModule", + new PackageVersion( + "0.0.1", + new Targets(new Targets.DotNetTarget("myPackageNativeName")) + ) + } + }, + version: "myVersion", + types: new Dictionary() + ); + + readonly EnumType _type = new EnumType( + fullyQualifiedName: "myFqn", + assembly: "myModule", + name: "myName", + @namespace: "myModule_myNamespace", + members: new EnumMember[] { } + ); + + [Fact(DisplayName = _Prefix + nameof(ThrowsOnNullType))] + public void ThrowsOnNullType() + { + ArgumentNullException exception = Assert.Throws(() => new EnumTypeMetadata(null, _assembly)); + Assert.Equal("type", exception.ParamName); + } + + [Fact(DisplayName = _Prefix + nameof(ThrowsOnNullAssembly))] + public void ThrowsOnNullAssembly() + { + ArgumentNullException exception = Assert.Throws(() => new EnumTypeMetadata(_type, null)); + Assert.Equal("assembly", exception.ParamName); + } + + [Fact(DisplayName = _Prefix + nameof(SetsName))] + public void SetsName() + { + EnumTypeMetadata metadata = new EnumTypeMetadata(_type, _assembly); + + Assert.Equal("MyName", metadata.Name); + } + + [Fact(DisplayName = _Prefix + nameof(SetsFrameworkFullyQualifiedName))] + public void SetsFrameworkFullyQualifiedName() + { + EnumTypeMetadata metadata = new EnumTypeMetadata(_type, _assembly); + + Assert.Equal("myPackageNativeName_myNamespace.MyName", metadata.FrameworkFullyQualifiedName); + } + + [Fact(DisplayName = _Prefix + nameof(SetsPackage))] + public void SetsPackage() + { + EnumTypeMetadata metadata = new EnumTypeMetadata(_type, _assembly); + + Assert.Equal("myModule", metadata.Package); + } + + [Fact(DisplayName = _Prefix + nameof(SetsNamespace))] + public void SetsNamespace() + { + EnumTypeMetadata metadata = new EnumTypeMetadata(_type, _assembly); + + Assert.Equal("myPackageNativeName_myNamespace", metadata.Namespace); + } + + [Fact(DisplayName = _Prefix + nameof(DisambiguatesNamespaceConflicts))] + public void DisambiguatesNamespaceConflicts() + { + EnumTypeMetadata metadata = new EnumTypeMetadata(_type, _assembly); + metadata.ResolveTypeNameConflicts(new HashSet(new[] { + "myPackageNativeName_myNamespace.MyName" + })); + + Assert.Equal("MyName_", metadata.Name); + } + + [Fact(DisplayName = _Prefix + nameof(DisambiguatesMemberConflicts))] + public void DisambiguatesMemberConflicts() + { + EnumType type = new EnumType( + fullyQualifiedName: "myFqn", + assembly: "myModule", + name: "myName", + @namespace: "myModule_myNamespace", + members: new[] { + new EnumMember("myName") + } + ); + + EnumTypeMetadata metadata = new EnumTypeMetadata(type, _assembly); + metadata.ResolveTypeNameConflicts(new HashSet()); + + Assert.Equal("MyName_", metadata.Name); + } + } + + public class Interface + { + const string _Prefix = Prefix + nameof(Interface) + "."; + + readonly Assembly _assembly = new Assembly( + name: "myName", + targets: new Targets(new Targets.DotNetTarget("myNativeName")), + dependencies: new Dictionary + { + { + "myModule", + new PackageVersion( + "0.0.1", + new Targets(new Targets.DotNetTarget("myPackageNativeName")) + ) + } + }, + version: "myVersion", + types: new Dictionary() + ); + + readonly InterfaceType _type = new InterfaceType( + fullyQualifiedName: "myFqn", + assembly: "myModule", + name: "myName", + @namespace: "myModule_myNamespace", + isDataType: true + ); + + [Fact(DisplayName = _Prefix + nameof(ThrowsOnNullType))] + public void ThrowsOnNullType() + { + ArgumentNullException exception = Assert.Throws(() => new InterfaceTypeMetadata(null, _assembly)); + Assert.Equal("type", exception.ParamName); + } + + [Fact(DisplayName = _Prefix + nameof(ThrowsOnNullAssembly))] + public void ThrowsOnNullAssembly() + { + InterfaceType type = new InterfaceType( + fullyQualifiedName: "myFqn", + assembly: "myModule", + name: "myName", + @namespace: "myNamespace" + ); + + ArgumentNullException exception = Assert.Throws(() => new InterfaceTypeMetadata(_type, null)); + Assert.Equal("assembly", exception.ParamName); + } + + [Fact(DisplayName = _Prefix + nameof(SetsName))] + public void SetsName() + { + InterfaceTypeMetadata metadata = new InterfaceTypeMetadata(_type, _assembly); + + Assert.Equal("IMyName", metadata.Name); + } + + [Fact(DisplayName = _Prefix + nameof(SetsProxyName))] + public void SetsProxyName() + { + InterfaceTypeMetadata metadata = new InterfaceTypeMetadata(_type, _assembly); + + Assert.Equal("MyNameProxy", metadata.ProxyName); + } + + [Fact(DisplayName = _Prefix + nameof(SetsDefaultName))] + public void SetsDefaultName() + { + InterfaceTypeMetadata metadata = new InterfaceTypeMetadata(_type, _assembly); + + Assert.Equal("MyName", metadata.DefaultName); + } + + [Fact(DisplayName = _Prefix + nameof(SetsFrameworkFullyQualifiedName))] + public void SetsFrameworkFullyQualifiedName() + { + InterfaceTypeMetadata metadata = new InterfaceTypeMetadata(_type, _assembly); + + Assert.Equal("myPackageNativeName_myNamespace.IMyName", metadata.FrameworkFullyQualifiedName); + } + + [Fact(DisplayName = _Prefix + nameof(SetsFrameworkFullyQualifiedProxyName))] + public void SetsFrameworkFullyQualifiedProxyName() + { + InterfaceTypeMetadata metadata = new InterfaceTypeMetadata(_type, _assembly); + + Assert.Equal("myPackageNativeName_myNamespace.MyNameProxy", metadata.FrameworkFullyQualifiedProxyName); + } + + [Fact(DisplayName = _Prefix + nameof(SetsFrameworkFullyQualifiedDefaultName))] + public void SetsFrameworkFullyQualifiedDefaultName() + { + InterfaceTypeMetadata metadata = new InterfaceTypeMetadata(_type, _assembly); + + Assert.Equal("myPackageNativeName_myNamespace.MyName", metadata.FrameworkFullyQualifiedDefaultName); + } + + [Fact(DisplayName = _Prefix + nameof(SetsPackage))] + public void SetsPackage() + { + InterfaceTypeMetadata metadata = new InterfaceTypeMetadata(_type, _assembly); + + Assert.Equal("myModule", metadata.Package); + } + + [Fact(DisplayName = _Prefix + nameof(SetsNamespace))] + public void SetsNamespace() + { + InterfaceTypeMetadata metadata = new InterfaceTypeMetadata(_type, _assembly); + + Assert.Equal("myPackageNativeName_myNamespace", metadata.Namespace); + } + + [Fact(DisplayName = _Prefix + nameof(DisambiguatesNamespaceConflicts))] + public void DisambiguatesNamespaceConflicts() + { + InterfaceTypeMetadata metadata = new InterfaceTypeMetadata(_type, _assembly); + metadata.ResolveTypeNameConflicts(new HashSet(new[] { + "myPackageNativeName_myNamespace.IMyName" + })); + + Assert.Equal("IMyName_", metadata.Name); + } + + [Fact(DisplayName = _Prefix + nameof(DisambiguatesPropertyConflicts))] + public void DisambiguatesPropertyConflicts() + { + InterfaceType type = new InterfaceType( + fullyQualifiedName: "myFqn", + assembly: "myModule", + name: "myName", + @namespace: "myModule_myNamespace", + properties: new[] { + new Property( + name: "iMyName", + type: new TypeReference(primitive: PrimitiveType.String) + ) + } + ); + + InterfaceTypeMetadata metadata = new InterfaceTypeMetadata(type, _assembly); + metadata.ResolveTypeNameConflicts(new HashSet()); + + Assert.Equal("IMyName_", metadata.Name); + } + + [Fact(DisplayName = _Prefix + nameof(DisambiguatesMethodConflicts))] + public void DisambiguatesMethodConflicts() + { + InterfaceType type = new InterfaceType( + fullyQualifiedName: "myFqn", + assembly: "myModule", + name: "myName", + @namespace: "myModule_myNamespace", + methods: new[] { + new Method( + isInitializer: false, + isProtected: false, + isAbstract: false, + name: "iMyName", + returns: new TypeReference(primitive: PrimitiveType.String) + ) + } + ); + + InterfaceTypeMetadata metadata = new InterfaceTypeMetadata(type, _assembly); + metadata.ResolveTypeNameConflicts(new HashSet()); + + Assert.Equal("IMyName_", metadata.Name); + } + } + } +} diff --git a/packages/jsii-dotnet-generator/src/Amazon.JSII.Generator.sln b/packages/jsii-dotnet-generator/src/Amazon.JSII.Generator.sln index 9625dab16e..9c753ffff9 100644 --- a/packages/jsii-dotnet-generator/src/Amazon.JSII.Generator.sln +++ b/packages/jsii-dotnet-generator/src/Amazon.JSII.Generator.sln @@ -1,62 +1,62 @@ - -Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio 15 -VisualStudioVersion = 15.0.26124.0 -MinimumVisualStudioVersion = 15.0.26124.0 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Amazon.JSII.Generator", "Amazon.JSII.Generator\Amazon.JSII.Generator.csproj", "{6C634941-79D4-43F1-95F6-98CFF070BA3D}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Amazon.JSII.Generator.UnitTests", "Amazon.JSII.Generator.UnitTests\Amazon.JSII.Generator.UnitTests.csproj", "{D1F82EE2-73F3-4001-BD53-EA407E7DE180}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Amazon.JSII.Generator.CLI", "Amazon.JSII.Generator.CLI\Amazon.JSII.Generator.CLI.csproj", "{9613D697-2F57-4818-916C-F97F1407D8C1}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Any CPU = Debug|Any CPU - Debug|x64 = Debug|x64 - Debug|x86 = Debug|x86 - Release|Any CPU = Release|Any CPU - Release|x64 = Release|x64 - Release|x86 = Release|x86 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {6C634941-79D4-43F1-95F6-98CFF070BA3D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {6C634941-79D4-43F1-95F6-98CFF070BA3D}.Debug|Any CPU.Build.0 = Debug|Any CPU - {6C634941-79D4-43F1-95F6-98CFF070BA3D}.Debug|x64.ActiveCfg = Debug|Any CPU - {6C634941-79D4-43F1-95F6-98CFF070BA3D}.Debug|x64.Build.0 = Debug|Any CPU - {6C634941-79D4-43F1-95F6-98CFF070BA3D}.Debug|x86.ActiveCfg = Debug|Any CPU - {6C634941-79D4-43F1-95F6-98CFF070BA3D}.Debug|x86.Build.0 = Debug|Any CPU - {6C634941-79D4-43F1-95F6-98CFF070BA3D}.Release|Any CPU.ActiveCfg = Release|Any CPU - {6C634941-79D4-43F1-95F6-98CFF070BA3D}.Release|Any CPU.Build.0 = Release|Any CPU - {6C634941-79D4-43F1-95F6-98CFF070BA3D}.Release|x64.ActiveCfg = Release|Any CPU - {6C634941-79D4-43F1-95F6-98CFF070BA3D}.Release|x64.Build.0 = Release|Any CPU - {6C634941-79D4-43F1-95F6-98CFF070BA3D}.Release|x86.ActiveCfg = Release|Any CPU - {6C634941-79D4-43F1-95F6-98CFF070BA3D}.Release|x86.Build.0 = Release|Any CPU - {D1F82EE2-73F3-4001-BD53-EA407E7DE180}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {D1F82EE2-73F3-4001-BD53-EA407E7DE180}.Debug|Any CPU.Build.0 = Debug|Any CPU - {D1F82EE2-73F3-4001-BD53-EA407E7DE180}.Debug|x64.ActiveCfg = Debug|Any CPU - {D1F82EE2-73F3-4001-BD53-EA407E7DE180}.Debug|x64.Build.0 = Debug|Any CPU - {D1F82EE2-73F3-4001-BD53-EA407E7DE180}.Debug|x86.ActiveCfg = Debug|Any CPU - {D1F82EE2-73F3-4001-BD53-EA407E7DE180}.Debug|x86.Build.0 = Debug|Any CPU - {D1F82EE2-73F3-4001-BD53-EA407E7DE180}.Release|Any CPU.ActiveCfg = Release|Any CPU - {D1F82EE2-73F3-4001-BD53-EA407E7DE180}.Release|Any CPU.Build.0 = Release|Any CPU - {D1F82EE2-73F3-4001-BD53-EA407E7DE180}.Release|x64.ActiveCfg = Release|Any CPU - {D1F82EE2-73F3-4001-BD53-EA407E7DE180}.Release|x64.Build.0 = Release|Any CPU - {D1F82EE2-73F3-4001-BD53-EA407E7DE180}.Release|x86.ActiveCfg = Release|Any CPU - {D1F82EE2-73F3-4001-BD53-EA407E7DE180}.Release|x86.Build.0 = Release|Any CPU - {9613D697-2F57-4818-916C-F97F1407D8C1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {9613D697-2F57-4818-916C-F97F1407D8C1}.Debug|Any CPU.Build.0 = Debug|Any CPU - {9613D697-2F57-4818-916C-F97F1407D8C1}.Debug|x64.ActiveCfg = Debug|Any CPU - {9613D697-2F57-4818-916C-F97F1407D8C1}.Debug|x64.Build.0 = Debug|Any CPU - {9613D697-2F57-4818-916C-F97F1407D8C1}.Debug|x86.ActiveCfg = Debug|Any CPU - {9613D697-2F57-4818-916C-F97F1407D8C1}.Debug|x86.Build.0 = Debug|Any CPU - {9613D697-2F57-4818-916C-F97F1407D8C1}.Release|Any CPU.ActiveCfg = Release|Any CPU - {9613D697-2F57-4818-916C-F97F1407D8C1}.Release|Any CPU.Build.0 = Release|Any CPU - {9613D697-2F57-4818-916C-F97F1407D8C1}.Release|x64.ActiveCfg = Release|Any CPU - {9613D697-2F57-4818-916C-F97F1407D8C1}.Release|x64.Build.0 = Release|Any CPU - {9613D697-2F57-4818-916C-F97F1407D8C1}.Release|x86.ActiveCfg = Release|Any CPU - {9613D697-2F57-4818-916C-F97F1407D8C1}.Release|x86.Build.0 = Release|Any CPU - EndGlobalSection -EndGlobal + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio 15 +VisualStudioVersion = 15.0.26124.0 +MinimumVisualStudioVersion = 15.0.26124.0 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Amazon.JSII.Generator", "Amazon.JSII.Generator\Amazon.JSII.Generator.csproj", "{6C634941-79D4-43F1-95F6-98CFF070BA3D}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Amazon.JSII.Generator.UnitTests", "Amazon.JSII.Generator.UnitTests\Amazon.JSII.Generator.UnitTests.csproj", "{D1F82EE2-73F3-4001-BD53-EA407E7DE180}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Amazon.JSII.Generator.CLI", "Amazon.JSII.Generator.CLI\Amazon.JSII.Generator.CLI.csproj", "{9613D697-2F57-4818-916C-F97F1407D8C1}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Debug|x64 = Debug|x64 + Debug|x86 = Debug|x86 + Release|Any CPU = Release|Any CPU + Release|x64 = Release|x64 + Release|x86 = Release|x86 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {6C634941-79D4-43F1-95F6-98CFF070BA3D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {6C634941-79D4-43F1-95F6-98CFF070BA3D}.Debug|Any CPU.Build.0 = Debug|Any CPU + {6C634941-79D4-43F1-95F6-98CFF070BA3D}.Debug|x64.ActiveCfg = Debug|Any CPU + {6C634941-79D4-43F1-95F6-98CFF070BA3D}.Debug|x64.Build.0 = Debug|Any CPU + {6C634941-79D4-43F1-95F6-98CFF070BA3D}.Debug|x86.ActiveCfg = Debug|Any CPU + {6C634941-79D4-43F1-95F6-98CFF070BA3D}.Debug|x86.Build.0 = Debug|Any CPU + {6C634941-79D4-43F1-95F6-98CFF070BA3D}.Release|Any CPU.ActiveCfg = Release|Any CPU + {6C634941-79D4-43F1-95F6-98CFF070BA3D}.Release|Any CPU.Build.0 = Release|Any CPU + {6C634941-79D4-43F1-95F6-98CFF070BA3D}.Release|x64.ActiveCfg = Release|Any CPU + {6C634941-79D4-43F1-95F6-98CFF070BA3D}.Release|x64.Build.0 = Release|Any CPU + {6C634941-79D4-43F1-95F6-98CFF070BA3D}.Release|x86.ActiveCfg = Release|Any CPU + {6C634941-79D4-43F1-95F6-98CFF070BA3D}.Release|x86.Build.0 = Release|Any CPU + {D1F82EE2-73F3-4001-BD53-EA407E7DE180}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {D1F82EE2-73F3-4001-BD53-EA407E7DE180}.Debug|Any CPU.Build.0 = Debug|Any CPU + {D1F82EE2-73F3-4001-BD53-EA407E7DE180}.Debug|x64.ActiveCfg = Debug|Any CPU + {D1F82EE2-73F3-4001-BD53-EA407E7DE180}.Debug|x64.Build.0 = Debug|Any CPU + {D1F82EE2-73F3-4001-BD53-EA407E7DE180}.Debug|x86.ActiveCfg = Debug|Any CPU + {D1F82EE2-73F3-4001-BD53-EA407E7DE180}.Debug|x86.Build.0 = Debug|Any CPU + {D1F82EE2-73F3-4001-BD53-EA407E7DE180}.Release|Any CPU.ActiveCfg = Release|Any CPU + {D1F82EE2-73F3-4001-BD53-EA407E7DE180}.Release|Any CPU.Build.0 = Release|Any CPU + {D1F82EE2-73F3-4001-BD53-EA407E7DE180}.Release|x64.ActiveCfg = Release|Any CPU + {D1F82EE2-73F3-4001-BD53-EA407E7DE180}.Release|x64.Build.0 = Release|Any CPU + {D1F82EE2-73F3-4001-BD53-EA407E7DE180}.Release|x86.ActiveCfg = Release|Any CPU + {D1F82EE2-73F3-4001-BD53-EA407E7DE180}.Release|x86.Build.0 = Release|Any CPU + {9613D697-2F57-4818-916C-F97F1407D8C1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {9613D697-2F57-4818-916C-F97F1407D8C1}.Debug|Any CPU.Build.0 = Debug|Any CPU + {9613D697-2F57-4818-916C-F97F1407D8C1}.Debug|x64.ActiveCfg = Debug|Any CPU + {9613D697-2F57-4818-916C-F97F1407D8C1}.Debug|x64.Build.0 = Debug|Any CPU + {9613D697-2F57-4818-916C-F97F1407D8C1}.Debug|x86.ActiveCfg = Debug|Any CPU + {9613D697-2F57-4818-916C-F97F1407D8C1}.Debug|x86.Build.0 = Debug|Any CPU + {9613D697-2F57-4818-916C-F97F1407D8C1}.Release|Any CPU.ActiveCfg = Release|Any CPU + {9613D697-2F57-4818-916C-F97F1407D8C1}.Release|Any CPU.Build.0 = Release|Any CPU + {9613D697-2F57-4818-916C-F97F1407D8C1}.Release|x64.ActiveCfg = Release|Any CPU + {9613D697-2F57-4818-916C-F97F1407D8C1}.Release|x64.Build.0 = Release|Any CPU + {9613D697-2F57-4818-916C-F97F1407D8C1}.Release|x86.ActiveCfg = Release|Any CPU + {9613D697-2F57-4818-916C-F97F1407D8C1}.Release|x86.Build.0 = Release|Any CPU + EndGlobalSection +EndGlobal diff --git a/packages/jsii-dotnet-generator/src/Amazon.JSII.Generator/AssemblyGenerator.cs b/packages/jsii-dotnet-generator/src/Amazon.JSII.Generator/AssemblyGenerator.cs index 6f40446504..46de4f45f2 100644 --- a/packages/jsii-dotnet-generator/src/Amazon.JSII.Generator/AssemblyGenerator.cs +++ b/packages/jsii-dotnet-generator/src/Amazon.JSII.Generator/AssemblyGenerator.cs @@ -135,12 +135,14 @@ void SaveProjectFile() new XElement("PackageReference", new XAttribute("Include", "Amazon.JSII.Runtime"), new XAttribute("Version", JsiiVersion.Version) - ) - ), - new XElement("ItemGroup", - GetDependencies().Distinct().Select(dependencyName => - new XElement("ProjectReference", - new XAttribute("Include", $@"..\{dependencyName}\{dependencyName}.csproj") + ), + GetDependencies() + .Distinct() + .Select(d => new { Package = symbols.GetAssemblyName(d.Key), Version = d.Value.Version}) + .Select(d => + new XElement("PackageReference", + new XAttribute("Include", d.Package), + new XAttribute("Version", d.Version) ) ) ) @@ -170,14 +172,14 @@ void SaveProjectFile() string csProjPath = Path.Combine(packageOutputRoot, $"{assembly.GetNativeName()}.csproj"); _fileSystem.File.WriteAllText(csProjPath, builder.ToString()); - IEnumerable GetDependencies() + IEnumerable> GetDependencies() { - foreach (string dependencyName in GetDependenciesCore(assembly)) + foreach (KeyValuePair dependency in GetDependenciesCore(assembly)) { - yield return dependencyName; + yield return dependency; } - IEnumerable GetDependenciesCore(DependencyRoot root) + IEnumerable> GetDependenciesCore(DependencyRoot root) { if (root.Dependencies == null) { @@ -185,10 +187,10 @@ IEnumerable GetDependenciesCore(DependencyRoot root) } foreach (var kvp in root.Dependencies) { - yield return symbols.GetAssemblyName(kvp.Key); - foreach (string dependencyName in GetDependenciesCore(kvp.Value)) + yield return kvp; + foreach (KeyValuePair dependency in GetDependenciesCore(kvp.Value)) { - yield return dependencyName; + yield return dependency; } } } diff --git a/packages/jsii-dotnet-generator/src/Amazon.JSII.Generator/PropertyExtensions.cs b/packages/jsii-dotnet-generator/src/Amazon.JSII.Generator/PropertyExtensions.cs index 8fbe0d135a..e7bc685f63 100644 --- a/packages/jsii-dotnet-generator/src/Amazon.JSII.Generator/PropertyExtensions.cs +++ b/packages/jsii-dotnet-generator/src/Amazon.JSII.Generator/PropertyExtensions.cs @@ -1,20 +1,20 @@ -using Amazon.JSII.JsonModel.Spec; -using System; -using System.Collections.Generic; -using System.Text; - -namespace Amazon.JSII.Generator -{ - internal static class PropertyExtensions - { - public static bool IsStatic(this Property property) - { - return property.IsStatic == true || property.IsConstant == true; - } - - public static bool IsImmutable(this Property property) - { - return property.IsImmutable == true || property.IsConstant == true; - } - } -} +using Amazon.JSII.JsonModel.Spec; +using System; +using System.Collections.Generic; +using System.Text; + +namespace Amazon.JSII.Generator +{ + internal static class PropertyExtensions + { + public static bool IsStatic(this Property property) + { + return property.IsStatic == true || property.IsConstant == true; + } + + public static bool IsImmutable(this Property property) + { + return property.IsImmutable == true || property.IsConstant == true; + } + } +} diff --git a/packages/jsii-dotnet-jsonmodel/.npmignore b/packages/jsii-dotnet-jsonmodel/.npmignore index 1a99b60185..1a571e735e 100644 --- a/packages/jsii-dotnet-jsonmodel/.npmignore +++ b/packages/jsii-dotnet-jsonmodel/.npmignore @@ -4,5 +4,4 @@ # bundle only... !*.nupkg !package.json -!index.js - +!lib/index.js diff --git a/packages/jsii-dotnet-jsonmodel/index.js b/packages/jsii-dotnet-jsonmodel/index.js deleted file mode 100644 index 55897bba14..0000000000 --- a/packages/jsii-dotnet-jsonmodel/index.js +++ /dev/null @@ -1 +0,0 @@ -// Do not delete. Required for require.resolve('jsii-dotnet-jsonmodel') to succeed. diff --git a/packages/jsii-dotnet-jsonmodel/lib/index.ts b/packages/jsii-dotnet-jsonmodel/lib/index.ts new file mode 100644 index 0000000000..838fecdac4 --- /dev/null +++ b/packages/jsii-dotnet-jsonmodel/lib/index.ts @@ -0,0 +1,3 @@ +import path = require('path'); + +export const repository = path.resolve(__dirname, path.join('..', 'bin', 'Release', 'NuGet')); diff --git a/packages/jsii-dotnet-jsonmodel/package-lock.json b/packages/jsii-dotnet-jsonmodel/package-lock.json new file mode 100644 index 0000000000..0f558f6f7a --- /dev/null +++ b/packages/jsii-dotnet-jsonmodel/package-lock.json @@ -0,0 +1,16 @@ +{ + "requires": true, + "lockfileVersion": 1, + "dependencies": { + "@types/node": { + "version": "9.6.26", + "resolved": "https://registry.npmjs.org/@types/node/-/node-9.6.26.tgz", + "integrity": "sha512-3LKKscYUZdZreOuvnly8oWsCA1TOWtmkV3mbcUnV34f+nqDWJic+4SGjRi1C/sPHnZcSs/x209O+Dgy8aWHt2A==" + }, + "typescript": { + "version": "2.9.2", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-2.9.2.tgz", + "integrity": "sha512-Gr4p6nFNaoufRIY4NMdpQRNmgxVIGMs4Fcu/ujdYk3nAZqk7supzBE9idmvfZIlH/Cuj//dvi+019qEue9lV0w==" + } + } +} diff --git a/packages/jsii-dotnet-jsonmodel/package.json b/packages/jsii-dotnet-jsonmodel/package.json index 26e56decbe..dd5c5d3324 100644 --- a/packages/jsii-dotnet-jsonmodel/package.json +++ b/packages/jsii-dotnet-jsonmodel/package.json @@ -2,24 +2,28 @@ "name": "jsii-dotnet-jsonmodel", "version": "0.6.2", "description": ".NET json model for jsii spec and api.", - "main": "index.js", + "main": "lib/index.js", "private": true, + "types": "lib/index.d.ts", "scripts": { "gen": "/bin/bash ./generate.sh", - "build": "/bin/bash ./build.sh", + "build": "tsc && /bin/bash ./build.sh", "test": "/bin/bash ./test.sh", "package": "package-dotnet" }, - "repository": { - "type": "git", - "url": "https://github.com/awslabs/jsii.git" + "devDependencies": { + "@types/node": "^9.6.18", + "typescript": "^2.9.2", + "jsii-build-tools": "^0.6.2" }, "author": { "name": "Amazon Web Services", - "url": "https://aws.amazon.com" + "url": "https://aws.amazon.com", + "email": "aws-jsii@amazon.com" }, - "license": "Apache-2.0", - "devDependencies": { - "jsii-build-tools": "^0.6.2" - } + "repository": { + "type": "git", + "url": "https://github.com/awslabs/jsii.git" + }, + "homepage": "https://github.com/awslabs/jsii" } diff --git a/packages/jsii-dotnet-jsonmodel/src/Amazon.JSII.JsonModel.sln b/packages/jsii-dotnet-jsonmodel/src/Amazon.JSII.JsonModel.sln index 2d1aad223a..5d1ebd8dad 100644 --- a/packages/jsii-dotnet-jsonmodel/src/Amazon.JSII.JsonModel.sln +++ b/packages/jsii-dotnet-jsonmodel/src/Amazon.JSII.JsonModel.sln @@ -1,48 +1,48 @@ - -Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio 15 -VisualStudioVersion = 15.0.26124.0 -MinimumVisualStudioVersion = 15.0.26124.0 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Amazon.JSII.JsonModel", "Amazon.JSII.JsonModel\Amazon.JSII.JsonModel.csproj", "{FEADD8C4-63F4-400B-A694-53B094AB38FB}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Amazon.JSII.JsonModel.UnitTests", "Amazon.JSII.JsonModel.UnitTests\Amazon.JSII.JsonModel.UnitTests.csproj", "{CA908432-0AD1-429F-A6FE-8CC9F35C6C8F}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Any CPU = Debug|Any CPU - Debug|x64 = Debug|x64 - Debug|x86 = Debug|x86 - Release|Any CPU = Release|Any CPU - Release|x64 = Release|x64 - Release|x86 = Release|x86 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {FEADD8C4-63F4-400B-A694-53B094AB38FB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {FEADD8C4-63F4-400B-A694-53B094AB38FB}.Debug|Any CPU.Build.0 = Debug|Any CPU - {FEADD8C4-63F4-400B-A694-53B094AB38FB}.Debug|x64.ActiveCfg = Debug|Any CPU - {FEADD8C4-63F4-400B-A694-53B094AB38FB}.Debug|x64.Build.0 = Debug|Any CPU - {FEADD8C4-63F4-400B-A694-53B094AB38FB}.Debug|x86.ActiveCfg = Debug|Any CPU - {FEADD8C4-63F4-400B-A694-53B094AB38FB}.Debug|x86.Build.0 = Debug|Any CPU - {FEADD8C4-63F4-400B-A694-53B094AB38FB}.Release|Any CPU.ActiveCfg = Release|Any CPU - {FEADD8C4-63F4-400B-A694-53B094AB38FB}.Release|Any CPU.Build.0 = Release|Any CPU - {FEADD8C4-63F4-400B-A694-53B094AB38FB}.Release|x64.ActiveCfg = Release|Any CPU - {FEADD8C4-63F4-400B-A694-53B094AB38FB}.Release|x64.Build.0 = Release|Any CPU - {FEADD8C4-63F4-400B-A694-53B094AB38FB}.Release|x86.ActiveCfg = Release|Any CPU - {FEADD8C4-63F4-400B-A694-53B094AB38FB}.Release|x86.Build.0 = Release|Any CPU - {CA908432-0AD1-429F-A6FE-8CC9F35C6C8F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {CA908432-0AD1-429F-A6FE-8CC9F35C6C8F}.Debug|Any CPU.Build.0 = Debug|Any CPU - {CA908432-0AD1-429F-A6FE-8CC9F35C6C8F}.Debug|x64.ActiveCfg = Debug|Any CPU - {CA908432-0AD1-429F-A6FE-8CC9F35C6C8F}.Debug|x64.Build.0 = Debug|Any CPU - {CA908432-0AD1-429F-A6FE-8CC9F35C6C8F}.Debug|x86.ActiveCfg = Debug|Any CPU - {CA908432-0AD1-429F-A6FE-8CC9F35C6C8F}.Debug|x86.Build.0 = Debug|Any CPU - {CA908432-0AD1-429F-A6FE-8CC9F35C6C8F}.Release|Any CPU.ActiveCfg = Release|Any CPU - {CA908432-0AD1-429F-A6FE-8CC9F35C6C8F}.Release|Any CPU.Build.0 = Release|Any CPU - {CA908432-0AD1-429F-A6FE-8CC9F35C6C8F}.Release|x64.ActiveCfg = Release|Any CPU - {CA908432-0AD1-429F-A6FE-8CC9F35C6C8F}.Release|x64.Build.0 = Release|Any CPU - {CA908432-0AD1-429F-A6FE-8CC9F35C6C8F}.Release|x86.ActiveCfg = Release|Any CPU - {CA908432-0AD1-429F-A6FE-8CC9F35C6C8F}.Release|x86.Build.0 = Release|Any CPU - EndGlobalSection -EndGlobal + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio 15 +VisualStudioVersion = 15.0.26124.0 +MinimumVisualStudioVersion = 15.0.26124.0 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Amazon.JSII.JsonModel", "Amazon.JSII.JsonModel\Amazon.JSII.JsonModel.csproj", "{FEADD8C4-63F4-400B-A694-53B094AB38FB}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Amazon.JSII.JsonModel.UnitTests", "Amazon.JSII.JsonModel.UnitTests\Amazon.JSII.JsonModel.UnitTests.csproj", "{CA908432-0AD1-429F-A6FE-8CC9F35C6C8F}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Debug|x64 = Debug|x64 + Debug|x86 = Debug|x86 + Release|Any CPU = Release|Any CPU + Release|x64 = Release|x64 + Release|x86 = Release|x86 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {FEADD8C4-63F4-400B-A694-53B094AB38FB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {FEADD8C4-63F4-400B-A694-53B094AB38FB}.Debug|Any CPU.Build.0 = Debug|Any CPU + {FEADD8C4-63F4-400B-A694-53B094AB38FB}.Debug|x64.ActiveCfg = Debug|Any CPU + {FEADD8C4-63F4-400B-A694-53B094AB38FB}.Debug|x64.Build.0 = Debug|Any CPU + {FEADD8C4-63F4-400B-A694-53B094AB38FB}.Debug|x86.ActiveCfg = Debug|Any CPU + {FEADD8C4-63F4-400B-A694-53B094AB38FB}.Debug|x86.Build.0 = Debug|Any CPU + {FEADD8C4-63F4-400B-A694-53B094AB38FB}.Release|Any CPU.ActiveCfg = Release|Any CPU + {FEADD8C4-63F4-400B-A694-53B094AB38FB}.Release|Any CPU.Build.0 = Release|Any CPU + {FEADD8C4-63F4-400B-A694-53B094AB38FB}.Release|x64.ActiveCfg = Release|Any CPU + {FEADD8C4-63F4-400B-A694-53B094AB38FB}.Release|x64.Build.0 = Release|Any CPU + {FEADD8C4-63F4-400B-A694-53B094AB38FB}.Release|x86.ActiveCfg = Release|Any CPU + {FEADD8C4-63F4-400B-A694-53B094AB38FB}.Release|x86.Build.0 = Release|Any CPU + {CA908432-0AD1-429F-A6FE-8CC9F35C6C8F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {CA908432-0AD1-429F-A6FE-8CC9F35C6C8F}.Debug|Any CPU.Build.0 = Debug|Any CPU + {CA908432-0AD1-429F-A6FE-8CC9F35C6C8F}.Debug|x64.ActiveCfg = Debug|Any CPU + {CA908432-0AD1-429F-A6FE-8CC9F35C6C8F}.Debug|x64.Build.0 = Debug|Any CPU + {CA908432-0AD1-429F-A6FE-8CC9F35C6C8F}.Debug|x86.ActiveCfg = Debug|Any CPU + {CA908432-0AD1-429F-A6FE-8CC9F35C6C8F}.Debug|x86.Build.0 = Debug|Any CPU + {CA908432-0AD1-429F-A6FE-8CC9F35C6C8F}.Release|Any CPU.ActiveCfg = Release|Any CPU + {CA908432-0AD1-429F-A6FE-8CC9F35C6C8F}.Release|Any CPU.Build.0 = Release|Any CPU + {CA908432-0AD1-429F-A6FE-8CC9F35C6C8F}.Release|x64.ActiveCfg = Release|Any CPU + {CA908432-0AD1-429F-A6FE-8CC9F35C6C8F}.Release|x64.Build.0 = Release|Any CPU + {CA908432-0AD1-429F-A6FE-8CC9F35C6C8F}.Release|x86.ActiveCfg = Release|Any CPU + {CA908432-0AD1-429F-A6FE-8CC9F35C6C8F}.Release|x86.Build.0 = Release|Any CPU + EndGlobalSection +EndGlobal diff --git a/packages/jsii-dotnet-jsonmodel/src/Amazon.JSII.JsonModel/Api/Request/StaticGetRequest.cs b/packages/jsii-dotnet-jsonmodel/src/Amazon.JSII.JsonModel/Api/Request/StaticGetRequest.cs index a0a69bbe95..0b17926e9f 100644 --- a/packages/jsii-dotnet-jsonmodel/src/Amazon.JSII.JsonModel/Api/Request/StaticGetRequest.cs +++ b/packages/jsii-dotnet-jsonmodel/src/Amazon.JSII.JsonModel/Api/Request/StaticGetRequest.cs @@ -1,24 +1,24 @@ -using Newtonsoft.Json; -using System; - -namespace Amazon.JSII.JsonModel.Api.Request -{ - [JsonObject(MemberSerialization = MemberSerialization.OptIn)] - public class StaticGetRequest : IKernelRequest - { - public StaticGetRequest(string fullyQualifiedName, string property) - { - FullyQualifiedName = fullyQualifiedName ?? throw new ArgumentNullException(nameof(fullyQualifiedName)); - Property = property ?? throw new ArgumentNullException(nameof(property)); - } - - [JsonProperty("api")] - public string Api { get; } = "sget"; - - [JsonProperty("fqn")] - public string FullyQualifiedName { get; } - - [JsonProperty("property")] - public string Property { get; } - } -} +using Newtonsoft.Json; +using System; + +namespace Amazon.JSII.JsonModel.Api.Request +{ + [JsonObject(MemberSerialization = MemberSerialization.OptIn)] + public class StaticGetRequest : IKernelRequest + { + public StaticGetRequest(string fullyQualifiedName, string property) + { + FullyQualifiedName = fullyQualifiedName ?? throw new ArgumentNullException(nameof(fullyQualifiedName)); + Property = property ?? throw new ArgumentNullException(nameof(property)); + } + + [JsonProperty("api")] + public string Api { get; } = "sget"; + + [JsonProperty("fqn")] + public string FullyQualifiedName { get; } + + [JsonProperty("property")] + public string Property { get; } + } +} diff --git a/packages/jsii-dotnet-jsonmodel/src/Amazon.JSII.JsonModel/Api/Request/StaticInvokeRequest.cs b/packages/jsii-dotnet-jsonmodel/src/Amazon.JSII.JsonModel/Api/Request/StaticInvokeRequest.cs index ffe721fc4a..fb939a6c11 100644 --- a/packages/jsii-dotnet-jsonmodel/src/Amazon.JSII.JsonModel/Api/Request/StaticInvokeRequest.cs +++ b/packages/jsii-dotnet-jsonmodel/src/Amazon.JSII.JsonModel/Api/Request/StaticInvokeRequest.cs @@ -1,28 +1,28 @@ -using Newtonsoft.Json; -using System; - -namespace Amazon.JSII.JsonModel.Api.Request -{ - [JsonObject(MemberSerialization = MemberSerialization.OptIn)] - public class StaticInvokeRequest : IKernelRequest - { - public StaticInvokeRequest(string fullyQualifiedName, string method, object[] arguments = null) - { - FullyQualifiedName = fullyQualifiedName ?? throw new ArgumentNullException(nameof(fullyQualifiedName)); - Method = method ?? throw new ArgumentNullException(nameof(method)); - Arguments = arguments; - } - - [JsonProperty("api")] - public string Api { get; } = "sinvoke"; - - [JsonProperty("fqn")] - public string FullyQualifiedName { get; } - - [JsonProperty("method")] - public string Method { get; } - - [JsonProperty("args", NullValueHandling = NullValueHandling.Ignore)] - public object[] Arguments { get; } - } -} +using Newtonsoft.Json; +using System; + +namespace Amazon.JSII.JsonModel.Api.Request +{ + [JsonObject(MemberSerialization = MemberSerialization.OptIn)] + public class StaticInvokeRequest : IKernelRequest + { + public StaticInvokeRequest(string fullyQualifiedName, string method, object[] arguments = null) + { + FullyQualifiedName = fullyQualifiedName ?? throw new ArgumentNullException(nameof(fullyQualifiedName)); + Method = method ?? throw new ArgumentNullException(nameof(method)); + Arguments = arguments; + } + + [JsonProperty("api")] + public string Api { get; } = "sinvoke"; + + [JsonProperty("fqn")] + public string FullyQualifiedName { get; } + + [JsonProperty("method")] + public string Method { get; } + + [JsonProperty("args", NullValueHandling = NullValueHandling.Ignore)] + public object[] Arguments { get; } + } +} diff --git a/packages/jsii-dotnet-jsonmodel/src/Amazon.JSII.JsonModel/Api/Request/StaticSetRequest.cs b/packages/jsii-dotnet-jsonmodel/src/Amazon.JSII.JsonModel/Api/Request/StaticSetRequest.cs index 5ad3b40e9e..51b0991cb8 100644 --- a/packages/jsii-dotnet-jsonmodel/src/Amazon.JSII.JsonModel/Api/Request/StaticSetRequest.cs +++ b/packages/jsii-dotnet-jsonmodel/src/Amazon.JSII.JsonModel/Api/Request/StaticSetRequest.cs @@ -1,28 +1,28 @@ -using Newtonsoft.Json; -using System; - -namespace Amazon.JSII.JsonModel.Api.Request -{ - [JsonObject(MemberSerialization = MemberSerialization.OptIn)] - public class StaticSetRequest : IKernelRequest - { - public StaticSetRequest(string fullyQualifiedName, string property, object value) - { - FullyQualifiedName = fullyQualifiedName ?? throw new ArgumentNullException(nameof(fullyQualifiedName)); - Property = property ?? throw new ArgumentNullException(nameof(property)); - Value = value ?? throw new ArgumentNullException(nameof(value)); - } - - [JsonProperty("api")] - public string Api { get; } = "sset"; - - [JsonProperty("fqn")] - public string FullyQualifiedName { get; } - - [JsonProperty("property")] - public string Property { get; } - - [JsonProperty("value")] - public object Value { get; } - } -} +using Newtonsoft.Json; +using System; + +namespace Amazon.JSII.JsonModel.Api.Request +{ + [JsonObject(MemberSerialization = MemberSerialization.OptIn)] + public class StaticSetRequest : IKernelRequest + { + public StaticSetRequest(string fullyQualifiedName, string property, object value) + { + FullyQualifiedName = fullyQualifiedName ?? throw new ArgumentNullException(nameof(fullyQualifiedName)); + Property = property ?? throw new ArgumentNullException(nameof(property)); + Value = value ?? throw new ArgumentNullException(nameof(value)); + } + + [JsonProperty("api")] + public string Api { get; } = "sset"; + + [JsonProperty("fqn")] + public string FullyQualifiedName { get; } + + [JsonProperty("property")] + public string Property { get; } + + [JsonProperty("value")] + public object Value { get; } + } +} diff --git a/packages/jsii-dotnet-jsonmodel/tsconfig.json b/packages/jsii-dotnet-jsonmodel/tsconfig.json new file mode 100644 index 0000000000..6f8f29cf64 --- /dev/null +++ b/packages/jsii-dotnet-jsonmodel/tsconfig.json @@ -0,0 +1,54 @@ +{ + "compilerOptions": { + /* Basic Options */ + "target": "ES2018", /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', or 'ESNEXT'. */ + "module": "commonjs", /* Specify module code generation: 'commonjs', 'amd', 'system', 'umd', 'es2015', or 'ESNext'. */ + "lib": ["es2016", "es2017.object", "es2017.string"], /* Specify library files to be included in the compilation: */ + // "allowJs": true, /* Allow javascript files to be compiled. */ + // "checkJs": true, /* Report errors in .js files. */ + // "jsx": "preserve", /* Specify JSX code generation: 'preserve', 'react-native', or 'react'. */ + "declaration": true, /* Generates corresponding '.d.ts' file. */ + // "sourceMap": true, /* Generates corresponding '.map' file. */ + // "outFile": "./", /* Concatenate and emit output to single file. */ + // "outDir": "./", /* Redirect output structure to the directory. */ + // "rootDir": "./", /* Specify the root directory of input files. Use to control the output directory structure with --outDir. */ + // "removeComments": true, /* Do not emit comments to output. */ + // "noEmit": true, /* Do not emit outputs. */ + // "importHelpers": true, /* Import emit helpers from 'tslib'. */ + // "downlevelIteration": true, /* Provide full support for iterables in 'for-of', spread, and destructuring when targeting 'ES5' or 'ES3'. */ + // "isolatedModules": true, /* Transpile each file as a separate module (similar to 'ts.transpileModule'). */ + + /* Strict Type-Checking Options */ + "strict": true, /* Enable all strict type-checking options. */ + "noImplicitAny": true, /* Raise error on expressions and declarations with an implied 'any' type. */ + "strictNullChecks": true, /* Enable strict null checks. */ + "noImplicitThis": true, /* Raise error on 'this' expressions with an implied 'any' type. */ + "alwaysStrict": true, /* Parse in strict mode and emit "use strict" for each source file. */ + "strictPropertyInitialization": false, /* DO NOT Raise error on class attribute not initialized by constructor. */ + + /* Additional Checks */ + "noUnusedLocals": true, /* Report errors on unused locals. */ + "noUnusedParameters": true, /* Report errors on unused parameters. */ + "noImplicitReturns": true, /* Report error when not all code paths in function return a value. */ + "noFallthroughCasesInSwitch": true, /* Report errors for fallthrough cases in switch statement. */ + + /* Module Resolution Options */ + // "moduleResolution": "node", /* Specify module resolution strategy: 'node' (Node.js) or 'classic' (TypeScript pre-1.6). */ + // "baseUrl": "./", /* Base directory to resolve non-absolute module names. */ + // "paths": {}, /* A series of entries which re-map imports to lookup locations relative to the 'baseUrl'. */ + // "rootDirs": [], /* List of root folders whose combined content represents the structure of the project at runtime. */ + // "typeRoots": [], /* List of folders to include type definitions from. */ + // "types": [], /* Type declaration files to be included in compilation. */ + // "allowSyntheticDefaultImports": true, /* Allow default imports from modules with no default export. This does not affect code emit, just typechecking. */ + + /* Source Map Options */ + // "sourceRoot": "./", /* Specify the location where debugger should locate TypeScript files instead of source locations. */ + // "mapRoot": "./", /* Specify the location where debugger should locate map files instead of generated locations. */ + // "inlineSourceMap": false, /* Emit a single file with source maps instead of having a separate file. */ + // "inlineSources": false, /* Emit the source alongside the sourcemaps within a single file; requires '--inlineSourceMap' or '--sourceMap' to be set. */ + + /* Experimental Options */ + "experimentalDecorators": true /* Enables experimental support for ES7 decorators. */ + // "emitDecoratorMetadata": true, /* Enables experimental support for emitting type metadata for decorators. */ + } +} diff --git a/packages/jsii-dotnet-runtime-test/.gitignore b/packages/jsii-dotnet-runtime-test/.gitignore new file mode 100644 index 0000000000..4c00bae334 --- /dev/null +++ b/packages/jsii-dotnet-runtime-test/.gitignore @@ -0,0 +1,8 @@ +# generated by generate.sh +test/generated +test/Directory.Build.props +*.js.map +*.wasm + +# consumed by generate.sh +!*.t.js diff --git a/packages/jsii-dotnet-runtime-test/.npmignore b/packages/jsii-dotnet-runtime-test/.npmignore new file mode 100644 index 0000000000..1a99b60185 --- /dev/null +++ b/packages/jsii-dotnet-runtime-test/.npmignore @@ -0,0 +1,8 @@ +# by default, exclude everything +* + +# bundle only... +!*.nupkg +!package.json +!index.js + diff --git a/packages/jsii-dotnet-runtime-test/Directory.Build.props.t.js b/packages/jsii-dotnet-runtime-test/Directory.Build.props.t.js new file mode 100644 index 0000000000..c292ada28f --- /dev/null +++ b/packages/jsii-dotnet-runtime-test/Directory.Build.props.t.js @@ -0,0 +1,10 @@ +const path = require('path'); +const version = require('./package.json').version.replace(/\+.+$/, ''); // omit "+build" postfix; +process.stdout.write(` + + Amazon Web Services LLC + Amazon Web Services LLC + ${version} + + +`); diff --git a/packages/jsii-dotnet-runtime-test/LICENSE b/packages/jsii-dotnet-runtime-test/LICENSE new file mode 100644 index 0000000000..129acd53d9 --- /dev/null +++ b/packages/jsii-dotnet-runtime-test/LICENSE @@ -0,0 +1,202 @@ + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. \ No newline at end of file diff --git a/packages/jsii-dotnet-runtime-test/build.sh b/packages/jsii-dotnet-runtime-test/build.sh new file mode 100644 index 0000000000..c6e9d4868b --- /dev/null +++ b/packages/jsii-dotnet-runtime-test/build.sh @@ -0,0 +1,9 @@ +#!/bin/bash +set -euo pipefail + +# TODO: Auto-rev NuGet package versions on each local build. +# Because we we don't rev the versions, dotnet will pick +# up an old build from the cache if it exists. So we +# explicitly clear the cache as a temporary workaround. +dotnet nuget locals all --clear +dotnet build -c Release ./test/Amazon.JSII.Runtime.IntegrationTests diff --git a/packages/jsii-dotnet-runtime-test/generate.sh b/packages/jsii-dotnet-runtime-test/generate.sh new file mode 100644 index 0000000000..8b6d95f7be --- /dev/null +++ b/packages/jsii-dotnet-runtime-test/generate.sh @@ -0,0 +1,9 @@ +#!/bin/bash +set -euo pipefail +test="./test" + +# Generate NuGet packages for jsii-calc and its dependencies. +jsii-pacmak -vv -t dotnet --recurse -o ${test}/generated ../jsii-calc + +# Generate Directory.Build.props +/usr/bin/env node ./Directory.Build.props.t.js > ${test}/Directory.Build.props diff --git a/packages/jsii-dotnet-runtime-test/lib/index.ts b/packages/jsii-dotnet-runtime-test/lib/index.ts new file mode 100644 index 0000000000..838fecdac4 --- /dev/null +++ b/packages/jsii-dotnet-runtime-test/lib/index.ts @@ -0,0 +1,3 @@ +import path = require('path'); + +export const repository = path.resolve(__dirname, path.join('..', 'bin', 'Release', 'NuGet')); diff --git a/packages/jsii-dotnet-runtime-test/package-lock.json b/packages/jsii-dotnet-runtime-test/package-lock.json new file mode 100644 index 0000000000..0f558f6f7a --- /dev/null +++ b/packages/jsii-dotnet-runtime-test/package-lock.json @@ -0,0 +1,16 @@ +{ + "requires": true, + "lockfileVersion": 1, + "dependencies": { + "@types/node": { + "version": "9.6.26", + "resolved": "https://registry.npmjs.org/@types/node/-/node-9.6.26.tgz", + "integrity": "sha512-3LKKscYUZdZreOuvnly8oWsCA1TOWtmkV3mbcUnV34f+nqDWJic+4SGjRi1C/sPHnZcSs/x209O+Dgy8aWHt2A==" + }, + "typescript": { + "version": "2.9.2", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-2.9.2.tgz", + "integrity": "sha512-Gr4p6nFNaoufRIY4NMdpQRNmgxVIGMs4Fcu/ujdYk3nAZqk7supzBE9idmvfZIlH/Cuj//dvi+019qEue9lV0w==" + } + } +} diff --git a/packages/jsii-dotnet-runtime-test/package.json b/packages/jsii-dotnet-runtime-test/package.json new file mode 100644 index 0000000000..40aba259cf --- /dev/null +++ b/packages/jsii-dotnet-runtime-test/package.json @@ -0,0 +1,30 @@ +{ + "name": "jsii-dotnet-runtime-test", + "version": "0.6.2", + "description": "Tests for the .NET client for jsii runtime", + "main": "lib/index.js", + "types": "lib/index.d.ts", + "private": true, + "scripts": { + "gen": "/bin/bash ./generate.sh", + "build": "npm run gen && tsc && /bin/bash ./build.sh", + "test": "/bin/bash ./test.sh" + }, + "devDependencies": { + "@types/node": "^9.6.18", + "typescript": "^2.9.2", + "jsii-calc": "^0.6.2", + "jsii-dotnet-runtime": "^0.6.2", + "jsii-pacmak": "^0.6.2" + }, + "author": { + "name": "Amazon Web Services", + "url": "https://aws.amazon.com", + "email": "aws-jsii@amazon.com" + }, + "license": "Apache-2.0", + "repository": { + "type": "git", + "url": "https://github.com/awslabs/jsii.git" + } +} diff --git a/packages/jsii-dotnet-runtime-test/test.sh b/packages/jsii-dotnet-runtime-test/test.sh new file mode 100644 index 0000000000..84e9fe5eb6 --- /dev/null +++ b/packages/jsii-dotnet-runtime-test/test.sh @@ -0,0 +1,6 @@ +#!/bin/bash +set -euo pipefail + +# Run integration tests +echo "Running integration tests" +dotnet test -c Release ./test/Amazon.JSII.Runtime.IntegrationTests/Amazon.JSII.Runtime.IntegrationTests.csproj diff --git a/packages/jsii-dotnet-runtime/test/Amazon.JSII.Runtime.IntegrationTests/Amazon.JSII.Runtime.IntegrationTests.csproj b/packages/jsii-dotnet-runtime-test/test/Amazon.JSII.Runtime.IntegrationTests/Amazon.JSII.Runtime.IntegrationTests.csproj similarity index 86% rename from packages/jsii-dotnet-runtime/test/Amazon.JSII.Runtime.IntegrationTests/Amazon.JSII.Runtime.IntegrationTests.csproj rename to packages/jsii-dotnet-runtime-test/test/Amazon.JSII.Runtime.IntegrationTests/Amazon.JSII.Runtime.IntegrationTests.csproj index 8bcc510a93..7e008ab9c3 100644 --- a/packages/jsii-dotnet-runtime/test/Amazon.JSII.Runtime.IntegrationTests/Amazon.JSII.Runtime.IntegrationTests.csproj +++ b/packages/jsii-dotnet-runtime-test/test/Amazon.JSII.Runtime.IntegrationTests/Amazon.JSII.Runtime.IntegrationTests.csproj @@ -7,7 +7,7 @@ - + diff --git a/packages/jsii-dotnet-runtime/test/Amazon.JSII.Runtime.IntegrationTests/ComplianceTests.cs b/packages/jsii-dotnet-runtime-test/test/Amazon.JSII.Runtime.IntegrationTests/ComplianceTests.cs similarity index 100% rename from packages/jsii-dotnet-runtime/test/Amazon.JSII.Runtime.IntegrationTests/ComplianceTests.cs rename to packages/jsii-dotnet-runtime-test/test/Amazon.JSII.Runtime.IntegrationTests/ComplianceTests.cs diff --git a/packages/jsii-dotnet-runtime/test/Amazon.JSII.Runtime.IntegrationTests/IntegrationTestBase.cs b/packages/jsii-dotnet-runtime-test/test/Amazon.JSII.Runtime.IntegrationTests/IntegrationTestBase.cs similarity index 100% rename from packages/jsii-dotnet-runtime/test/Amazon.JSII.Runtime.IntegrationTests/IntegrationTestBase.cs rename to packages/jsii-dotnet-runtime-test/test/Amazon.JSII.Runtime.IntegrationTests/IntegrationTestBase.cs diff --git a/packages/jsii-dotnet-runtime/test/Amazon.JSII.Runtime.IntegrationTests/XUnitLogger.cs b/packages/jsii-dotnet-runtime-test/test/Amazon.JSII.Runtime.IntegrationTests/XUnitLogger.cs similarity index 100% rename from packages/jsii-dotnet-runtime/test/Amazon.JSII.Runtime.IntegrationTests/XUnitLogger.cs rename to packages/jsii-dotnet-runtime-test/test/Amazon.JSII.Runtime.IntegrationTests/XUnitLogger.cs diff --git a/packages/jsii-dotnet-runtime/test/NuGet.config b/packages/jsii-dotnet-runtime-test/test/NuGet.config similarity index 54% rename from packages/jsii-dotnet-runtime/test/NuGet.config rename to packages/jsii-dotnet-runtime-test/test/NuGet.config index 265da2e784..3c186634e7 100644 --- a/packages/jsii-dotnet-runtime/test/NuGet.config +++ b/packages/jsii-dotnet-runtime-test/test/NuGet.config @@ -2,8 +2,9 @@ - - + + + diff --git a/packages/jsii-dotnet-runtime-test/tsconfig.json b/packages/jsii-dotnet-runtime-test/tsconfig.json new file mode 100644 index 0000000000..6f8f29cf64 --- /dev/null +++ b/packages/jsii-dotnet-runtime-test/tsconfig.json @@ -0,0 +1,54 @@ +{ + "compilerOptions": { + /* Basic Options */ + "target": "ES2018", /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', or 'ESNEXT'. */ + "module": "commonjs", /* Specify module code generation: 'commonjs', 'amd', 'system', 'umd', 'es2015', or 'ESNext'. */ + "lib": ["es2016", "es2017.object", "es2017.string"], /* Specify library files to be included in the compilation: */ + // "allowJs": true, /* Allow javascript files to be compiled. */ + // "checkJs": true, /* Report errors in .js files. */ + // "jsx": "preserve", /* Specify JSX code generation: 'preserve', 'react-native', or 'react'. */ + "declaration": true, /* Generates corresponding '.d.ts' file. */ + // "sourceMap": true, /* Generates corresponding '.map' file. */ + // "outFile": "./", /* Concatenate and emit output to single file. */ + // "outDir": "./", /* Redirect output structure to the directory. */ + // "rootDir": "./", /* Specify the root directory of input files. Use to control the output directory structure with --outDir. */ + // "removeComments": true, /* Do not emit comments to output. */ + // "noEmit": true, /* Do not emit outputs. */ + // "importHelpers": true, /* Import emit helpers from 'tslib'. */ + // "downlevelIteration": true, /* Provide full support for iterables in 'for-of', spread, and destructuring when targeting 'ES5' or 'ES3'. */ + // "isolatedModules": true, /* Transpile each file as a separate module (similar to 'ts.transpileModule'). */ + + /* Strict Type-Checking Options */ + "strict": true, /* Enable all strict type-checking options. */ + "noImplicitAny": true, /* Raise error on expressions and declarations with an implied 'any' type. */ + "strictNullChecks": true, /* Enable strict null checks. */ + "noImplicitThis": true, /* Raise error on 'this' expressions with an implied 'any' type. */ + "alwaysStrict": true, /* Parse in strict mode and emit "use strict" for each source file. */ + "strictPropertyInitialization": false, /* DO NOT Raise error on class attribute not initialized by constructor. */ + + /* Additional Checks */ + "noUnusedLocals": true, /* Report errors on unused locals. */ + "noUnusedParameters": true, /* Report errors on unused parameters. */ + "noImplicitReturns": true, /* Report error when not all code paths in function return a value. */ + "noFallthroughCasesInSwitch": true, /* Report errors for fallthrough cases in switch statement. */ + + /* Module Resolution Options */ + // "moduleResolution": "node", /* Specify module resolution strategy: 'node' (Node.js) or 'classic' (TypeScript pre-1.6). */ + // "baseUrl": "./", /* Base directory to resolve non-absolute module names. */ + // "paths": {}, /* A series of entries which re-map imports to lookup locations relative to the 'baseUrl'. */ + // "rootDirs": [], /* List of root folders whose combined content represents the structure of the project at runtime. */ + // "typeRoots": [], /* List of folders to include type definitions from. */ + // "types": [], /* Type declaration files to be included in compilation. */ + // "allowSyntheticDefaultImports": true, /* Allow default imports from modules with no default export. This does not affect code emit, just typechecking. */ + + /* Source Map Options */ + // "sourceRoot": "./", /* Specify the location where debugger should locate TypeScript files instead of source locations. */ + // "mapRoot": "./", /* Specify the location where debugger should locate map files instead of generated locations. */ + // "inlineSourceMap": false, /* Emit a single file with source maps instead of having a separate file. */ + // "inlineSources": false, /* Emit the source alongside the sourcemaps within a single file; requires '--inlineSourceMap' or '--sourceMap' to be set. */ + + /* Experimental Options */ + "experimentalDecorators": true /* Enables experimental support for ES7 decorators. */ + // "emitDecoratorMetadata": true, /* Enables experimental support for emitting type metadata for decorators. */ + } +} diff --git a/packages/jsii-dotnet-runtime/.npmignore b/packages/jsii-dotnet-runtime/.npmignore index 1a99b60185..9ab683115d 100644 --- a/packages/jsii-dotnet-runtime/.npmignore +++ b/packages/jsii-dotnet-runtime/.npmignore @@ -1,8 +1,2 @@ # by default, exclude everything * - -# bundle only... -!*.nupkg -!package.json -!index.js - diff --git a/packages/jsii-dotnet-runtime/build.sh b/packages/jsii-dotnet-runtime/build.sh index 969b8ababd..e8486df23a 100644 --- a/packages/jsii-dotnet-runtime/build.sh +++ b/packages/jsii-dotnet-runtime/build.sh @@ -1,8 +1,6 @@ #!/bin/bash set -euo pipefail -npm run gen - # embed jsii-runtime as a resource bundle_dir="src/Amazon.JSII.Runtime/jsii-runtime" mkdir -p ${bundle_dir} diff --git a/packages/jsii-dotnet-runtime/index.js b/packages/jsii-dotnet-runtime/index.js deleted file mode 100644 index 515813b30e..0000000000 --- a/packages/jsii-dotnet-runtime/index.js +++ /dev/null @@ -1 +0,0 @@ -// Do not delete. Required for require.resolve('jsii-dotnet-runtime') to succeed. diff --git a/packages/jsii-dotnet-runtime/lib/index.ts b/packages/jsii-dotnet-runtime/lib/index.ts new file mode 100644 index 0000000000..838fecdac4 --- /dev/null +++ b/packages/jsii-dotnet-runtime/lib/index.ts @@ -0,0 +1,3 @@ +import path = require('path'); + +export const repository = path.resolve(__dirname, path.join('..', 'bin', 'Release', 'NuGet')); diff --git a/packages/jsii-dotnet-runtime/package-lock.json b/packages/jsii-dotnet-runtime/package-lock.json new file mode 100644 index 0000000000..0f558f6f7a --- /dev/null +++ b/packages/jsii-dotnet-runtime/package-lock.json @@ -0,0 +1,16 @@ +{ + "requires": true, + "lockfileVersion": 1, + "dependencies": { + "@types/node": { + "version": "9.6.26", + "resolved": "https://registry.npmjs.org/@types/node/-/node-9.6.26.tgz", + "integrity": "sha512-3LKKscYUZdZreOuvnly8oWsCA1TOWtmkV3mbcUnV34f+nqDWJic+4SGjRi1C/sPHnZcSs/x209O+Dgy8aWHt2A==" + }, + "typescript": { + "version": "2.9.2", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-2.9.2.tgz", + "integrity": "sha512-Gr4p6nFNaoufRIY4NMdpQRNmgxVIGMs4Fcu/ujdYk3nAZqk7supzBE9idmvfZIlH/Cuj//dvi+019qEue9lV0w==" + } + } +} diff --git a/packages/jsii-dotnet-runtime/package.json b/packages/jsii-dotnet-runtime/package.json index a9c63f2aa0..0c99e1a708 100644 --- a/packages/jsii-dotnet-runtime/package.json +++ b/packages/jsii-dotnet-runtime/package.json @@ -2,31 +2,33 @@ "name": "jsii-dotnet-runtime", "version": "0.6.2", "description": ".NET client for jsii runtime", - "main": "index.js", + "main": "lib/index.js", "private": true, + "types": "lib/index.d.ts", "scripts": { "gen": "/bin/bash ./generate.sh", - "build": "/bin/bash ./build.sh", + "build": "npm run gen && tsc && /bin/bash ./build.sh", "test": "/bin/bash ./test.sh", "package": "package-dotnet" }, "devDependencies": { - "@scope/jsii-calc-lib": "^0.6.2", - "jsii-build-tools": "^0.6.2", - "jsii-calc": "^0.6.2", - "jsii-pacmak": "^0.6.2", - "jsii-runtime": "^0.6.2" + "@types/node": "^9.6.18", + "typescript": "^2.9.2", + "jsii-runtime": "^0.6.2", + "jsii-build-tools": "^0.6.2" }, "dependencies": { "jsii-dotnet-jsonmodel": "^0.6.2" }, + "author": { + "name": "Amazon Web Services", + "url": "https://aws.amazon.com", + "email": "aws-jsii@amazon.com" + }, + "license": "Apache-2.0", "repository": { "type": "git", "url": "https://github.com/awslabs/jsii.git" }, - "author": { - "name": "Amazon Web Services", - "url": "https://aws.amazon.com" - }, - "license": "Apache-2.0" + "homepage": "https://github.com/awslabs/jsii" } diff --git a/packages/jsii-dotnet-runtime/src/Amazon.JSII.Runtime.sln b/packages/jsii-dotnet-runtime/src/Amazon.JSII.Runtime.sln index 047ee07bcb..72e69b8540 100644 --- a/packages/jsii-dotnet-runtime/src/Amazon.JSII.Runtime.sln +++ b/packages/jsii-dotnet-runtime/src/Amazon.JSII.Runtime.sln @@ -1,41 +1,41 @@ - -Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio 15 -VisualStudioVersion = 15.0.27703.2026 -MinimumVisualStudioVersion = 10.0.40219.1 -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Amazon.JSII.Runtime", "Amazon.JSII.Runtime\Amazon.JSII.Runtime.csproj", "{E7BFF0E9-D8BF-4996-98B7-58334EA276D1}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Props", "Props", "{B88CEA39-359B-45A0-86D6-0BC1FD284BBE}" - ProjectSection(SolutionItems) = preProject - Directory.Build.props = Directory.Build.props - EndProjectSection -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "UnitTests", "UnitTests", "{1F4EEFB5-9E4C-4464-9C3B-6729ABB0511E}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Amazon.JSII.Runtime.UnitTests", "Amazon.JSII.Runtime.UnitTests\Amazon.JSII.Runtime.UnitTests.csproj", "{96CC0C0B-1D90-448F-9BFC-07CE93D2CE29}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Any CPU = Debug|Any CPU - Release|Any CPU = Release|Any CPU - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {E7BFF0E9-D8BF-4996-98B7-58334EA276D1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {E7BFF0E9-D8BF-4996-98B7-58334EA276D1}.Debug|Any CPU.Build.0 = Debug|Any CPU - {E7BFF0E9-D8BF-4996-98B7-58334EA276D1}.Release|Any CPU.ActiveCfg = Release|Any CPU - {E7BFF0E9-D8BF-4996-98B7-58334EA276D1}.Release|Any CPU.Build.0 = Release|Any CPU - {96CC0C0B-1D90-448F-9BFC-07CE93D2CE29}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {96CC0C0B-1D90-448F-9BFC-07CE93D2CE29}.Debug|Any CPU.Build.0 = Debug|Any CPU - {96CC0C0B-1D90-448F-9BFC-07CE93D2CE29}.Release|Any CPU.ActiveCfg = Release|Any CPU - {96CC0C0B-1D90-448F-9BFC-07CE93D2CE29}.Release|Any CPU.Build.0 = Release|Any CPU - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection - GlobalSection(NestedProjects) = preSolution - {96CC0C0B-1D90-448F-9BFC-07CE93D2CE29} = {1F4EEFB5-9E4C-4464-9C3B-6729ABB0511E} - EndGlobalSection - GlobalSection(ExtensibilityGlobals) = postSolution - SolutionGuid = {C5094D14-EAB4-4A0A-80A2-14748C28C057} - EndGlobalSection -EndGlobal + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio 15 +VisualStudioVersion = 15.0.27703.2026 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Amazon.JSII.Runtime", "Amazon.JSII.Runtime\Amazon.JSII.Runtime.csproj", "{E7BFF0E9-D8BF-4996-98B7-58334EA276D1}" +EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Props", "Props", "{B88CEA39-359B-45A0-86D6-0BC1FD284BBE}" + ProjectSection(SolutionItems) = preProject + Directory.Build.props = Directory.Build.props + EndProjectSection +EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "UnitTests", "UnitTests", "{1F4EEFB5-9E4C-4464-9C3B-6729ABB0511E}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Amazon.JSII.Runtime.UnitTests", "Amazon.JSII.Runtime.UnitTests\Amazon.JSII.Runtime.UnitTests.csproj", "{96CC0C0B-1D90-448F-9BFC-07CE93D2CE29}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {E7BFF0E9-D8BF-4996-98B7-58334EA276D1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {E7BFF0E9-D8BF-4996-98B7-58334EA276D1}.Debug|Any CPU.Build.0 = Debug|Any CPU + {E7BFF0E9-D8BF-4996-98B7-58334EA276D1}.Release|Any CPU.ActiveCfg = Release|Any CPU + {E7BFF0E9-D8BF-4996-98B7-58334EA276D1}.Release|Any CPU.Build.0 = Release|Any CPU + {96CC0C0B-1D90-448F-9BFC-07CE93D2CE29}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {96CC0C0B-1D90-448F-9BFC-07CE93D2CE29}.Debug|Any CPU.Build.0 = Debug|Any CPU + {96CC0C0B-1D90-448F-9BFC-07CE93D2CE29}.Release|Any CPU.ActiveCfg = Release|Any CPU + {96CC0C0B-1D90-448F-9BFC-07CE93D2CE29}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(NestedProjects) = preSolution + {96CC0C0B-1D90-448F-9BFC-07CE93D2CE29} = {1F4EEFB5-9E4C-4464-9C3B-6729ABB0511E} + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {C5094D14-EAB4-4A0A-80A2-14748C28C057} + EndGlobalSection +EndGlobal diff --git a/packages/jsii-dotnet-runtime/src/Amazon.JSII.Runtime/Deputy/DeputyBase.cs b/packages/jsii-dotnet-runtime/src/Amazon.JSII.Runtime/Deputy/DeputyBase.cs index 1bc5efa6e0..3f94244088 100644 --- a/packages/jsii-dotnet-runtime/src/Amazon.JSII.Runtime/Deputy/DeputyBase.cs +++ b/packages/jsii-dotnet-runtime/src/Amazon.JSII.Runtime/Deputy/DeputyBase.cs @@ -1,408 +1,408 @@ -using Amazon.JSII.JsonModel.Api; -using Amazon.JSII.JsonModel.Api.Response; -using Amazon.JSII.JsonModel.Spec; -using Amazon.JSII.Runtime.Services; -using Amazon.JSII.Runtime.Services.Converters; -using Microsoft.Extensions.DependencyInjection; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Reflection; -using System.Runtime.CompilerServices; - -namespace Amazon.JSII.Runtime.Deputy -{ - public abstract class DeputyBase - { - /// - /// Each deputy type needs a protected constructor that accepts 'create' parameters from - /// children. But some types will also have a public constructor that takes a single object[] - /// argument. So for the protected constructor, we pass DeputyProps instead of object[] to - /// prevent overload ambiguity. - /// - public sealed class DeputyProps - { - public DeputyProps(object[] arguments = null) - { - Arguments = arguments ?? new object[] { }; - } - - public object[] Arguments { get; } - } - - const BindingFlags StaticMemberFlags = BindingFlags.Static | BindingFlags.Public | BindingFlags.NonPublic; - const BindingFlags InstanceMemberFlags = BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic; - - protected DeputyBase(DeputyProps props = null) - { - props = props ?? new DeputyProps(); - - System.Type type = GetType(); - - // If this is a native object, it won't have any jsii metadata. - JsiiClassAttribute attribute = ReflectionUtils.GetClassAttribute(type); - string fullyQualifiedName = attribute?.FullyQualifiedName ?? "Object"; - Parameter[] parameters = attribute?.Parameters ?? new Parameter[] { }; - - IServiceProvider serviceProvider = ServiceContainer.ServiceProvider; - IClient client = serviceProvider.GetRequiredService(); - CreateResponse response = client.Create( - fullyQualifiedName, - ConvertArguments(parameters, props.Arguments), - GetOverrides() - ); - - Reference = new ByRefValue(response["$jsii.byref"]); - IReferenceMap referenceMap = serviceProvider.GetRequiredService(); - referenceMap.AddNativeReference(Reference, this); - - Override[] GetOverrides() - { - return GetMethodOverrides().Concat(GetPropertyOverrides()).ToArray(); - } - - IEnumerable GetMethodOverrides() - { - foreach (MethodInfo method in type.GetMethods()) - { - JsiiMethodAttribute inheritedAttribute = method.GetCustomAttribute(true); - JsiiMethodAttribute uninheritedAttribute = method.GetCustomAttribute(false); - - if ((inheritedAttribute != null && uninheritedAttribute == null) || uninheritedAttribute?.IsOverride == true) - { - yield return new Override(method: inheritedAttribute.Name); - } - } - } - - IEnumerable GetPropertyOverrides() - { - foreach (PropertyInfo property in type.GetProperties()) - { - JsiiPropertyAttribute inheritedAttribute = property.GetCustomAttribute(true); - JsiiPropertyAttribute uninheritedAttribute = property.GetCustomAttribute(false); - - if ((inheritedAttribute != null && uninheritedAttribute == null) || uninheritedAttribute?.IsOverride == true) - { - yield return new Override(property: inheritedAttribute.Name); - } - } - } - } - - protected DeputyBase(ByRefValue reference) - { - Reference = reference ?? throw new ArgumentNullException(nameof(reference)); - - IServiceProvider serviceProvider = ServiceContainer.ServiceProvider; - IReferenceMap referenceMap = serviceProvider.GetRequiredService(); - referenceMap.AddNativeReference(Reference, this); - } - - public ByRefValue Reference { get; } - - #region GetProperty - - protected static T GetStaticProperty(System.Type type, [CallerMemberName] string propertyName = null) - { - type = type ?? throw new ArgumentNullException(nameof(type)); - propertyName = propertyName ?? throw new ArgumentNullException(nameof(propertyName)); - - JsiiClassAttribute classAttribute = ReflectionUtils.GetClassAttribute(type); - JsiiPropertyAttribute propertyAttribute = GetStaticPropertyAttribute(type, propertyName); - - return GetPropertyCore( - propertyAttribute, - client => client.StaticGet(classAttribute.FullyQualifiedName, propertyAttribute.Name) - ); - } - - protected T GetInstanceProperty([CallerMemberName] string propertyName = null) - { - propertyName = propertyName ?? throw new ArgumentNullException(nameof(propertyName)); - - JsiiPropertyAttribute propertyAttribute = GetInstancePropertyAttribute(propertyName); - - return GetPropertyCore( - propertyAttribute, - client => client.Get(Reference.ToObjectReference(), propertyAttribute.Name) - ); - } - - static T GetPropertyCore(JsiiPropertyAttribute propertyAttribute, Func getFunc) - { - IServiceProvider serviceProvider = ServiceContainer.ServiceProvider; - IClient client = serviceProvider.GetRequiredService(); - - GetResponse response = getFunc(client); - - IJsiiToFrameworkConverter converter = serviceProvider.GetRequiredService(); - IReferenceMap referenceMap = serviceProvider.GetRequiredService(); - if (!converter.TryConvert(propertyAttribute.Type, referenceMap, response.Value, out object frameworkValue)) - { - throw new ArgumentException($"Could not convert value '{response.Value}' for property '{propertyAttribute.Name}'", nameof(getFunc)); - } - - return (T)frameworkValue; - } - - #endregion - - #region SetProperty - - protected static void SetStaticProperty(System.Type type, T value, [CallerMemberName] string propertyName = null) - { - type = type ?? throw new ArgumentNullException(nameof(type)); - propertyName = propertyName ?? throw new ArgumentNullException(nameof(propertyName)); - - JsiiClassAttribute classAttribute = ReflectionUtils.GetClassAttribute(type); - JsiiPropertyAttribute propertyAttribute = GetStaticPropertyAttribute(type, propertyName); - - SetPropertyCore( - value, - propertyAttribute, - (client, jsiiValue) => client.StaticSet(classAttribute.FullyQualifiedName, propertyAttribute.Name, jsiiValue) - ); - } - - protected void SetInstanceProperty(T value, [CallerMemberName] string propertyName = null) - { - propertyName = propertyName ?? throw new ArgumentNullException(nameof(propertyName)); - - JsiiPropertyAttribute propertyAttribute = GetInstancePropertyAttribute(propertyName); - - SetPropertyCore( - value, - propertyAttribute, - (client, jsiiValue) => client.Set(Reference.ToObjectReference(), propertyAttribute.Name, jsiiValue) - ); - } - - static void SetPropertyCore(T value, JsiiPropertyAttribute propertyAttribute, Action setAction) - { - IServiceProvider serviceProvider = ServiceContainer.ServiceProvider; - IFrameworkToJsiiConverter converter = serviceProvider.GetRequiredService(); - IReferenceMap referenceMap = serviceProvider.GetRequiredService(); - if (!converter.TryConvert(propertyAttribute.Type, referenceMap, value, out object jsiiValue)) - { - throw new ArgumentException($"Could not set property '{propertyAttribute.Name}' to '{value}'", nameof(value)); - } - - IClient client = serviceProvider.GetRequiredService(); - setAction(client, jsiiValue); - } - - #endregion - - #region InvokeMethod - - protected static void InvokeStaticVoidMethod(System.Type type, object[] arguments, [CallerMemberName] string methodName = null) - { - InvokeStaticMethod(type, arguments, methodName); - } - - protected void InvokeInstanceVoidMethod(object[] arguments, [CallerMemberName] string methodName = null) - { - InvokeInstanceMethod(arguments, methodName); - } - - protected static T InvokeStaticMethod(System.Type type, object[] arguments, [CallerMemberName] string methodName = null) - { - JsiiMethodAttribute methodAttribute = GetStaticMethodAttribute(type, methodName); - JsiiClassAttribute classAttribute = ReflectionUtils.GetClassAttribute(type); - - return InvokeMethodCore( - methodAttribute, - arguments, - (client, args) => throw new ArgumentException("Async static methods are not supported in JSII", nameof(methodAttribute)), - (client, args) => client.StaticInvoke( - classAttribute.FullyQualifiedName, - methodAttribute.Name, - ConvertArguments(methodAttribute.Parameters, arguments) - ) - ); - } - - protected T InvokeInstanceMethod(object[] arguments, [CallerMemberName] string methodName = null) - { - JsiiMethodAttribute methodAttribute = GetInstanceMethodAttribute(methodName); - - return InvokeMethodCore( - methodAttribute, - arguments, - (client, args) => client.Begin( - Reference.ToObjectReference(), - methodAttribute.Name, - ConvertArguments(methodAttribute.Parameters, arguments) - ), - (client, args) => client.Invoke( - Reference.ToObjectReference(), - methodAttribute.Name, - ConvertArguments(methodAttribute.Parameters, arguments) - ) - ); - } - - static T InvokeMethodCore( - JsiiMethodAttribute methodAttribute, - object[] arguments, - Func beginFunc, - Func invokeFunc - ) - { - IServiceProvider serviceProvider = ServiceContainer.ServiceProvider; - IClient client = serviceProvider.GetRequiredService(); ; - IJsiiToFrameworkConverter converter = serviceProvider.GetRequiredService(); - IReferenceMap referenceMap = serviceProvider.GetRequiredService(); - - object result = GetResult(); - if (!converter.TryConvert(methodAttribute.Returns, referenceMap, result, out object frameworkValue)) - { - throw new ArgumentException($"Could not convert result '{result}' for method '{methodAttribute.Name}'", nameof(result)); - } - - return (T)frameworkValue; - - object GetResult() - { - object[] args = ConvertArguments(methodAttribute.Parameters, arguments); - - if (methodAttribute.Returns?.IsPromise == true) - { - BeginResponse beginResponse = beginFunc(client, args); - - InvokeCallbacks(); - - return client.End(beginResponse.PromiseId).Result; - } - - InvokeResponse invokeResponse = invokeFunc(client, args); - - return invokeResponse.Result; - } - } - - static void InvokeCallbacks() - { - IServiceProvider serviceProvider = ServiceContainer.ServiceProvider; - IClient client = serviceProvider.GetRequiredService(); - IFrameworkToJsiiConverter converter = serviceProvider.GetRequiredService(); - IReferenceMap referenceMap = serviceProvider.GetRequiredService(); - - CallbacksResponse callbacks = client.Callbacks(); - while (callbacks.Callbacks.Any()) - { - foreach (Callback callback in callbacks.Callbacks) - { - object result = callback.InvokeCallback(referenceMap, converter, out string error); - - client.Complete(callback.CallbackId, error, result); - } - - callbacks = client.Callbacks(); - } - } - - #endregion - - #region ConvertArguments - - static object[] ConvertArguments(Parameter[] parameters, params object[] arguments) - { - IServiceProvider serviceProvider = ServiceContainer.ServiceProvider; - - if (parameters == null && arguments == null) - { - return new object[] { }; - } - - if (parameters == null || arguments == null || parameters.Length != arguments.Length) - { - throw new ArgumentException("Arguments do not match method parameters", nameof(arguments)); - } - - IFrameworkToJsiiConverter converter = serviceProvider.GetRequiredService(); - IReferenceMap referenceMap = serviceProvider.GetRequiredService(); - - return parameters.Zip(arguments, (parameter, frameworkArgument) => - { - if (!converter.TryConvert(parameter.Type, referenceMap, frameworkArgument, out object jsiiArgument)) - { - throw new ArgumentException($"Could not convert argument '{frameworkArgument}' to Jsii", nameof(arguments)); - } - - return jsiiArgument; - }).ToArray(); - } - - #endregion - - #region GetPropertyAttribute - - static JsiiPropertyAttribute GetStaticPropertyAttribute(System.Type type, string propertyName) - { - return GetPropertyAttributeCore(type, propertyName, StaticMemberFlags); - } - - JsiiPropertyAttribute GetInstancePropertyAttribute(string propertyName) - { - return GetPropertyAttributeCore(GetType(), propertyName, InstanceMemberFlags); - } - - static JsiiPropertyAttribute GetPropertyAttributeCore(System.Type type, string propertyName, BindingFlags bindingFlags) - { - type = type ?? throw new ArgumentNullException(nameof(type)); - propertyName = propertyName ?? throw new ArgumentNullException(nameof(propertyName)); - - PropertyInfo propertyInfo = type.GetProperty(propertyName, bindingFlags); - if (propertyInfo == null) - { - throw new ArgumentException($"Property {propertyName} does not exist", nameof(propertyName)); - } - - JsiiPropertyAttribute attribute = propertyInfo.GetCustomAttribute(); - if (attribute == null) - { - throw new ArgumentException($"Property {propertyName} is missing JsiiPropertyAttribute", nameof(propertyName)); - } - - return attribute; - } - - #endregion - - #region GetMethodAttribute - - static JsiiMethodAttribute GetStaticMethodAttribute(System.Type type, string methodName) - { - return GetMethodAttributeCore(type, methodName, StaticMemberFlags); - } - - JsiiMethodAttribute GetInstanceMethodAttribute(string methodName) - { - return GetMethodAttributeCore(GetType(), methodName, InstanceMemberFlags); - } - - static JsiiMethodAttribute GetMethodAttributeCore(System.Type type, string methodName, BindingFlags bindingFlags) - { - methodName = methodName ?? throw new ArgumentNullException(nameof(methodName)); - type = type ?? throw new ArgumentNullException(nameof(type)); - - MethodInfo methodInfo = type.GetMethod(methodName, bindingFlags); - if (methodInfo == null) - { - throw new ArgumentException($"Method {methodName} does not exist", nameof(methodName)); - } - - JsiiMethodAttribute methodAttribute = methodInfo.GetCustomAttribute(); - if (methodAttribute == null) - { - throw new ArgumentException($"Method {methodName} is missing JsiiMethodAttribute", nameof(methodName)); - } - - return methodAttribute; - } - - #endregion - } -} +using Amazon.JSII.JsonModel.Api; +using Amazon.JSII.JsonModel.Api.Response; +using Amazon.JSII.JsonModel.Spec; +using Amazon.JSII.Runtime.Services; +using Amazon.JSII.Runtime.Services.Converters; +using Microsoft.Extensions.DependencyInjection; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Reflection; +using System.Runtime.CompilerServices; + +namespace Amazon.JSII.Runtime.Deputy +{ + public abstract class DeputyBase + { + /// + /// Each deputy type needs a protected constructor that accepts 'create' parameters from + /// children. But some types will also have a public constructor that takes a single object[] + /// argument. So for the protected constructor, we pass DeputyProps instead of object[] to + /// prevent overload ambiguity. + /// + public sealed class DeputyProps + { + public DeputyProps(object[] arguments = null) + { + Arguments = arguments ?? new object[] { }; + } + + public object[] Arguments { get; } + } + + const BindingFlags StaticMemberFlags = BindingFlags.Static | BindingFlags.Public | BindingFlags.NonPublic; + const BindingFlags InstanceMemberFlags = BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic; + + protected DeputyBase(DeputyProps props = null) + { + props = props ?? new DeputyProps(); + + System.Type type = GetType(); + + // If this is a native object, it won't have any jsii metadata. + JsiiClassAttribute attribute = ReflectionUtils.GetClassAttribute(type); + string fullyQualifiedName = attribute?.FullyQualifiedName ?? "Object"; + Parameter[] parameters = attribute?.Parameters ?? new Parameter[] { }; + + IServiceProvider serviceProvider = ServiceContainer.ServiceProvider; + IClient client = serviceProvider.GetRequiredService(); + CreateResponse response = client.Create( + fullyQualifiedName, + ConvertArguments(parameters, props.Arguments), + GetOverrides() + ); + + Reference = new ByRefValue(response["$jsii.byref"]); + IReferenceMap referenceMap = serviceProvider.GetRequiredService(); + referenceMap.AddNativeReference(Reference, this); + + Override[] GetOverrides() + { + return GetMethodOverrides().Concat(GetPropertyOverrides()).ToArray(); + } + + IEnumerable GetMethodOverrides() + { + foreach (MethodInfo method in type.GetMethods()) + { + JsiiMethodAttribute inheritedAttribute = method.GetCustomAttribute(true); + JsiiMethodAttribute uninheritedAttribute = method.GetCustomAttribute(false); + + if ((inheritedAttribute != null && uninheritedAttribute == null) || uninheritedAttribute?.IsOverride == true) + { + yield return new Override(method: inheritedAttribute.Name); + } + } + } + + IEnumerable GetPropertyOverrides() + { + foreach (PropertyInfo property in type.GetProperties()) + { + JsiiPropertyAttribute inheritedAttribute = property.GetCustomAttribute(true); + JsiiPropertyAttribute uninheritedAttribute = property.GetCustomAttribute(false); + + if ((inheritedAttribute != null && uninheritedAttribute == null) || uninheritedAttribute?.IsOverride == true) + { + yield return new Override(property: inheritedAttribute.Name); + } + } + } + } + + protected DeputyBase(ByRefValue reference) + { + Reference = reference ?? throw new ArgumentNullException(nameof(reference)); + + IServiceProvider serviceProvider = ServiceContainer.ServiceProvider; + IReferenceMap referenceMap = serviceProvider.GetRequiredService(); + referenceMap.AddNativeReference(Reference, this); + } + + public ByRefValue Reference { get; } + + #region GetProperty + + protected static T GetStaticProperty(System.Type type, [CallerMemberName] string propertyName = null) + { + type = type ?? throw new ArgumentNullException(nameof(type)); + propertyName = propertyName ?? throw new ArgumentNullException(nameof(propertyName)); + + JsiiClassAttribute classAttribute = ReflectionUtils.GetClassAttribute(type); + JsiiPropertyAttribute propertyAttribute = GetStaticPropertyAttribute(type, propertyName); + + return GetPropertyCore( + propertyAttribute, + client => client.StaticGet(classAttribute.FullyQualifiedName, propertyAttribute.Name) + ); + } + + protected T GetInstanceProperty([CallerMemberName] string propertyName = null) + { + propertyName = propertyName ?? throw new ArgumentNullException(nameof(propertyName)); + + JsiiPropertyAttribute propertyAttribute = GetInstancePropertyAttribute(propertyName); + + return GetPropertyCore( + propertyAttribute, + client => client.Get(Reference.ToObjectReference(), propertyAttribute.Name) + ); + } + + static T GetPropertyCore(JsiiPropertyAttribute propertyAttribute, Func getFunc) + { + IServiceProvider serviceProvider = ServiceContainer.ServiceProvider; + IClient client = serviceProvider.GetRequiredService(); + + GetResponse response = getFunc(client); + + IJsiiToFrameworkConverter converter = serviceProvider.GetRequiredService(); + IReferenceMap referenceMap = serviceProvider.GetRequiredService(); + if (!converter.TryConvert(propertyAttribute.Type, referenceMap, response.Value, out object frameworkValue)) + { + throw new ArgumentException($"Could not convert value '{response.Value}' for property '{propertyAttribute.Name}'", nameof(getFunc)); + } + + return (T)frameworkValue; + } + + #endregion + + #region SetProperty + + protected static void SetStaticProperty(System.Type type, T value, [CallerMemberName] string propertyName = null) + { + type = type ?? throw new ArgumentNullException(nameof(type)); + propertyName = propertyName ?? throw new ArgumentNullException(nameof(propertyName)); + + JsiiClassAttribute classAttribute = ReflectionUtils.GetClassAttribute(type); + JsiiPropertyAttribute propertyAttribute = GetStaticPropertyAttribute(type, propertyName); + + SetPropertyCore( + value, + propertyAttribute, + (client, jsiiValue) => client.StaticSet(classAttribute.FullyQualifiedName, propertyAttribute.Name, jsiiValue) + ); + } + + protected void SetInstanceProperty(T value, [CallerMemberName] string propertyName = null) + { + propertyName = propertyName ?? throw new ArgumentNullException(nameof(propertyName)); + + JsiiPropertyAttribute propertyAttribute = GetInstancePropertyAttribute(propertyName); + + SetPropertyCore( + value, + propertyAttribute, + (client, jsiiValue) => client.Set(Reference.ToObjectReference(), propertyAttribute.Name, jsiiValue) + ); + } + + static void SetPropertyCore(T value, JsiiPropertyAttribute propertyAttribute, Action setAction) + { + IServiceProvider serviceProvider = ServiceContainer.ServiceProvider; + IFrameworkToJsiiConverter converter = serviceProvider.GetRequiredService(); + IReferenceMap referenceMap = serviceProvider.GetRequiredService(); + if (!converter.TryConvert(propertyAttribute.Type, referenceMap, value, out object jsiiValue)) + { + throw new ArgumentException($"Could not set property '{propertyAttribute.Name}' to '{value}'", nameof(value)); + } + + IClient client = serviceProvider.GetRequiredService(); + setAction(client, jsiiValue); + } + + #endregion + + #region InvokeMethod + + protected static void InvokeStaticVoidMethod(System.Type type, object[] arguments, [CallerMemberName] string methodName = null) + { + InvokeStaticMethod(type, arguments, methodName); + } + + protected void InvokeInstanceVoidMethod(object[] arguments, [CallerMemberName] string methodName = null) + { + InvokeInstanceMethod(arguments, methodName); + } + + protected static T InvokeStaticMethod(System.Type type, object[] arguments, [CallerMemberName] string methodName = null) + { + JsiiMethodAttribute methodAttribute = GetStaticMethodAttribute(type, methodName); + JsiiClassAttribute classAttribute = ReflectionUtils.GetClassAttribute(type); + + return InvokeMethodCore( + methodAttribute, + arguments, + (client, args) => throw new ArgumentException("Async static methods are not supported in JSII", nameof(methodAttribute)), + (client, args) => client.StaticInvoke( + classAttribute.FullyQualifiedName, + methodAttribute.Name, + ConvertArguments(methodAttribute.Parameters, arguments) + ) + ); + } + + protected T InvokeInstanceMethod(object[] arguments, [CallerMemberName] string methodName = null) + { + JsiiMethodAttribute methodAttribute = GetInstanceMethodAttribute(methodName); + + return InvokeMethodCore( + methodAttribute, + arguments, + (client, args) => client.Begin( + Reference.ToObjectReference(), + methodAttribute.Name, + ConvertArguments(methodAttribute.Parameters, arguments) + ), + (client, args) => client.Invoke( + Reference.ToObjectReference(), + methodAttribute.Name, + ConvertArguments(methodAttribute.Parameters, arguments) + ) + ); + } + + static T InvokeMethodCore( + JsiiMethodAttribute methodAttribute, + object[] arguments, + Func beginFunc, + Func invokeFunc + ) + { + IServiceProvider serviceProvider = ServiceContainer.ServiceProvider; + IClient client = serviceProvider.GetRequiredService(); ; + IJsiiToFrameworkConverter converter = serviceProvider.GetRequiredService(); + IReferenceMap referenceMap = serviceProvider.GetRequiredService(); + + object result = GetResult(); + if (!converter.TryConvert(methodAttribute.Returns, referenceMap, result, out object frameworkValue)) + { + throw new ArgumentException($"Could not convert result '{result}' for method '{methodAttribute.Name}'", nameof(result)); + } + + return (T)frameworkValue; + + object GetResult() + { + object[] args = ConvertArguments(methodAttribute.Parameters, arguments); + + if (methodAttribute.Returns?.IsPromise == true) + { + BeginResponse beginResponse = beginFunc(client, args); + + InvokeCallbacks(); + + return client.End(beginResponse.PromiseId).Result; + } + + InvokeResponse invokeResponse = invokeFunc(client, args); + + return invokeResponse.Result; + } + } + + static void InvokeCallbacks() + { + IServiceProvider serviceProvider = ServiceContainer.ServiceProvider; + IClient client = serviceProvider.GetRequiredService(); + IFrameworkToJsiiConverter converter = serviceProvider.GetRequiredService(); + IReferenceMap referenceMap = serviceProvider.GetRequiredService(); + + CallbacksResponse callbacks = client.Callbacks(); + while (callbacks.Callbacks.Any()) + { + foreach (Callback callback in callbacks.Callbacks) + { + object result = callback.InvokeCallback(referenceMap, converter, out string error); + + client.Complete(callback.CallbackId, error, result); + } + + callbacks = client.Callbacks(); + } + } + + #endregion + + #region ConvertArguments + + static object[] ConvertArguments(Parameter[] parameters, params object[] arguments) + { + IServiceProvider serviceProvider = ServiceContainer.ServiceProvider; + + if (parameters == null && arguments == null) + { + return new object[] { }; + } + + if (parameters == null || arguments == null || parameters.Length != arguments.Length) + { + throw new ArgumentException("Arguments do not match method parameters", nameof(arguments)); + } + + IFrameworkToJsiiConverter converter = serviceProvider.GetRequiredService(); + IReferenceMap referenceMap = serviceProvider.GetRequiredService(); + + return parameters.Zip(arguments, (parameter, frameworkArgument) => + { + if (!converter.TryConvert(parameter.Type, referenceMap, frameworkArgument, out object jsiiArgument)) + { + throw new ArgumentException($"Could not convert argument '{frameworkArgument}' to Jsii", nameof(arguments)); + } + + return jsiiArgument; + }).ToArray(); + } + + #endregion + + #region GetPropertyAttribute + + static JsiiPropertyAttribute GetStaticPropertyAttribute(System.Type type, string propertyName) + { + return GetPropertyAttributeCore(type, propertyName, StaticMemberFlags); + } + + JsiiPropertyAttribute GetInstancePropertyAttribute(string propertyName) + { + return GetPropertyAttributeCore(GetType(), propertyName, InstanceMemberFlags); + } + + static JsiiPropertyAttribute GetPropertyAttributeCore(System.Type type, string propertyName, BindingFlags bindingFlags) + { + type = type ?? throw new ArgumentNullException(nameof(type)); + propertyName = propertyName ?? throw new ArgumentNullException(nameof(propertyName)); + + PropertyInfo propertyInfo = type.GetProperty(propertyName, bindingFlags); + if (propertyInfo == null) + { + throw new ArgumentException($"Property {propertyName} does not exist", nameof(propertyName)); + } + + JsiiPropertyAttribute attribute = propertyInfo.GetCustomAttribute(); + if (attribute == null) + { + throw new ArgumentException($"Property {propertyName} is missing JsiiPropertyAttribute", nameof(propertyName)); + } + + return attribute; + } + + #endregion + + #region GetMethodAttribute + + static JsiiMethodAttribute GetStaticMethodAttribute(System.Type type, string methodName) + { + return GetMethodAttributeCore(type, methodName, StaticMemberFlags); + } + + JsiiMethodAttribute GetInstanceMethodAttribute(string methodName) + { + return GetMethodAttributeCore(GetType(), methodName, InstanceMemberFlags); + } + + static JsiiMethodAttribute GetMethodAttributeCore(System.Type type, string methodName, BindingFlags bindingFlags) + { + methodName = methodName ?? throw new ArgumentNullException(nameof(methodName)); + type = type ?? throw new ArgumentNullException(nameof(type)); + + MethodInfo methodInfo = type.GetMethod(methodName, bindingFlags); + if (methodInfo == null) + { + throw new ArgumentException($"Method {methodName} does not exist", nameof(methodName)); + } + + JsiiMethodAttribute methodAttribute = methodInfo.GetCustomAttribute(); + if (methodAttribute == null) + { + throw new ArgumentException($"Method {methodName} is missing JsiiMethodAttribute", nameof(methodName)); + } + + return methodAttribute; + } + + #endregion + } +} diff --git a/packages/jsii-dotnet-runtime/test.sh b/packages/jsii-dotnet-runtime/test.sh index 6b88a1d35d..bb12647f29 100644 --- a/packages/jsii-dotnet-runtime/test.sh +++ b/packages/jsii-dotnet-runtime/test.sh @@ -4,12 +4,3 @@ set -euo pipefail # Run unit tests echo "Running library unit tests" dotnet test -c Release ./src/Amazon.JSII.Runtime.UnitTests - -# Regenerate jsii-calc and jsii-calc-lib before running integration tests. -echo "Generating code for the calculator library (for integration tests)" -jsii-pacmak -t dotnet --recurse -o ./test ../jsii-calc - -# Run integration tests -echo "Running integration tests" -dotnet build -c Release ./test/Amazon.JSII.Runtime.IntegrationTests.sln -dotnet test -c Release ./test/Amazon.JSII.Runtime.IntegrationTests/Amazon.JSII.Runtime.IntegrationTests.csproj diff --git a/packages/jsii-dotnet-runtime/test/Amazon.JSII.Runtime.IntegrationTests.sln b/packages/jsii-dotnet-runtime/test/Amazon.JSII.Runtime.IntegrationTests.sln deleted file mode 100644 index 6806880d49..0000000000 --- a/packages/jsii-dotnet-runtime/test/Amazon.JSII.Runtime.IntegrationTests.sln +++ /dev/null @@ -1,79 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio 15 -VisualStudioVersion = 15.0.26124.0 -MinimumVisualStudioVersion = 15.0.26124.0 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Amazon.JSII.Tests.Calculator", "Amazon.JSII.Tests.Calculator\Amazon.JSII.Tests.Calculator.csproj", "{0CA91593-8FBB-4418-B906-B17AD8ADFB6A}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Amazon.JSII.Tests.Calculator.Lib", "Amazon.JSII.Tests.Calculator.Lib\Amazon.JSII.Tests.Calculator.Lib.csproj", "{A7D5D741-EC9D-4B72-8CF1-98A23FDBACB0}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Amazon.JSII.Runtime.IntegrationTests", "Amazon.JSII.Runtime.IntegrationTests\Amazon.JSII.Runtime.IntegrationTests.csproj", "{AC4E0F36-54F5-49FB-8F57-A67C777E780A}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Amazon.JSII.Tests.Calculator.Base", "Amazon.JSII.Tests.Calculator.Base\Amazon.JSII.Tests.Calculator.Base.csproj", "{809EECB3-F46B-4F41-AA67-C06E6C7B7A03}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Any CPU = Debug|Any CPU - Debug|x64 = Debug|x64 - Debug|x86 = Debug|x86 - Release|Any CPU = Release|Any CPU - Release|x64 = Release|x64 - Release|x86 = Release|x86 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {0CA91593-8FBB-4418-B906-B17AD8ADFB6A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {0CA91593-8FBB-4418-B906-B17AD8ADFB6A}.Debug|Any CPU.Build.0 = Debug|Any CPU - {0CA91593-8FBB-4418-B906-B17AD8ADFB6A}.Debug|x64.ActiveCfg = Debug|Any CPU - {0CA91593-8FBB-4418-B906-B17AD8ADFB6A}.Debug|x64.Build.0 = Debug|Any CPU - {0CA91593-8FBB-4418-B906-B17AD8ADFB6A}.Debug|x86.ActiveCfg = Debug|Any CPU - {0CA91593-8FBB-4418-B906-B17AD8ADFB6A}.Debug|x86.Build.0 = Debug|Any CPU - {0CA91593-8FBB-4418-B906-B17AD8ADFB6A}.Release|Any CPU.ActiveCfg = Release|Any CPU - {0CA91593-8FBB-4418-B906-B17AD8ADFB6A}.Release|Any CPU.Build.0 = Release|Any CPU - {0CA91593-8FBB-4418-B906-B17AD8ADFB6A}.Release|x64.ActiveCfg = Release|Any CPU - {0CA91593-8FBB-4418-B906-B17AD8ADFB6A}.Release|x64.Build.0 = Release|Any CPU - {0CA91593-8FBB-4418-B906-B17AD8ADFB6A}.Release|x86.ActiveCfg = Release|Any CPU - {0CA91593-8FBB-4418-B906-B17AD8ADFB6A}.Release|x86.Build.0 = Release|Any CPU - {A7D5D741-EC9D-4B72-8CF1-98A23FDBACB0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {A7D5D741-EC9D-4B72-8CF1-98A23FDBACB0}.Debug|Any CPU.Build.0 = Debug|Any CPU - {A7D5D741-EC9D-4B72-8CF1-98A23FDBACB0}.Debug|x64.ActiveCfg = Debug|Any CPU - {A7D5D741-EC9D-4B72-8CF1-98A23FDBACB0}.Debug|x64.Build.0 = Debug|Any CPU - {A7D5D741-EC9D-4B72-8CF1-98A23FDBACB0}.Debug|x86.ActiveCfg = Debug|Any CPU - {A7D5D741-EC9D-4B72-8CF1-98A23FDBACB0}.Debug|x86.Build.0 = Debug|Any CPU - {A7D5D741-EC9D-4B72-8CF1-98A23FDBACB0}.Release|Any CPU.ActiveCfg = Release|Any CPU - {A7D5D741-EC9D-4B72-8CF1-98A23FDBACB0}.Release|Any CPU.Build.0 = Release|Any CPU - {A7D5D741-EC9D-4B72-8CF1-98A23FDBACB0}.Release|x64.ActiveCfg = Release|Any CPU - {A7D5D741-EC9D-4B72-8CF1-98A23FDBACB0}.Release|x64.Build.0 = Release|Any CPU - {A7D5D741-EC9D-4B72-8CF1-98A23FDBACB0}.Release|x86.ActiveCfg = Release|Any CPU - {A7D5D741-EC9D-4B72-8CF1-98A23FDBACB0}.Release|x86.Build.0 = Release|Any CPU - {AC4E0F36-54F5-49FB-8F57-A67C777E780A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {AC4E0F36-54F5-49FB-8F57-A67C777E780A}.Debug|Any CPU.Build.0 = Debug|Any CPU - {AC4E0F36-54F5-49FB-8F57-A67C777E780A}.Debug|x64.ActiveCfg = Debug|Any CPU - {AC4E0F36-54F5-49FB-8F57-A67C777E780A}.Debug|x64.Build.0 = Debug|Any CPU - {AC4E0F36-54F5-49FB-8F57-A67C777E780A}.Debug|x86.ActiveCfg = Debug|Any CPU - {AC4E0F36-54F5-49FB-8F57-A67C777E780A}.Debug|x86.Build.0 = Debug|Any CPU - {AC4E0F36-54F5-49FB-8F57-A67C777E780A}.Release|Any CPU.ActiveCfg = Release|Any CPU - {AC4E0F36-54F5-49FB-8F57-A67C777E780A}.Release|Any CPU.Build.0 = Release|Any CPU - {AC4E0F36-54F5-49FB-8F57-A67C777E780A}.Release|x64.ActiveCfg = Release|Any CPU - {AC4E0F36-54F5-49FB-8F57-A67C777E780A}.Release|x64.Build.0 = Release|Any CPU - {AC4E0F36-54F5-49FB-8F57-A67C777E780A}.Release|x86.ActiveCfg = Release|Any CPU - {AC4E0F36-54F5-49FB-8F57-A67C777E780A}.Release|x86.Build.0 = Release|Any CPU - {809EECB3-F46B-4F41-AA67-C06E6C7B7A03}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {809EECB3-F46B-4F41-AA67-C06E6C7B7A03}.Debug|Any CPU.Build.0 = Debug|Any CPU - {809EECB3-F46B-4F41-AA67-C06E6C7B7A03}.Debug|x64.ActiveCfg = Debug|Any CPU - {809EECB3-F46B-4F41-AA67-C06E6C7B7A03}.Debug|x64.Build.0 = Debug|Any CPU - {809EECB3-F46B-4F41-AA67-C06E6C7B7A03}.Debug|x86.ActiveCfg = Debug|Any CPU - {809EECB3-F46B-4F41-AA67-C06E6C7B7A03}.Debug|x86.Build.0 = Debug|Any CPU - {809EECB3-F46B-4F41-AA67-C06E6C7B7A03}.Release|Any CPU.ActiveCfg = Release|Any CPU - {809EECB3-F46B-4F41-AA67-C06E6C7B7A03}.Release|Any CPU.Build.0 = Release|Any CPU - {809EECB3-F46B-4F41-AA67-C06E6C7B7A03}.Release|x64.ActiveCfg = Release|Any CPU - {809EECB3-F46B-4F41-AA67-C06E6C7B7A03}.Release|x64.Build.0 = Release|Any CPU - {809EECB3-F46B-4F41-AA67-C06E6C7B7A03}.Release|x86.ActiveCfg = Release|Any CPU - {809EECB3-F46B-4F41-AA67-C06E6C7B7A03}.Release|x86.Build.0 = Release|Any CPU - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection - GlobalSection(ExtensibilityGlobals) = postSolution - SolutionGuid = {9088E0C3-400A-4BF6-8767-EC5B61D22EFD} - EndGlobalSection -EndGlobal diff --git a/packages/jsii-dotnet-runtime/tsconfig.json b/packages/jsii-dotnet-runtime/tsconfig.json new file mode 100644 index 0000000000..6f8f29cf64 --- /dev/null +++ b/packages/jsii-dotnet-runtime/tsconfig.json @@ -0,0 +1,54 @@ +{ + "compilerOptions": { + /* Basic Options */ + "target": "ES2018", /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', or 'ESNEXT'. */ + "module": "commonjs", /* Specify module code generation: 'commonjs', 'amd', 'system', 'umd', 'es2015', or 'ESNext'. */ + "lib": ["es2016", "es2017.object", "es2017.string"], /* Specify library files to be included in the compilation: */ + // "allowJs": true, /* Allow javascript files to be compiled. */ + // "checkJs": true, /* Report errors in .js files. */ + // "jsx": "preserve", /* Specify JSX code generation: 'preserve', 'react-native', or 'react'. */ + "declaration": true, /* Generates corresponding '.d.ts' file. */ + // "sourceMap": true, /* Generates corresponding '.map' file. */ + // "outFile": "./", /* Concatenate and emit output to single file. */ + // "outDir": "./", /* Redirect output structure to the directory. */ + // "rootDir": "./", /* Specify the root directory of input files. Use to control the output directory structure with --outDir. */ + // "removeComments": true, /* Do not emit comments to output. */ + // "noEmit": true, /* Do not emit outputs. */ + // "importHelpers": true, /* Import emit helpers from 'tslib'. */ + // "downlevelIteration": true, /* Provide full support for iterables in 'for-of', spread, and destructuring when targeting 'ES5' or 'ES3'. */ + // "isolatedModules": true, /* Transpile each file as a separate module (similar to 'ts.transpileModule'). */ + + /* Strict Type-Checking Options */ + "strict": true, /* Enable all strict type-checking options. */ + "noImplicitAny": true, /* Raise error on expressions and declarations with an implied 'any' type. */ + "strictNullChecks": true, /* Enable strict null checks. */ + "noImplicitThis": true, /* Raise error on 'this' expressions with an implied 'any' type. */ + "alwaysStrict": true, /* Parse in strict mode and emit "use strict" for each source file. */ + "strictPropertyInitialization": false, /* DO NOT Raise error on class attribute not initialized by constructor. */ + + /* Additional Checks */ + "noUnusedLocals": true, /* Report errors on unused locals. */ + "noUnusedParameters": true, /* Report errors on unused parameters. */ + "noImplicitReturns": true, /* Report error when not all code paths in function return a value. */ + "noFallthroughCasesInSwitch": true, /* Report errors for fallthrough cases in switch statement. */ + + /* Module Resolution Options */ + // "moduleResolution": "node", /* Specify module resolution strategy: 'node' (Node.js) or 'classic' (TypeScript pre-1.6). */ + // "baseUrl": "./", /* Base directory to resolve non-absolute module names. */ + // "paths": {}, /* A series of entries which re-map imports to lookup locations relative to the 'baseUrl'. */ + // "rootDirs": [], /* List of root folders whose combined content represents the structure of the project at runtime. */ + // "typeRoots": [], /* List of folders to include type definitions from. */ + // "types": [], /* Type declaration files to be included in compilation. */ + // "allowSyntheticDefaultImports": true, /* Allow default imports from modules with no default export. This does not affect code emit, just typechecking. */ + + /* Source Map Options */ + // "sourceRoot": "./", /* Specify the location where debugger should locate TypeScript files instead of source locations. */ + // "mapRoot": "./", /* Specify the location where debugger should locate map files instead of generated locations. */ + // "inlineSourceMap": false, /* Emit a single file with source maps instead of having a separate file. */ + // "inlineSources": false, /* Emit the source alongside the sourcemaps within a single file; requires '--inlineSourceMap' or '--sourceMap' to be set. */ + + /* Experimental Options */ + "experimentalDecorators": true /* Enables experimental support for ES7 decorators. */ + // "emitDecoratorMetadata": true, /* Enables experimental support for emitting type metadata for decorators. */ + } +} diff --git a/packages/jsii-java-runtime-test/package-lock.json b/packages/jsii-java-runtime-test/package-lock.json index b82e851ba5..1f8343925d 100644 --- a/packages/jsii-java-runtime-test/package-lock.json +++ b/packages/jsii-java-runtime-test/package-lock.json @@ -3,9 +3,9 @@ "lockfileVersion": 1, "dependencies": { "@types/node": { - "version": "9.6.23", - "resolved": "https://registry.npmjs.org/@types/node/-/node-9.6.23.tgz", - "integrity": "sha512-d2SJJpwkiPudEQ3+9ysANN2Nvz4QJKUPoe/WL5zyQzI0RaEeZWH5K5xjvUIGszTItHQpFPdH+u51f6G/LkS8Cg==" + "version": "9.6.26", + "resolved": "https://registry.npmjs.org/@types/node/-/node-9.6.26.tgz", + "integrity": "sha512-3LKKscYUZdZreOuvnly8oWsCA1TOWtmkV3mbcUnV34f+nqDWJic+4SGjRi1C/sPHnZcSs/x209O+Dgy8aWHt2A==" } } } diff --git a/packages/jsii-java-runtime-test/pom.xml.t.js b/packages/jsii-java-runtime-test/pom.xml.t.js index 6a9392828b..e2926b79d8 100644 --- a/packages/jsii-java-runtime-test/pom.xml.t.js +++ b/packages/jsii-java-runtime-test/pom.xml.t.js @@ -1,4 +1,5 @@ const { groupId, artifactId, version } = require('jsii-java-runtime').maven; +const calculatorVersion = require('jsii-calc/package.json').version; process.stdout.write(` software.amazon.jsii.tests calculator - [0.5.0-beta,) + ${calculatorVersion} test diff --git a/packages/jsii-java-runtime/package-lock.json b/packages/jsii-java-runtime/package-lock.json index 0fddfd3e4b..28d7099b97 100644 --- a/packages/jsii-java-runtime/package-lock.json +++ b/packages/jsii-java-runtime/package-lock.json @@ -3,9 +3,9 @@ "lockfileVersion": 1, "dependencies": { "@types/node": { - "version": "9.6.23", - "resolved": "https://registry.npmjs.org/@types/node/-/node-9.6.23.tgz", - "integrity": "sha512-d2SJJpwkiPudEQ3+9ysANN2Nvz4QJKUPoe/WL5zyQzI0RaEeZWH5K5xjvUIGszTItHQpFPdH+u51f6G/LkS8Cg==" + "version": "9.6.26", + "resolved": "https://registry.npmjs.org/@types/node/-/node-9.6.26.tgz", + "integrity": "sha512-3LKKscYUZdZreOuvnly8oWsCA1TOWtmkV3mbcUnV34f+nqDWJic+4SGjRi1C/sPHnZcSs/x209O+Dgy8aWHt2A==" }, "typescript": { "version": "3.0.1", diff --git a/packages/jsii-kernel/lib/kernel.ts b/packages/jsii-kernel/lib/kernel.ts index bdc340ffc5..f187ca7418 100644 --- a/packages/jsii-kernel/lib/kernel.ts +++ b/packages/jsii-kernel/lib/kernel.ts @@ -978,6 +978,7 @@ export class Kernel { private _debug(...args: any[]) { if (this.traceEnabled) { + // tslint:disable-next-line:no-console console.error.apply(console, [ '[jsii-kernel]', args[0], diff --git a/packages/jsii-kernel/package-lock.json b/packages/jsii-kernel/package-lock.json index f0150ed889..93cbdf977f 100644 --- a/packages/jsii-kernel/package-lock.json +++ b/packages/jsii-kernel/package-lock.json @@ -11,9 +11,9 @@ } }, "@types/node": { - "version": "9.6.18", - "resolved": "https://registry.npmjs.org/@types/node/-/node-9.6.18.tgz", - "integrity": "sha512-lywCnJQRSsu0kitHQ5nkb7Ay/ScdJPQjhWRtuf+G1DmNKJnPcdVyP0pYvdiDFKjzReC6NLWLgSyimno3kKfIig==" + "version": "9.6.26", + "resolved": "https://registry.npmjs.org/@types/node/-/node-9.6.26.tgz", + "integrity": "sha512-3LKKscYUZdZreOuvnly8oWsCA1TOWtmkV3mbcUnV34f+nqDWJic+4SGjRi1C/sPHnZcSs/x209O+Dgy8aWHt2A==" }, "@types/nodeunit": { "version": "0.0.30", @@ -28,6 +28,17 @@ "@types/node": "*" } }, + "ajv": { + "version": "5.5.2", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-5.5.2.tgz", + "integrity": "sha1-c7Xuyj+rZT49P5Qis0GtQiBdyWU=", + "requires": { + "co": "^4.6.0", + "fast-deep-equal": "^1.0.0", + "fast-json-stable-stringify": "^2.0.0", + "json-schema-traverse": "^0.3.0" + } + }, "ansi-regex": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz", @@ -47,14 +58,17 @@ } }, "asn1": { - "version": "0.2.3", - "resolved": "https://registry.npmjs.org/asn1/-/asn1-0.2.3.tgz", - "integrity": "sha1-2sh4dxPJlmhJ/IGAd36+nB3fO4Y=" + "version": "0.2.4", + "resolved": "https://registry.npmjs.org/asn1/-/asn1-0.2.4.tgz", + "integrity": "sha512-jxwzQpLQjSmWXgwaCZE9Nz+glAG01yF1QnWgbhGwHI5A6FRIEY6IVqtHhIepHqI7/kyEyQEagBC5mBEFlIYvdg==", + "requires": { + "safer-buffer": "~2.1.0" + } }, "assert-plus": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/assert-plus/-/assert-plus-0.2.0.tgz", - "integrity": "sha1-104bh+ev/A24qttwIfP+SBAasjQ=" + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz", + "integrity": "sha1-8S4PPF13sLHN2RRpQuTpbB5N1SU=" }, "asynckit": { "version": "0.4.0", @@ -62,14 +76,14 @@ "integrity": "sha1-x57Zf380y48robyXkLzDZkdLS3k=" }, "aws-sign2": { - "version": "0.6.0", - "resolved": "https://registry.npmjs.org/aws-sign2/-/aws-sign2-0.6.0.tgz", - "integrity": "sha1-FDQt0428yU0OW4fXY81jYSwOeU8=" + "version": "0.7.0", + "resolved": "https://registry.npmjs.org/aws-sign2/-/aws-sign2-0.7.0.tgz", + "integrity": "sha1-tG6JCTSpWR8tL2+G1+ap8bP+dqg=" }, "aws4": { - "version": "1.7.0", - "resolved": "https://registry.npmjs.org/aws4/-/aws4-1.7.0.tgz", - "integrity": "sha512-32NDda82rhwD9/JBCCkB+MRYDp0oSvlo2IL6rQWA10PQi7tDUM3eqMSltXmY+Oyl/7N3P3qNtAlv7X0d9bI28w==" + "version": "1.8.0", + "resolved": "https://registry.npmjs.org/aws4/-/aws4-1.8.0.tgz", + "integrity": "sha512-ReZxvNHIOv88FlT7rxcXIIC0fPt4KZqZbOlivyWtXLt8ESx84zd3kMC6iK5jVeS2qt+g7ftS7ye4fi06X5rtRQ==" }, "babel-code-frame": { "version": "6.26.0", @@ -79,6 +93,20 @@ "chalk": "^1.1.3", "esutils": "^2.0.2", "js-tokens": "^3.0.2" + }, + "dependencies": { + "chalk": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz", + "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=", + "requires": { + "ansi-styles": "^2.2.1", + "escape-string-regexp": "^1.0.2", + "has-ansi": "^2.0.0", + "strip-ansi": "^3.0.0", + "supports-color": "^2.0.0" + } + } } }, "balanced-match": { @@ -87,32 +115,24 @@ "integrity": "sha1-ibTRmasr7kneFk6gK4nORi1xt2c=" }, "bcrypt-pbkdf": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/bcrypt-pbkdf/-/bcrypt-pbkdf-1.0.1.tgz", - "integrity": "sha1-Y7xdy2EzG5K8Bf1SiVPDNGKgb40=", + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/bcrypt-pbkdf/-/bcrypt-pbkdf-1.0.2.tgz", + "integrity": "sha1-pDAdOJtqQ/m2f/PKEaP2Y342Dp4=", "optional": true, "requires": { "tweetnacl": "^0.14.3" } }, "bind-obj-methods": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/bind-obj-methods/-/bind-obj-methods-1.0.0.tgz", - "integrity": "sha1-T1l5ysFXk633DkiBYeRj4gnKUJw=" + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/bind-obj-methods/-/bind-obj-methods-2.0.0.tgz", + "integrity": "sha512-3/qRXczDi2Cdbz6jE+W3IflJOutRVica8frpBn14de1mBOkzDo+6tY33kNhvkw54Kn3PzRRD2VnGbGPcTAk4sw==" }, "bluebird": { "version": "3.5.1", "resolved": "https://registry.npmjs.org/bluebird/-/bluebird-3.5.1.tgz", "integrity": "sha512-MKiLiV+I1AA596t9w1sQJ8jkiSr5+ZKi0WKrYGUn6d1Fx+Ij4tIj+m2WMQSGczs5jZVxV339chE8iwk6F64wjA==" }, - "boom": { - "version": "2.10.1", - "resolved": "https://registry.npmjs.org/boom/-/boom-2.10.1.tgz", - "integrity": "sha1-OciRjO/1eZ+D+UkqhI9iWt0Mdm8=", - "requires": { - "hoek": "2.x.x" - } - }, "brace-expansion": { "version": "1.1.11", "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", @@ -122,26 +142,47 @@ "concat-map": "0.0.1" } }, + "buffer-from": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.1.tgz", + "integrity": "sha512-MQcXEUbCKtEo7bhqEs6560Hyd4XaovZlO/k9V3hjVUF/zwW7KBVdSK4gIt/bzwS9MbR5qob+F5jusZsb0YQK2A==" + }, "builtin-modules": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/builtin-modules/-/builtin-modules-1.1.1.tgz", "integrity": "sha1-Jw8HbFpywC9bZaR9+Uxf46J4iS8=" }, "caseless": { - "version": "0.11.0", - "resolved": "https://registry.npmjs.org/caseless/-/caseless-0.11.0.tgz", - "integrity": "sha1-cVuW6phBWTzDMGeSP17GDr2k99c=" + "version": "0.12.0", + "resolved": "https://registry.npmjs.org/caseless/-/caseless-0.12.0.tgz", + "integrity": "sha1-G2gcIf+EAzyCZUMJBolCDRhxUdw=" }, "chalk": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz", - "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=", + "version": "2.4.1", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.1.tgz", + "integrity": "sha512-ObN6h1v2fTJSmUXoS3nMQ92LbDK9be4TV+6G+omQlGJFdcUX5heKi1LZ1YnRMIgwTLEj3E24bT6tYni50rlCfQ==", "requires": { - "ansi-styles": "^2.2.1", - "escape-string-regexp": "^1.0.2", - "has-ansi": "^2.0.0", - "strip-ansi": "^3.0.0", - "supports-color": "^2.0.0" + "ansi-styles": "^3.2.1", + "escape-string-regexp": "^1.0.5", + "supports-color": "^5.3.0" + }, + "dependencies": { + "ansi-styles": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", + "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "requires": { + "color-convert": "^1.9.0" + } + }, + "supports-color": { + "version": "5.4.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.4.0.tgz", + "integrity": "sha512-zjaXglF5nnWpsq470jSv6P9DwPvgLkuapYmfDm3JWOm0vkNTVF2tI4UrN2r6jH1qM/uc/WtxYY1hYoA2dOKj5w==", + "requires": { + "has-flag": "^3.0.0" + } + } } }, "chownr": { @@ -154,18 +195,23 @@ "resolved": "https://registry.npmjs.org/clean-yaml-object/-/clean-yaml-object-0.1.0.tgz", "integrity": "sha1-Y/sRDcLOGoTcIfbZM0h20BCui2g=" }, + "co": { + "version": "4.6.0", + "resolved": "https://registry.npmjs.org/co/-/co-4.6.0.tgz", + "integrity": "sha1-bqa989hTrlTMuOR7+gvz+QMfsYQ=" + }, "color-convert": { - "version": "1.9.1", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.1.tgz", - "integrity": "sha512-mjGanIiwQJskCC18rPR6OmrZ6fm2Lc7PeGFYwCmy5J34wC6F1PzdGL6xeMfmgicfYcNLGuVFA3WzXtIDCQSZxQ==", + "version": "1.9.2", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.2.tgz", + "integrity": "sha512-3NUJZdhMhcdPn8vJ9v2UQJoH0qqoGUkYTgFEPZaPjEtwmmKUfNV46zZmgB2M5M4DCEQHMaCfWHCxiBflLm04Tg==", "requires": { - "color-name": "^1.1.1" + "color-name": "1.1.1" } }, "color-name": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", - "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=" + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.1.tgz", + "integrity": "sha1-SxQVMEz1ACjqgWQ2Q72C6gWANok=" }, "color-support": { "version": "1.1.3", @@ -181,9 +227,9 @@ } }, "commander": { - "version": "2.15.1", - "resolved": "https://registry.npmjs.org/commander/-/commander-2.15.1.tgz", - "integrity": "sha512-VlfT9F3V0v+jr4yxPc5gg9s62/fIVWsd2Bk2iD435um1NlGMYdVCq+MjcXnhYq2icNOizHr1kK+5TI6H0Hy0ag==" + "version": "2.17.1", + "resolved": "https://registry.npmjs.org/commander/-/commander-2.17.1.tgz", + "integrity": "sha512-wPMUt6FnH2yzG95SA6mzjQOEKUU3aLaDEmzs1ti+1E9h+CsrZghRlqEM/EJ4KscsQVG8uNN4uVreUeT8+drlgg==" }, "concat-map": { "version": "0.0.1", @@ -196,26 +242,16 @@ "integrity": "sha1-tf1UIgqivFq1eqtxQMlAdUUDwac=" }, "coveralls": { - "version": "2.13.3", - "resolved": "https://registry.npmjs.org/coveralls/-/coveralls-2.13.3.tgz", - "integrity": "sha512-iiAmn+l1XqRwNLXhW8Rs5qHZRFMYp9ZIPjEOVRpC/c4so6Y/f4/lFi0FfR5B9cCqgyhkJ5cZmbvcVRfP8MHchw==", + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/coveralls/-/coveralls-3.0.2.tgz", + "integrity": "sha512-Tv0LKe/MkBOilH2v7WBiTBdudg2ChfGbdXafc/s330djpF3zKOmuehTeRwjXWc7pzfj9FrDUTA7tEx6Div8NFw==", "requires": { - "js-yaml": "3.6.1", - "lcov-parse": "0.0.10", - "log-driver": "1.2.5", - "minimist": "1.2.0", - "request": "2.79.0" - }, - "dependencies": { - "js-yaml": { - "version": "3.6.1", - "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.6.1.tgz", - "integrity": "sha1-bl/mfYsgXOTSL60Ft3geja3MSzA=", - "requires": { - "argparse": "^1.0.7", - "esprima": "^2.6.0" - } - } + "growl": "~> 1.10.0", + "js-yaml": "^3.11.0", + "lcov-parse": "^0.0.10", + "log-driver": "^1.2.7", + "minimist": "^1.2.0", + "request": "^2.85.0" } }, "cross-spawn": { @@ -227,27 +263,12 @@ "which": "^1.2.9" } }, - "cryptiles": { - "version": "2.0.5", - "resolved": "https://registry.npmjs.org/cryptiles/-/cryptiles-2.0.5.tgz", - "integrity": "sha1-O9/s3GCBR8HGcgL6KR59ylnqo7g=", - "requires": { - "boom": "2.x.x" - } - }, "dashdash": { "version": "1.14.1", "resolved": "https://registry.npmjs.org/dashdash/-/dashdash-1.14.1.tgz", "integrity": "sha1-hTz6D3y+L+1d4gMmuN1YEDX24vA=", "requires": { "assert-plus": "^1.0.0" - }, - "dependencies": { - "assert-plus": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz", - "integrity": "sha1-8S4PPF13sLHN2RRpQuTpbB5N1SU=" - } } }, "debug": { @@ -269,12 +290,13 @@ "integrity": "sha1-fyjS657nsVqX79ic5j3P2qPMur8=" }, "ecc-jsbn": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/ecc-jsbn/-/ecc-jsbn-0.1.1.tgz", - "integrity": "sha1-D8c6ntXw1Tw4GTOYUj735UN3dQU=", + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/ecc-jsbn/-/ecc-jsbn-0.1.2.tgz", + "integrity": "sha1-OoOpBOVDUyh4dMVkt1SThoSamMk=", "optional": true, "requires": { - "jsbn": "~0.1.0" + "jsbn": "~0.1.0", + "safer-buffer": "^2.1.0" } }, "ejs": { @@ -288,9 +310,9 @@ "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=" }, "esprima": { - "version": "2.7.3", - "resolved": "https://registry.npmjs.org/esprima/-/esprima-2.7.3.tgz", - "integrity": "sha1-luO3DVd59q1JzQMmc9HDEnZ7pYE=" + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz", + "integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==" }, "esutils": { "version": "2.0.2", @@ -303,15 +325,25 @@ "integrity": "sha1-LUH1Y+H+QA7Uli/hpNXGp1Od9/Y=" }, "extend": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/extend/-/extend-3.0.1.tgz", - "integrity": "sha1-p1Xqe8Gt/MWjHOfnYtuq3F5jZEQ=" + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/extend/-/extend-3.0.2.tgz", + "integrity": "sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g==" }, "extsprintf": { "version": "1.3.0", "resolved": "https://registry.npmjs.org/extsprintf/-/extsprintf-1.3.0.tgz", "integrity": "sha1-lpGEQOMEGnpBT4xS48V06zw+HgU=" }, + "fast-deep-equal": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-1.1.0.tgz", + "integrity": "sha1-wFNHeBfIa1HaqFPIHgWbcz0CNhQ=" + }, + "fast-json-stable-stringify": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.0.0.tgz", + "integrity": "sha1-1RQsDK7msRifh9OnYREGT4bIu/I=" + }, "foreground-child": { "version": "1.5.6", "resolved": "https://registry.npmjs.org/foreground-child/-/foreground-child-1.5.6.tgz", @@ -327,12 +359,12 @@ "integrity": "sha1-+8cfDEGt6zf5bFd60e1C2P2sypE=" }, "form-data": { - "version": "2.1.4", - "resolved": "https://registry.npmjs.org/form-data/-/form-data-2.1.4.tgz", - "integrity": "sha1-M8GDrPGTJ27KqYFDpp6Uv+4XUNE=", + "version": "2.3.2", + "resolved": "https://registry.npmjs.org/form-data/-/form-data-2.3.2.tgz", + "integrity": "sha1-SXBJi+YEwgwAXU9cI67NIda0kJk=", "requires": { "asynckit": "^0.4.0", - "combined-stream": "^1.0.5", + "combined-stream": "1.0.6", "mime-types": "^2.1.12" } }, @@ -369,32 +401,12 @@ "resolved": "https://registry.npmjs.org/function-loop/-/function-loop-1.0.1.tgz", "integrity": "sha1-gHa7MF6OajzO7ikgdl8zDRkPNAw=" }, - "generate-function": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/generate-function/-/generate-function-2.0.0.tgz", - "integrity": "sha1-aFj+fAlpt9TpCTM3ZHrHn2DfvnQ=" - }, - "generate-object-property": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/generate-object-property/-/generate-object-property-1.2.0.tgz", - "integrity": "sha1-nA4cQDCM6AT0eDYYuTf6iPmdUNA=", - "requires": { - "is-property": "^1.0.0" - } - }, "getpass": { "version": "0.1.7", "resolved": "https://registry.npmjs.org/getpass/-/getpass-0.1.7.tgz", "integrity": "sha1-Xv+OPmhNVprkyysSgmBOi6YhSfo=", "requires": { "assert-plus": "^1.0.0" - }, - "dependencies": { - "assert-plus": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz", - "integrity": "sha1-8S4PPF13sLHN2RRpQuTpbB5N1SU=" - } } }, "glob": { @@ -415,15 +427,23 @@ "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.1.11.tgz", "integrity": "sha1-Dovf5NHduIVNZOBOp8AOKgJuVlg=" }, + "growl": { + "version": "1.10.5", + "resolved": "https://registry.npmjs.org/growl/-/growl-1.10.5.tgz", + "integrity": "sha512-qBr4OuELkhPenW6goKVXiv47US3clb3/IbuWF9KNKEijAy9oeHxU9IgzjvJhHkUzhaj7rOUD7+YGWqUjLp5oSA==" + }, + "har-schema": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/har-schema/-/har-schema-2.0.0.tgz", + "integrity": "sha1-qUwiJOvKwEeCoNkDVSHyRzW37JI=" + }, "har-validator": { - "version": "2.0.6", - "resolved": "https://registry.npmjs.org/har-validator/-/har-validator-2.0.6.tgz", - "integrity": "sha1-zcvAgYgmWtEZtqWnyKtw7s+10n0=", + "version": "5.0.3", + "resolved": "https://registry.npmjs.org/har-validator/-/har-validator-5.0.3.tgz", + "integrity": "sha1-ukAsJmGU8VlW7xXg/PJCmT9qff0=", "requires": { - "chalk": "^1.1.1", - "commander": "^2.9.0", - "is-my-json-valid": "^2.12.4", - "pinkie-promise": "^2.0.0" + "ajv": "^5.1.0", + "har-schema": "^2.0.0" } }, "has-ansi": { @@ -439,32 +459,21 @@ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=" }, - "hawk": { - "version": "3.1.3", - "resolved": "https://registry.npmjs.org/hawk/-/hawk-3.1.3.tgz", - "integrity": "sha1-B4REvXwWQLD+VA0sm3PVlnjo4cQ=", - "requires": { - "boom": "2.x.x", - "cryptiles": "2.x.x", - "hoek": "2.x.x", - "sntp": "1.x.x" - } - }, - "hoek": { - "version": "2.16.3", - "resolved": "https://registry.npmjs.org/hoek/-/hoek-2.16.3.tgz", - "integrity": "sha1-ILt0A9POo5jpHcRxCo/xuCdKJe0=" - }, "http-signature": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/http-signature/-/http-signature-1.1.1.tgz", - "integrity": "sha1-33LiZwZs0Kxn+3at+OE0qPvPkb8=", + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/http-signature/-/http-signature-1.2.0.tgz", + "integrity": "sha1-muzZJRFHcvPZW2WmCruPfBj7rOE=", "requires": { - "assert-plus": "^0.2.0", + "assert-plus": "^1.0.0", "jsprim": "^1.2.2", "sshpk": "^1.7.0" } }, + "imurmurhash": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz", + "integrity": "sha1-khi5srkoojixPcT7a21XbyMUU+o=" + }, "inflight": { "version": "1.0.6", "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", @@ -479,28 +488,6 @@ "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz", "integrity": "sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4=" }, - "is-my-ip-valid": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-my-ip-valid/-/is-my-ip-valid-1.0.0.tgz", - "integrity": "sha512-gmh/eWXROncUzRnIa1Ubrt5b8ep/MGSnfAUI3aRp+sqTCs1tv1Isl8d8F6JmkN3dXKc3ehZMrtiPN9eL03NuaQ==" - }, - "is-my-json-valid": { - "version": "2.17.2", - "resolved": "https://registry.npmjs.org/is-my-json-valid/-/is-my-json-valid-2.17.2.tgz", - "integrity": "sha512-IBhBslgngMQN8DDSppmgDv7RNrlFotuuDsKcrCP3+HbFaVivIBU7u9oiiErw8sH4ynx3+gOGQ3q2otkgiSi6kg==", - "requires": { - "generate-function": "^2.0.0", - "generate-object-property": "^1.1.0", - "is-my-ip-valid": "^1.0.0", - "jsonpointer": "^4.0.0", - "xtend": "^4.0.0" - } - }, - "is-property": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/is-property/-/is-property-1.0.2.tgz", - "integrity": "sha1-V/4cTkhHTt1lsJkR8msc1Ald2oQ=" - }, "is-typedarray": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/is-typedarray/-/is-typedarray-1.0.0.tgz", @@ -509,7 +496,8 @@ "isarray": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", - "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=" + "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=", + "optional": true }, "isexe": { "version": "2.0.0", @@ -527,19 +515,12 @@ "integrity": "sha1-mGbfOVECEw449/mWvOtlRDIJwls=" }, "js-yaml": { - "version": "3.11.0", - "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.11.0.tgz", - "integrity": "sha512-saJstZWv7oNeOyBh3+Dx1qWzhW0+e6/8eDzo7p5rDFqxntSztloLtuKu+Ejhtq82jsilwOIZYsCz+lIjthg1Hw==", + "version": "3.12.0", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.12.0.tgz", + "integrity": "sha512-PIt2cnwmPfL4hKNwqeiuz4bKfnzHTBv6HyVgjahA6mPLwPDzjDWrplJBMjHUFxku/N3FlmrbyPclad+I+4mJ3A==", "requires": { "argparse": "^1.0.7", "esprima": "^4.0.0" - }, - "dependencies": { - "esprima": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.0.tgz", - "integrity": "sha512-oftTcaMu/EGrEIu904mWteKIv8vMuOgGYo7EhVJJN00R/EED9DCua/xxHRdYnKtcECzVg7xOWhflvJMnqcFZjw==" - } } }, "jsbn": { @@ -553,6 +534,11 @@ "resolved": "https://registry.npmjs.org/json-schema/-/json-schema-0.2.3.tgz", "integrity": "sha1-tIDIkuWaLwWVTOcnvT8qTogvnhM=" }, + "json-schema-traverse": { + "version": "0.3.1", + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.3.1.tgz", + "integrity": "sha1-NJptRMU6Ud6JtAgFxdXlm0F9M0A=" + }, "json-stringify-safe": { "version": "5.0.1", "resolved": "https://registry.npmjs.org/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz", @@ -566,11 +552,6 @@ "graceful-fs": "^4.1.6" } }, - "jsonpointer": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/jsonpointer/-/jsonpointer-4.0.1.tgz", - "integrity": "sha1-T9kss04OnbPInIYi7PUfm5eMbLk=" - }, "jsprim": { "version": "1.4.1", "resolved": "https://registry.npmjs.org/jsprim/-/jsprim-1.4.1.tgz", @@ -580,13 +561,6 @@ "extsprintf": "1.3.0", "json-schema": "0.2.3", "verror": "1.10.0" - }, - "dependencies": { - "assert-plus": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz", - "integrity": "sha1-8S4PPF13sLHN2RRpQuTpbB5N1SU=" - } } }, "lcov-parse": { @@ -595,9 +569,9 @@ "integrity": "sha1-GwuP+ayceIklBYK3C3ExXZ2m2aM=" }, "log-driver": { - "version": "1.2.5", - "resolved": "https://registry.npmjs.org/log-driver/-/log-driver-1.2.5.tgz", - "integrity": "sha1-euTsJXMC/XkNVXyxDJcQDYV7AFY=" + "version": "1.2.7", + "resolved": "https://registry.npmjs.org/log-driver/-/log-driver-1.2.7.tgz", + "integrity": "sha512-U7KCmLdqsGHBLeWqYlFA0V0Sl6P08EE1ZrmA9cxjUE0WVqT9qnyVDPz1kzpFEP0jdJuFnasWIfSd7fsaNXkpbg==" }, "lru-cache": { "version": "4.1.3", @@ -609,16 +583,16 @@ } }, "mime-db": { - "version": "1.33.0", - "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.33.0.tgz", - "integrity": "sha512-BHJ/EKruNIqJf/QahvxwQZXKygOQ256myeN/Ew+THcAa5q+PjyTTMMeNQC4DZw5AwfvelsUrA6B67NKMqXDbzQ==" + "version": "1.35.0", + "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.35.0.tgz", + "integrity": "sha512-JWT/IcCTsB0Io3AhWUMjRqucrHSPsSf2xKLaRldJVULioggvkJvggZ3VXNNSRkCddE6D+BUI4HEIZIA2OjwIvg==" }, "mime-types": { - "version": "2.1.18", - "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.18.tgz", - "integrity": "sha512-lc/aahn+t4/SWV/qcmumYjymLsWfN3ELhpmVuUFjgsORruuZPVSwAQryq+HHGvO/SI2KVX26bx+En+zhM8g8hQ==", + "version": "2.1.19", + "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.19.tgz", + "integrity": "sha512-P1tKYHVSZ6uFo26mtnve4HQFE3koh1UWVkp8YUC+ESBHe945xWSoXuHHiGarDqcEZ+whpCDnlNw5LON0kLo+sw==", "requires": { - "mime-db": "~1.33.0" + "mime-db": "~1.35.0" } }, "minimatch": { @@ -679,18 +653,18 @@ "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=" }, "nodeunit": { - "version": "0.11.2", - "resolved": "https://registry.npmjs.org/nodeunit/-/nodeunit-0.11.2.tgz", - "integrity": "sha512-rlr0Fgd66nLmWwgVFj40TZp5jo47/YqaPQtoHG78mt+DVQhaLhA8EJJYCf2lozgYplPv+jJMLt8bCP34zo05mQ==", + "version": "0.11.3", + "resolved": "https://registry.npmjs.org/nodeunit/-/nodeunit-0.11.3.tgz", + "integrity": "sha512-gDNxrDWpx07BxYNO/jn1UrGI1vNhDQZrIFphbHMcTCDc5mrrqQBWfQMXPHJ5WSgbFwD1D6bv4HOsqtTrPG03AA==", "requires": { "ejs": "^2.5.2", - "tap": "^10.0.2" + "tap": "^12.0.1" } }, "nyc": { - "version": "11.8.0", - "resolved": "https://registry.npmjs.org/nyc/-/nyc-11.8.0.tgz", - "integrity": "sha512-PUFq1PSsx5OinSk5g5aaZygcDdI3QQT5XUlbR9QRMihtMS6w0Gm8xj4BxmKeeAlpQXC5M2DIhH16Y+KejceivQ==", + "version": "11.9.0", + "resolved": "https://registry.npmjs.org/nyc/-/nyc-11.9.0.tgz", + "integrity": "sha512-w8OdJAhXL5izerzZMdqzYKMj/pgHJyY3qEPYBjLLxrhcVoHEY9pU5ENIiZyCgG9OR7x3VcUMoD40o6PtVpfR4g==", "requires": { "archy": "^1.0.0", "arrify": "^1.0.1", @@ -3032,27 +3006,20 @@ "integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18=" }, "path-parse": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.5.tgz", - "integrity": "sha1-PBrfhx6pzWyUMbbqK9dKD/BVxME=" - }, - "pinkie": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/pinkie/-/pinkie-2.0.4.tgz", - "integrity": "sha1-clVrgM+g1IqXToDnckjoDtT3+HA=" - }, - "pinkie-promise": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/pinkie-promise/-/pinkie-promise-2.0.1.tgz", - "integrity": "sha1-ITXW36ejWMBprJsXh3YogihFD/o=", - "requires": { - "pinkie": "^2.0.0" - } + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.6.tgz", + "integrity": "sha512-GSmOT2EbHrINBf9SR7CDELwlJ8AENk3Qn7OikK4nFYAu3Ote2+JYNVvkpAEQm3/TLNEJFD/xZJjzyxg3KBWOzw==" + }, + "performance-now": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/performance-now/-/performance-now-2.1.0.tgz", + "integrity": "sha1-Ywn04OX6kT7BxpMHrjZLSzd8nns=" }, "process-nextick-args": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.0.tgz", - "integrity": "sha512-MtEC1TqN0EU5nephaJ4rAtThHtC86dNN9qCuEhtshvpVBkAW5ZO7BASN9REnF9eoXGcRub+pFuKEpOHE+HbEMw==" + "integrity": "sha512-MtEC1TqN0EU5nephaJ4rAtThHtC86dNN9qCuEhtshvpVBkAW5ZO7BASN9REnF9eoXGcRub+pFuKEpOHE+HbEMw==", + "optional": true }, "pseudomap": { "version": "1.0.2", @@ -3065,14 +3032,15 @@ "integrity": "sha1-wNWmOycYgArY4esPpSachN1BhF4=" }, "qs": { - "version": "6.3.2", - "resolved": "https://registry.npmjs.org/qs/-/qs-6.3.2.tgz", - "integrity": "sha1-51vV9uJoEioqDgvaYwslUMFmUCw=" + "version": "6.5.2", + "resolved": "https://registry.npmjs.org/qs/-/qs-6.5.2.tgz", + "integrity": "sha512-N5ZAX4/LxJmF+7wN74pUD6qAh9/wnvdQcjq9TZjevvXzSUo7bfmw91saqMjzGS2xq91/odN2dW/WOl7qQHNDGA==" }, "readable-stream": { "version": "2.3.6", "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.6.tgz", "integrity": "sha512-tQtKA9WIAhBF3+VLAseyMqZeBjW0AHJoxOtYqSUZNJxauErmLbVm2FW1y+J/YA9dUrAC39ITejlZWhVIwawkKw==", + "optional": true, "requires": { "core-util-is": "~1.0.0", "inherits": "~2.0.3", @@ -3084,45 +3052,58 @@ } }, "request": { - "version": "2.79.0", - "resolved": "https://registry.npmjs.org/request/-/request-2.79.0.tgz", - "integrity": "sha1-Tf5b9r6LjNw3/Pk+BLZVd3InEN4=", + "version": "2.87.0", + "resolved": "https://registry.npmjs.org/request/-/request-2.87.0.tgz", + "integrity": "sha512-fcogkm7Az5bsS6Sl0sibkbhcKsnyon/jV1kF3ajGmF0c8HrttdKTPRT9hieOaQHA5HEq6r8OyWOo/o781C1tNw==", "requires": { - "aws-sign2": "~0.6.0", - "aws4": "^1.2.1", - "caseless": "~0.11.0", + "aws-sign2": "~0.7.0", + "aws4": "^1.6.0", + "caseless": "~0.12.0", "combined-stream": "~1.0.5", - "extend": "~3.0.0", + "extend": "~3.0.1", "forever-agent": "~0.6.1", - "form-data": "~2.1.1", - "har-validator": "~2.0.6", - "hawk": "~3.1.3", - "http-signature": "~1.1.0", + "form-data": "~2.3.1", + "har-validator": "~5.0.3", + "http-signature": "~1.2.0", "is-typedarray": "~1.0.0", "isstream": "~0.1.2", "json-stringify-safe": "~5.0.1", - "mime-types": "~2.1.7", - "oauth-sign": "~0.8.1", - "qs": "~6.3.0", - "stringstream": "~0.0.4", - "tough-cookie": "~2.3.0", - "tunnel-agent": "~0.4.1", - "uuid": "^3.0.0" + "mime-types": "~2.1.17", + "oauth-sign": "~0.8.2", + "performance-now": "^2.1.0", + "qs": "~6.5.1", + "safe-buffer": "^5.1.1", + "tough-cookie": "~2.3.3", + "tunnel-agent": "^0.6.0", + "uuid": "^3.1.0" } }, "resolve": { - "version": "1.7.1", - "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.7.1.tgz", - "integrity": "sha512-c7rwLofp8g1U+h1KNyHL/jicrKg1Ek4q+Lr33AL65uZTinUZHe30D5HlyN5V9NW0JX1D5dXQ4jqW5l7Sy/kGfw==", + "version": "1.8.1", + "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.8.1.tgz", + "integrity": "sha512-AicPrAC7Qu1JxPCZ9ZgCZlY35QgFnNqc+0LtbRNxnVw4TXvjQ72wnuL9JQcEBgXkI9JM8MsT9kaQoHcpCRJOYA==", "requires": { "path-parse": "^1.0.5" } }, + "rimraf": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.6.2.tgz", + "integrity": "sha512-lreewLK/BlghmxtfH36YYVg1i8IAce4TI7oao75I1g245+6BctqTVQiBP3YUJ9C6DQOXJmkYR9X9fCLtCOJc5w==", + "requires": { + "glob": "^7.0.5" + } + }, "safe-buffer": { "version": "5.1.2", "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==" }, + "safer-buffer": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", + "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==" + }, "semver": { "version": "5.5.0", "resolved": "https://registry.npmjs.org/semver/-/semver-5.5.0.tgz", @@ -3133,31 +3114,24 @@ "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.2.tgz", "integrity": "sha1-tf3AjxKH6hF4Yo5BXiUTK3NkbG0=" }, - "sntp": { - "version": "1.0.9", - "resolved": "https://registry.npmjs.org/sntp/-/sntp-1.0.9.tgz", - "integrity": "sha1-ZUEYTMkK7qbG57NeJlkIJEPGYZg=", - "requires": { - "hoek": "2.x.x" - } - }, "source-map": { "version": "0.7.3", "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.7.3.tgz", "integrity": "sha512-CkCj6giN3S+n9qrYiBTX5gystlENnRW5jZeNLHpe6aue+SrHcG5VYwujhW9s4dY31mEGsxBDrHR6oI69fTXsaQ==" }, "source-map-support": { - "version": "0.4.18", - "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.4.18.tgz", - "integrity": "sha512-try0/JqxPLF9nOjvSta7tVondkP5dwgyLDjVoyMDlmjugT2lRZ1OfsrYTkCd2hkDnJTKRbO/Rl3orm8vlsUzbA==", + "version": "0.5.6", + "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.6.tgz", + "integrity": "sha512-N4KXEz7jcKqPf2b2vZF11lQIz9W5ZMuUcIOGj243lduidkf2fjkVKJS9vNxVWn3u/uxX38AcE8U9nnH9FPcq+g==", "requires": { - "source-map": "^0.5.6" + "buffer-from": "^1.0.0", + "source-map": "^0.6.0" }, "dependencies": { "source-map": { - "version": "0.5.7", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", - "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=" + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==" } } }, @@ -3167,9 +3141,9 @@ "integrity": "sha1-BOaSb2YolTVPPdAVIDYzuFcpfiw=" }, "sshpk": { - "version": "1.14.1", - "resolved": "https://registry.npmjs.org/sshpk/-/sshpk-1.14.1.tgz", - "integrity": "sha1-Ew9Zde3a2WPx1W+SuaxsUfqfg+s=", + "version": "1.14.2", + "resolved": "https://registry.npmjs.org/sshpk/-/sshpk-1.14.2.tgz", + "integrity": "sha1-xvxhZIo9nE52T9P8306hBeSSupg=", "requires": { "asn1": "~0.2.3", "assert-plus": "^1.0.0", @@ -3178,14 +3152,8 @@ "ecc-jsbn": "~0.1.1", "getpass": "^0.1.1", "jsbn": "~0.1.0", + "safer-buffer": "^2.0.2", "tweetnacl": "~0.14.0" - }, - "dependencies": { - "assert-plus": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz", - "integrity": "sha1-8S4PPF13sLHN2RRpQuTpbB5N1SU=" - } } }, "stack-utils": { @@ -3197,15 +3165,11 @@ "version": "1.1.1", "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", + "optional": true, "requires": { "safe-buffer": "~5.1.0" } }, - "stringstream": { - "version": "0.0.6", - "resolved": "https://registry.npmjs.org/stringstream/-/stringstream-0.0.6.tgz", - "integrity": "sha512-87GEBAkegbBcweToUrdzf3eLhWNg06FJTebl4BVJz/JgWy8CvEr9dRtX5qWphiynMSQlxxi+QqN0z5T32SLlhA==" - }, "strip-ansi": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz", @@ -3220,35 +3184,38 @@ "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=" }, "tap": { - "version": "10.7.3", - "resolved": "https://registry.npmjs.org/tap/-/tap-10.7.3.tgz", - "integrity": "sha512-oS/FIq+tcmxVgYn5usKtLsX+sOHNEj+G7JIQE9SBjO5mVYB1rbaEJJiDbnYp8k0ZqY2Pe4HbYEpkvzm9jfLDyw==", + "version": "12.0.1", + "resolved": "https://registry.npmjs.org/tap/-/tap-12.0.1.tgz", + "integrity": "sha512-iEJytWaZy8risvfRjuV4+ST+Lrrui/MW2ZCWn01ZaMn0NKFej4+PpBy6bXGOg9+cEGNmI7d3Sdka/zTUZUGidA==", "requires": { - "bind-obj-methods": "^1.0.0", + "bind-obj-methods": "^2.0.0", "bluebird": "^3.5.1", "clean-yaml-object": "^0.1.0", "color-support": "^1.1.0", - "coveralls": "^2.13.3", + "coveralls": "^3.0.1", "foreground-child": "^1.3.3", "fs-exists-cached": "^1.0.0", "function-loop": "^1.0.1", "glob": "^7.0.0", "isexe": "^2.0.0", - "js-yaml": "^3.10.0", - "nyc": "^11.3.0", + "js-yaml": "^3.11.0", + "minipass": "^2.3.0", + "mkdirp": "^0.5.1", + "nyc": "^11.8.0", "opener": "^1.4.1", "os-homedir": "^1.0.2", "own-or": "^1.0.0", - "own-or-env": "^1.0.0", - "readable-stream": "^2.3.2", + "own-or-env": "^1.0.1", + "rimraf": "^2.6.2", "signal-exit": "^3.0.0", - "source-map-support": "^0.4.18", + "source-map-support": "^0.5.6", "stack-utils": "^1.0.0", - "tap-mocha-reporter": "^3.0.6", - "tap-parser": "^5.3.1", - "tmatch": "^3.1.0", + "tap-mocha-reporter": "^3.0.7", + "tap-parser": "^7.0.0", + "tmatch": "^4.0.0", "trivial-deferred": "^1.0.1", - "tsame": "^1.1.2", + "tsame": "^2.0.0", + "write-file-atomic": "^2.3.0", "yapool": "^1.0.0" } }, @@ -3266,22 +3233,34 @@ "readable-stream": "^2.1.5", "tap-parser": "^5.1.0", "unicode-length": "^1.0.0" + }, + "dependencies": { + "tap-parser": { + "version": "5.4.0", + "resolved": "https://registry.npmjs.org/tap-parser/-/tap-parser-5.4.0.tgz", + "integrity": "sha512-BIsIaGqv7uTQgTW1KLTMNPSEQf4zDDPgYOBRdgOfuB+JFOLRBfEu6cLa/KvMvmqggu1FKXDfitjLwsq4827RvA==", + "requires": { + "events-to-array": "^1.0.1", + "js-yaml": "^3.2.7", + "readable-stream": "^2" + } + } } }, "tap-parser": { - "version": "5.4.0", - "resolved": "https://registry.npmjs.org/tap-parser/-/tap-parser-5.4.0.tgz", - "integrity": "sha512-BIsIaGqv7uTQgTW1KLTMNPSEQf4zDDPgYOBRdgOfuB+JFOLRBfEu6cLa/KvMvmqggu1FKXDfitjLwsq4827RvA==", + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/tap-parser/-/tap-parser-7.0.0.tgz", + "integrity": "sha512-05G8/LrzqOOFvZhhAk32wsGiPZ1lfUrl+iV7+OkKgfofZxiceZWMHkKmow71YsyVQ8IvGBP2EjcIjE5gL4l5lA==", "requires": { "events-to-array": "^1.0.1", "js-yaml": "^3.2.7", - "readable-stream": "^2" + "minipass": "^2.2.0" } }, "tar": { - "version": "4.4.4", - "resolved": "https://registry.npmjs.org/tar/-/tar-4.4.4.tgz", - "integrity": "sha512-mq9ixIYfNF9SK0IS/h2HKMu8Q2iaCuhDDsZhdEag/FHv8fOaYld4vN7ouMgcSSt5WKZzPs8atclTcJm36OTh4w==", + "version": "4.4.6", + "resolved": "https://registry.npmjs.org/tar/-/tar-4.4.6.tgz", + "integrity": "sha512-tMkTnh9EdzxyfW+6GK6fCahagXsnYk6kE6S9Gr9pjVdys769+laCTbodXDhPAjzVtEBazRgP0gYqOjnk9dQzLg==", "requires": { "chownr": "^1.0.1", "fs-minipass": "^1.2.5", @@ -3300,9 +3279,9 @@ } }, "tmatch": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/tmatch/-/tmatch-3.1.0.tgz", - "integrity": "sha512-W3MSATOCN4pVu2qFxmJLIArSifeSOFqnfx9hiUaVgOmeRoI2NbU7RNga+6G+L8ojlFeQge+ZPCclWyUpQ8UeNQ==" + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/tmatch/-/tmatch-4.0.0.tgz", + "integrity": "sha512-Ynn2Gsp+oCvYScQXeV+cCs7citRDilq0qDXA6tuvFwDgiYyyaq7D5vKUlAPezzZR5NDobc/QMeN6e5guOYmvxg==" }, "tough-cookie": { "version": "2.3.4", @@ -3318,19 +3297,19 @@ "integrity": "sha1-N21NKdlR1jaKb3oK6FwvTV4GWPM=" }, "tsame": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/tsame/-/tsame-1.1.2.tgz", - "integrity": "sha512-ovCs24PGjmByVPr9tSIOs/yjUX9sJl0grEmOsj9dZA/UknQkgPOKcUqM84aSCvt9awHuhc/boMzTg3BHFalxWw==" + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/tsame/-/tsame-2.0.0.tgz", + "integrity": "sha512-dAuzcnOPdqZYojylFQzEes95UDjve3HqKrlTCeLZKSDPMTsn3smzHZqsJj/sWD8wOUkg0RD++B11evyLn2+bIw==" }, "tslib": { - "version": "1.9.1", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.9.1.tgz", - "integrity": "sha512-avfPS28HmGLLc2o4elcc2EIq2FcH++Yo5YxpBZi9Yw93BCTGFthI4HPE4Rpep6vSYQaK8e69PelM44tPj+RaQg==" + "version": "1.9.3", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.9.3.tgz", + "integrity": "sha512-4krF8scpejhaOgqzBEcGM7yDIEfi0/8+8zDRZhNZZ2kjmHJ4hv3zCbQWxoJGz1iw5U0Jl0nma13xzHXcncMavQ==" }, "tslint": { - "version": "5.10.0", - "resolved": "https://registry.npmjs.org/tslint/-/tslint-5.10.0.tgz", - "integrity": "sha1-EeJrzLiK+gLdDZlWyuPUVAtfVMM=", + "version": "5.11.0", + "resolved": "https://registry.npmjs.org/tslint/-/tslint-5.11.0.tgz", + "integrity": "sha1-mPMMAurjzecAYgHkwzywi0hYHu0=", "requires": { "babel-code-frame": "^6.22.0", "builtin-modules": "^1.1.1", @@ -3343,54 +3322,31 @@ "resolve": "^1.3.2", "semver": "^5.3.0", "tslib": "^1.8.0", - "tsutils": "^2.12.1" + "tsutils": "^2.27.2" }, "dependencies": { - "ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "requires": { - "color-convert": "^1.9.0" - } - }, - "chalk": { - "version": "2.4.1", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.1.tgz", - "integrity": "sha512-ObN6h1v2fTJSmUXoS3nMQ92LbDK9be4TV+6G+omQlGJFdcUX5heKi1LZ1YnRMIgwTLEj3E24bT6tYni50rlCfQ==", - "requires": { - "ansi-styles": "^3.2.1", - "escape-string-regexp": "^1.0.5", - "supports-color": "^5.3.0" - } - }, "diff": { "version": "3.5.0", "resolved": "https://registry.npmjs.org/diff/-/diff-3.5.0.tgz", "integrity": "sha512-A46qtFgd+g7pDZinpnwiRJtxbC1hpgf0uzP3iG89scHk0AUC7A1TGxf5OiiOUv/JMZR8GOt8hL900hV0bOy5xA==" - }, - "supports-color": { - "version": "5.4.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.4.0.tgz", - "integrity": "sha512-zjaXglF5nnWpsq470jSv6P9DwPvgLkuapYmfDm3JWOm0vkNTVF2tI4UrN2r6jH1qM/uc/WtxYY1hYoA2dOKj5w==", - "requires": { - "has-flag": "^3.0.0" - } } } }, "tsutils": { - "version": "2.27.1", - "resolved": "https://registry.npmjs.org/tsutils/-/tsutils-2.27.1.tgz", - "integrity": "sha512-AE/7uzp32MmaHvNNFES85hhUDHFdFZp6OAiZcd6y4ZKKIg6orJTm8keYWBhIhrJQH3a4LzNKat7ZPXZt5aTf6w==", + "version": "2.29.0", + "resolved": "https://registry.npmjs.org/tsutils/-/tsutils-2.29.0.tgz", + "integrity": "sha512-g5JVHCIJwzfISaXpXE1qvNalca5Jwob6FjI4AoPlqMusJ6ftFE7IkkFoMhVLRgK+4Kx3gkzb8UZK5t5yTTvEmA==", "requires": { "tslib": "^1.8.1" } }, "tunnel-agent": { - "version": "0.4.3", - "resolved": "https://registry.npmjs.org/tunnel-agent/-/tunnel-agent-0.4.3.tgz", - "integrity": "sha1-Y3PbdpCf5XDgjXNYM2Xtgop07us=" + "version": "0.6.0", + "resolved": "https://registry.npmjs.org/tunnel-agent/-/tunnel-agent-0.6.0.tgz", + "integrity": "sha1-J6XeoGs2sEoKmWZ3SykIaPD8QP0=", + "requires": { + "safe-buffer": "^5.0.1" + } }, "tweetnacl": { "version": "0.14.5", @@ -3413,19 +3369,20 @@ } }, "universalify": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/universalify/-/universalify-0.1.1.tgz", - "integrity": "sha1-+nG63UQ3r0wUiEHjs7Fl+enlkLc=" + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/universalify/-/universalify-0.1.2.tgz", + "integrity": "sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg==" }, "util-deprecate": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", - "integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8=" + "integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8=", + "optional": true }, "uuid": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/uuid/-/uuid-3.2.1.tgz", - "integrity": "sha512-jZnMwlb9Iku/O3smGWvZhauCf6cvvpKi4BKRiliS3cxnI+Gz9j5MEpTz2UFuXiKPJocb7gnsLHwiS05ige5BEA==" + "version": "3.3.2", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-3.3.2.tgz", + "integrity": "sha512-yXJmeNaw3DnnKAOKJE51sL/ZaYfWJRl1pK9dr19YFCu0ObS231AB1/LbqTKRAQ5kw8A90rA6fr4riOUpTZvQZA==" }, "verror": { "version": "1.10.0", @@ -3435,19 +3392,12 @@ "assert-plus": "^1.0.0", "core-util-is": "1.0.2", "extsprintf": "^1.2.0" - }, - "dependencies": { - "assert-plus": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz", - "integrity": "sha1-8S4PPF13sLHN2RRpQuTpbB5N1SU=" - } } }, "which": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/which/-/which-1.3.0.tgz", - "integrity": "sha512-xcJpopdamTuY5duC/KnTTNBraPK54YwpenP4lzxU8H91GudWpFv38u0CKjclE1Wi2EH2EDz5LRcHcKbCIzqGyg==", + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/which/-/which-1.3.1.tgz", + "integrity": "sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ==", "requires": { "isexe": "^2.0.0" } @@ -3457,10 +3407,15 @@ "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=" }, - "xtend": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/xtend/-/xtend-4.0.1.tgz", - "integrity": "sha1-pcbVMr5lbiPbgg77lDofBJmNY68=" + "write-file-atomic": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-2.3.0.tgz", + "integrity": "sha512-xuPeK4OdjWqtfi59ylvVL0Yn35SF3zgcAcv7rBPFHVaEapaDr4GdGgm3j7ckTwH9wHL7fGmgfAnb0+THrHb8tA==", + "requires": { + "graceful-fs": "^4.1.11", + "imurmurhash": "^0.1.4", + "signal-exit": "^3.0.2" + } }, "yallist": { "version": "2.1.2", diff --git a/packages/jsii-pacmak/bin/jsii-pacmak.ts b/packages/jsii-pacmak/bin/jsii-pacmak.ts index 339c0df182..b839e6f4b7 100644 --- a/packages/jsii-pacmak/bin/jsii-pacmak.ts +++ b/packages/jsii-pacmak/bin/jsii-pacmak.ts @@ -122,8 +122,9 @@ import { VERSION_DESC } from '../lib/version'; await updateNpmIgnore(packageDir, npmIgnoreExclude); } - const tarball = await npmPack(packageDir); + const tmpdir = await fs.mkdtemp(path.join(os.tmpdir(), 'npm-pack')); try { + const tarball = await npmPack(packageDir, tmpdir); for (const targetName of targets) { // if we are targeting a single language, output to outdir, otherwise outdir/ const targetOutputDir = targets.length > 1 ? path.join(outDir, targetName) : outDir; @@ -131,8 +132,8 @@ import { VERSION_DESC } from '../lib/version'; await generateTarget(packageDir, targetName, targetOutputDir, tarball); } } finally { - logging.debug(`Removing ${tarball}`); - await fs.remove(tarball); + logging.debug(`Removing ${tmpdir}`); + await fs.remove(tmpdir); } } @@ -175,14 +176,14 @@ import { VERSION_DESC } from '../lib/version'; process.exit(1); }); -async function npmPack(packageDir: string): Promise { - logging.debug(`Running "npm pack" in ${packageDir}`); - const args = [ 'pack' ]; +async function npmPack(packageDir: string, tmpdir: string): Promise { + logging.debug(`Running "npm pack ${packageDir}" in ${tmpdir}`); + const args = [ 'pack', packageDir ]; if (logging.level >= logging.LEVEL_VERBOSE) { args.push('--loglevel=verbose'); } - const out = await shell('npm', [ 'pack' ], { cwd: packageDir }); - return path.resolve(packageDir, out.trim()); + const out = await shell('npm', args, { cwd: tmpdir }); + return path.resolve(tmpdir, out.trim()); } async function updateNpmIgnore(packageDir: string, excludeOutdir: string | undefined) { diff --git a/packages/jsii-pacmak/lib/logging.ts b/packages/jsii-pacmak/lib/logging.ts index a9ac9d9d0b..16c20826dd 100644 --- a/packages/jsii-pacmak/lib/logging.ts +++ b/packages/jsii-pacmak/lib/logging.ts @@ -20,6 +20,7 @@ export function debug(fmt: string, ...args: any[]) { function log(messageLevel: Level, fmt: string, ...args: any[]) { if (level >= messageLevel) { const levelName = Level[messageLevel]; + // tslint:disable-next-line:no-console console.error.call(console, ...[ `[jsii-pacmak] [${levelName}]`, fmt, ...args ]); } } \ No newline at end of file diff --git a/packages/jsii-pacmak/lib/targets/dotnet.ts b/packages/jsii-pacmak/lib/targets/dotnet.ts index ce45b5ee09..53b2550885 100644 --- a/packages/jsii-pacmak/lib/targets/dotnet.ts +++ b/packages/jsii-pacmak/lib/targets/dotnet.ts @@ -1,8 +1,12 @@ import childProcess = require('child_process'); +import fs = require('fs-extra'); import spec = require('jsii-spec'); import path = require('path'); +import xmlbuilder = require('xmlbuilder'); import { IGenerator } from '../generator'; +import logging = require('../logging'); import { Target, TargetOptions } from '../target'; +import { shell } from '../util'; export default class Dotnet extends Target { protected readonly generator = new DotNetGenerator(); @@ -11,9 +15,81 @@ export default class Dotnet extends Target { super(options); } - public build(sourceDir: string, outDir: string) { - // TODO: Actually build! - return this.copyFiles(sourceDir, outDir); + public async build(sourceDir: string, outDir: string): Promise { + await this.generateNuGetConfigForLocalDeps(sourceDir, outDir); + + const pkg = await fs.readJson(path.join(this.packageDir, 'package.json')); + const namespace: string = pkg.jsii.targets.dotnet.namespace; + const project: string = path.join(namespace, `${namespace}.csproj`); + + await shell( + 'dotnet', + [ 'build', project, '-c', 'Release' ], + { cwd: sourceDir } + ); + + await this.copyFiles(path.join(sourceDir, namespace, 'bin', 'Release'), outDir); + await fs.remove(path.join(outDir, 'netstandard2.0')); + } + + private async generateNuGetConfigForLocalDeps(sourceDirectory: string, currentOutputDirectory: string): Promise { + // Traverse the dependency graph of this module and find all modules that have + // an /dotnet directory. We will add those as local NuGet repositories. + // This enables building against local modules. + const localRepos = await this.findLocalDepsOutput(this.packageDir); + + // Add the current output directory as a local repo for the case where we build multiple packages + // into the same output. NuGet throws an error if a source directory doesn't exist, so we check + // before adding it to the list. + if (await fs.pathExists(currentOutputDirectory)) { + localRepos.push(currentOutputDirectory); + } + + // If dotnet-jsonmodel is checked-out and we can find a local repository, add it to the list. + try { + const jsiiDotNetJsonModel = require('jsii-dotnet-jsonmodel'); + const localDotNetJsonModel = jsiiDotNetJsonModel.repository; + if (await fs.pathExists(localDotNetJsonModel)) { + localRepos.push(localDotNetJsonModel); + } + } catch { + // Couldn't locate jsii-dotnet-jsonmodel, which is owkay! + } + + // If dotnet-runtime is checked-out and we can find a local repository, add it to the list. + try { + const jsiiDotNetRuntime = require('jsii-dotnet-runtime'); + const localDotNetRuntime = jsiiDotNetRuntime.repository; + if (await fs.pathExists(localDotNetRuntime)) { + localRepos.push(localDotNetRuntime); + } + } catch { + // Couldn't locate jsii-dotnet-runtime, which is owkay! + } + + logging.debug('local NuGet repos:', localRepos); + + // Construct XML content. + const configuration = xmlbuilder.create('configuration', { encoding: 'UTF-8' }); + const packageSources = configuration.ele('packageSources'); + + const nugetOrgAdd = packageSources.ele('add'); + nugetOrgAdd.att('key', 'nuget.org'); + nugetOrgAdd.att('value', 'https://api.nuget.org/v3/index.json'); + nugetOrgAdd.att('protocolVersion', '3'); + + localRepos.forEach((repo, index) => { + const add = packageSources.ele('add'); + add.att('key', `local-${index}`); + add.att('value', path.join(repo)); + }); + + const xml = configuration.end({ pretty: true }); + + // Write XML content to NuGet.config. + const filePath = path.join(sourceDirectory, 'NuGet.config'); + logging.debug(`Generated ${filePath}`); + await fs.writeFile(filePath, xml); } } diff --git a/packages/jsii-pacmak/package-lock.json b/packages/jsii-pacmak/package-lock.json index e0e308d783..70cade7d3b 100644 --- a/packages/jsii-pacmak/package-lock.json +++ b/packages/jsii-pacmak/package-lock.json @@ -16,9 +16,9 @@ } }, "@types/node": { - "version": "9.6.18", - "resolved": "https://registry.npmjs.org/@types/node/-/node-9.6.18.tgz", - "integrity": "sha512-lywCnJQRSsu0kitHQ5nkb7Ay/ScdJPQjhWRtuf+G1DmNKJnPcdVyP0pYvdiDFKjzReC6NLWLgSyimno3kKfIig==" + "version": "9.6.26", + "resolved": "https://registry.npmjs.org/@types/node/-/node-9.6.26.tgz", + "integrity": "sha512-3LKKscYUZdZreOuvnly8oWsCA1TOWtmkV3mbcUnV34f+nqDWJic+4SGjRi1C/sPHnZcSs/x209O+Dgy8aWHt2A==" }, "@types/nodeunit": { "version": "0.0.30", @@ -35,6 +35,17 @@ "resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-11.1.1.tgz", "integrity": "sha512-Awgju4dqD8kHXX3jc/B/LaryJC7MsyNfnbN62lIbFzTi0GewH64zrkh4bxo/YTgVEK6r9V3GNecxMhXTJw0+jA==" }, + "ajv": { + "version": "5.5.2", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-5.5.2.tgz", + "integrity": "sha1-c7Xuyj+rZT49P5Qis0GtQiBdyWU=", + "requires": { + "co": "^4.6.0", + "fast-deep-equal": "^1.0.0", + "fast-json-stable-stringify": "^2.0.0", + "json-schema-traverse": "^0.3.0" + } + }, "ansi-regex": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz", @@ -54,14 +65,17 @@ } }, "asn1": { - "version": "0.2.3", - "resolved": "https://registry.npmjs.org/asn1/-/asn1-0.2.3.tgz", - "integrity": "sha1-2sh4dxPJlmhJ/IGAd36+nB3fO4Y=" + "version": "0.2.4", + "resolved": "https://registry.npmjs.org/asn1/-/asn1-0.2.4.tgz", + "integrity": "sha512-jxwzQpLQjSmWXgwaCZE9Nz+glAG01yF1QnWgbhGwHI5A6FRIEY6IVqtHhIepHqI7/kyEyQEagBC5mBEFlIYvdg==", + "requires": { + "safer-buffer": "~2.1.0" + } }, "assert-plus": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/assert-plus/-/assert-plus-0.2.0.tgz", - "integrity": "sha1-104bh+ev/A24qttwIfP+SBAasjQ=" + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz", + "integrity": "sha1-8S4PPF13sLHN2RRpQuTpbB5N1SU=" }, "asynckit": { "version": "0.4.0", @@ -69,14 +83,14 @@ "integrity": "sha1-x57Zf380y48robyXkLzDZkdLS3k=" }, "aws-sign2": { - "version": "0.6.0", - "resolved": "https://registry.npmjs.org/aws-sign2/-/aws-sign2-0.6.0.tgz", - "integrity": "sha1-FDQt0428yU0OW4fXY81jYSwOeU8=" + "version": "0.7.0", + "resolved": "https://registry.npmjs.org/aws-sign2/-/aws-sign2-0.7.0.tgz", + "integrity": "sha1-tG6JCTSpWR8tL2+G1+ap8bP+dqg=" }, "aws4": { - "version": "1.7.0", - "resolved": "https://registry.npmjs.org/aws4/-/aws4-1.7.0.tgz", - "integrity": "sha512-32NDda82rhwD9/JBCCkB+MRYDp0oSvlo2IL6rQWA10PQi7tDUM3eqMSltXmY+Oyl/7N3P3qNtAlv7X0d9bI28w==" + "version": "1.8.0", + "resolved": "https://registry.npmjs.org/aws4/-/aws4-1.8.0.tgz", + "integrity": "sha512-ReZxvNHIOv88FlT7rxcXIIC0fPt4KZqZbOlivyWtXLt8ESx84zd3kMC6iK5jVeS2qt+g7ftS7ye4fi06X5rtRQ==" }, "babel-code-frame": { "version": "6.26.0", @@ -86,6 +100,20 @@ "chalk": "^1.1.3", "esutils": "^2.0.2", "js-tokens": "^3.0.2" + }, + "dependencies": { + "chalk": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz", + "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=", + "requires": { + "ansi-styles": "^2.2.1", + "escape-string-regexp": "^1.0.2", + "has-ansi": "^2.0.0", + "strip-ansi": "^3.0.0", + "supports-color": "^2.0.0" + } + } } }, "balanced-match": { @@ -94,32 +122,24 @@ "integrity": "sha1-ibTRmasr7kneFk6gK4nORi1xt2c=" }, "bcrypt-pbkdf": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/bcrypt-pbkdf/-/bcrypt-pbkdf-1.0.1.tgz", - "integrity": "sha1-Y7xdy2EzG5K8Bf1SiVPDNGKgb40=", + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/bcrypt-pbkdf/-/bcrypt-pbkdf-1.0.2.tgz", + "integrity": "sha1-pDAdOJtqQ/m2f/PKEaP2Y342Dp4=", "optional": true, "requires": { "tweetnacl": "^0.14.3" } }, "bind-obj-methods": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/bind-obj-methods/-/bind-obj-methods-1.0.0.tgz", - "integrity": "sha1-T1l5ysFXk633DkiBYeRj4gnKUJw=" + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/bind-obj-methods/-/bind-obj-methods-2.0.0.tgz", + "integrity": "sha512-3/qRXczDi2Cdbz6jE+W3IflJOutRVica8frpBn14de1mBOkzDo+6tY33kNhvkw54Kn3PzRRD2VnGbGPcTAk4sw==" }, "bluebird": { "version": "3.5.1", "resolved": "https://registry.npmjs.org/bluebird/-/bluebird-3.5.1.tgz", "integrity": "sha512-MKiLiV+I1AA596t9w1sQJ8jkiSr5+ZKi0WKrYGUn6d1Fx+Ij4tIj+m2WMQSGczs5jZVxV339chE8iwk6F64wjA==" }, - "boom": { - "version": "2.10.1", - "resolved": "https://registry.npmjs.org/boom/-/boom-2.10.1.tgz", - "integrity": "sha1-OciRjO/1eZ+D+UkqhI9iWt0Mdm8=", - "requires": { - "hoek": "2.x.x" - } - }, "brace-expansion": { "version": "1.1.11", "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", @@ -129,6 +149,11 @@ "concat-map": "0.0.1" } }, + "buffer-from": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.1.tgz", + "integrity": "sha512-MQcXEUbCKtEo7bhqEs6560Hyd4XaovZlO/k9V3hjVUF/zwW7KBVdSK4gIt/bzwS9MbR5qob+F5jusZsb0YQK2A==" + }, "builtin-modules": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/builtin-modules/-/builtin-modules-1.1.1.tgz", @@ -140,20 +165,36 @@ "integrity": "sha1-1UVjW+HjPFQmScaRc+Xeas+uNN0=" }, "caseless": { - "version": "0.11.0", - "resolved": "https://registry.npmjs.org/caseless/-/caseless-0.11.0.tgz", - "integrity": "sha1-cVuW6phBWTzDMGeSP17GDr2k99c=" + "version": "0.12.0", + "resolved": "https://registry.npmjs.org/caseless/-/caseless-0.12.0.tgz", + "integrity": "sha1-G2gcIf+EAzyCZUMJBolCDRhxUdw=" }, "chalk": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz", - "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=", + "version": "2.4.1", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.1.tgz", + "integrity": "sha512-ObN6h1v2fTJSmUXoS3nMQ92LbDK9be4TV+6G+omQlGJFdcUX5heKi1LZ1YnRMIgwTLEj3E24bT6tYni50rlCfQ==", "requires": { - "ansi-styles": "^2.2.1", - "escape-string-regexp": "^1.0.2", - "has-ansi": "^2.0.0", - "strip-ansi": "^3.0.0", - "supports-color": "^2.0.0" + "ansi-styles": "^3.2.1", + "escape-string-regexp": "^1.0.5", + "supports-color": "^5.3.0" + }, + "dependencies": { + "ansi-styles": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", + "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "requires": { + "color-convert": "^1.9.0" + } + }, + "supports-color": { + "version": "5.4.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.4.0.tgz", + "integrity": "sha512-zjaXglF5nnWpsq470jSv6P9DwPvgLkuapYmfDm3JWOm0vkNTVF2tI4UrN2r6jH1qM/uc/WtxYY1hYoA2dOKj5w==", + "requires": { + "has-flag": "^3.0.0" + } + } } }, "clean-yaml-object": { @@ -187,9 +228,14 @@ } }, "clone": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/clone/-/clone-2.1.1.tgz", - "integrity": "sha1-0hfR6WERjjrJpLi7oyhVU79kfNs=" + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/clone/-/clone-2.1.2.tgz", + "integrity": "sha1-G39Ln1kfHo+DZwQBYANFoCiHQ18=" + }, + "co": { + "version": "4.6.0", + "resolved": "https://registry.npmjs.org/co/-/co-4.6.0.tgz", + "integrity": "sha1-bqa989hTrlTMuOR7+gvz+QMfsYQ=" }, "code-point-at": { "version": "1.1.0", @@ -223,9 +269,9 @@ } }, "commander": { - "version": "2.15.1", - "resolved": "https://registry.npmjs.org/commander/-/commander-2.15.1.tgz", - "integrity": "sha512-VlfT9F3V0v+jr4yxPc5gg9s62/fIVWsd2Bk2iD435um1NlGMYdVCq+MjcXnhYq2icNOizHr1kK+5TI6H0Hy0ag==" + "version": "2.17.1", + "resolved": "https://registry.npmjs.org/commander/-/commander-2.17.1.tgz", + "integrity": "sha512-wPMUt6FnH2yzG95SA6mzjQOEKUU3aLaDEmzs1ti+1E9h+CsrZghRlqEM/EJ4KscsQVG8uNN4uVreUeT8+drlgg==" }, "concat-map": { "version": "0.0.1", @@ -238,26 +284,16 @@ "integrity": "sha1-tf1UIgqivFq1eqtxQMlAdUUDwac=" }, "coveralls": { - "version": "2.13.3", - "resolved": "https://registry.npmjs.org/coveralls/-/coveralls-2.13.3.tgz", - "integrity": "sha512-iiAmn+l1XqRwNLXhW8Rs5qHZRFMYp9ZIPjEOVRpC/c4so6Y/f4/lFi0FfR5B9cCqgyhkJ5cZmbvcVRfP8MHchw==", - "requires": { - "js-yaml": "3.6.1", - "lcov-parse": "0.0.10", - "log-driver": "1.2.5", - "minimist": "1.2.0", - "request": "2.79.0" - }, - "dependencies": { - "js-yaml": { - "version": "3.6.1", - "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.6.1.tgz", - "integrity": "sha1-bl/mfYsgXOTSL60Ft3geja3MSzA=", - "requires": { - "argparse": "^1.0.7", - "esprima": "^2.6.0" - } - } + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/coveralls/-/coveralls-3.0.2.tgz", + "integrity": "sha512-Tv0LKe/MkBOilH2v7WBiTBdudg2ChfGbdXafc/s330djpF3zKOmuehTeRwjXWc7pzfj9FrDUTA7tEx6Div8NFw==", + "requires": { + "growl": "~> 1.10.0", + "js-yaml": "^3.11.0", + "lcov-parse": "^0.0.10", + "log-driver": "^1.2.7", + "minimist": "^1.2.0", + "request": "^2.85.0" } }, "cross-spawn": { @@ -269,27 +305,12 @@ "which": "^1.2.9" } }, - "cryptiles": { - "version": "2.0.5", - "resolved": "https://registry.npmjs.org/cryptiles/-/cryptiles-2.0.5.tgz", - "integrity": "sha1-O9/s3GCBR8HGcgL6KR59ylnqo7g=", - "requires": { - "boom": "2.x.x" - } - }, "dashdash": { "version": "1.14.1", "resolved": "https://registry.npmjs.org/dashdash/-/dashdash-1.14.1.tgz", "integrity": "sha1-hTz6D3y+L+1d4gMmuN1YEDX24vA=", "requires": { "assert-plus": "^1.0.0" - }, - "dependencies": { - "assert-plus": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz", - "integrity": "sha1-8S4PPF13sLHN2RRpQuTpbB5N1SU=" - } } }, "debug": { @@ -319,12 +340,13 @@ "integrity": "sha1-fyjS657nsVqX79ic5j3P2qPMur8=" }, "ecc-jsbn": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/ecc-jsbn/-/ecc-jsbn-0.1.1.tgz", - "integrity": "sha1-D8c6ntXw1Tw4GTOYUj735UN3dQU=", + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/ecc-jsbn/-/ecc-jsbn-0.1.2.tgz", + "integrity": "sha1-OoOpBOVDUyh4dMVkt1SThoSamMk=", "optional": true, "requires": { - "jsbn": "~0.1.0" + "jsbn": "~0.1.0", + "safer-buffer": "^2.1.0" } }, "ejs": { @@ -338,9 +360,9 @@ "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=" }, "esprima": { - "version": "2.7.3", - "resolved": "https://registry.npmjs.org/esprima/-/esprima-2.7.3.tgz", - "integrity": "sha1-luO3DVd59q1JzQMmc9HDEnZ7pYE=" + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz", + "integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==" }, "esutils": { "version": "2.0.2", @@ -379,15 +401,25 @@ } }, "extend": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/extend/-/extend-3.0.1.tgz", - "integrity": "sha1-p1Xqe8Gt/MWjHOfnYtuq3F5jZEQ=" + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/extend/-/extend-3.0.2.tgz", + "integrity": "sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g==" }, "extsprintf": { "version": "1.3.0", "resolved": "https://registry.npmjs.org/extsprintf/-/extsprintf-1.3.0.tgz", "integrity": "sha1-lpGEQOMEGnpBT4xS48V06zw+HgU=" }, + "fast-deep-equal": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-1.1.0.tgz", + "integrity": "sha1-wFNHeBfIa1HaqFPIHgWbcz0CNhQ=" + }, + "fast-json-stable-stringify": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.0.0.tgz", + "integrity": "sha1-1RQsDK7msRifh9OnYREGT4bIu/I=" + }, "find-up": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/find-up/-/find-up-3.0.0.tgz", @@ -411,12 +443,12 @@ "integrity": "sha1-+8cfDEGt6zf5bFd60e1C2P2sypE=" }, "form-data": { - "version": "2.1.4", - "resolved": "https://registry.npmjs.org/form-data/-/form-data-2.1.4.tgz", - "integrity": "sha1-M8GDrPGTJ27KqYFDpp6Uv+4XUNE=", + "version": "2.3.2", + "resolved": "https://registry.npmjs.org/form-data/-/form-data-2.3.2.tgz", + "integrity": "sha1-SXBJi+YEwgwAXU9cI67NIda0kJk=", "requires": { "asynckit": "^0.4.0", - "combined-stream": "^1.0.5", + "combined-stream": "1.0.6", "mime-types": "^2.1.12" } }, @@ -445,19 +477,6 @@ "resolved": "https://registry.npmjs.org/function-loop/-/function-loop-1.0.1.tgz", "integrity": "sha1-gHa7MF6OajzO7ikgdl8zDRkPNAw=" }, - "generate-function": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/generate-function/-/generate-function-2.0.0.tgz", - "integrity": "sha1-aFj+fAlpt9TpCTM3ZHrHn2DfvnQ=" - }, - "generate-object-property": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/generate-object-property/-/generate-object-property-1.2.0.tgz", - "integrity": "sha1-nA4cQDCM6AT0eDYYuTf6iPmdUNA=", - "requires": { - "is-property": "^1.0.0" - } - }, "get-caller-file": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-1.0.3.tgz", @@ -474,13 +493,6 @@ "integrity": "sha1-Xv+OPmhNVprkyysSgmBOi6YhSfo=", "requires": { "assert-plus": "^1.0.0" - }, - "dependencies": { - "assert-plus": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz", - "integrity": "sha1-8S4PPF13sLHN2RRpQuTpbB5N1SU=" - } } }, "glob": { @@ -501,15 +513,23 @@ "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.1.11.tgz", "integrity": "sha1-Dovf5NHduIVNZOBOp8AOKgJuVlg=" }, + "growl": { + "version": "1.10.5", + "resolved": "https://registry.npmjs.org/growl/-/growl-1.10.5.tgz", + "integrity": "sha512-qBr4OuELkhPenW6goKVXiv47US3clb3/IbuWF9KNKEijAy9oeHxU9IgzjvJhHkUzhaj7rOUD7+YGWqUjLp5oSA==" + }, + "har-schema": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/har-schema/-/har-schema-2.0.0.tgz", + "integrity": "sha1-qUwiJOvKwEeCoNkDVSHyRzW37JI=" + }, "har-validator": { - "version": "2.0.6", - "resolved": "https://registry.npmjs.org/har-validator/-/har-validator-2.0.6.tgz", - "integrity": "sha1-zcvAgYgmWtEZtqWnyKtw7s+10n0=", + "version": "5.0.3", + "resolved": "https://registry.npmjs.org/har-validator/-/har-validator-5.0.3.tgz", + "integrity": "sha1-ukAsJmGU8VlW7xXg/PJCmT9qff0=", "requires": { - "chalk": "^1.1.1", - "commander": "^2.9.0", - "is-my-json-valid": "^2.12.4", - "pinkie-promise": "^2.0.0" + "ajv": "^5.1.0", + "har-schema": "^2.0.0" } }, "has-ansi": { @@ -525,32 +545,21 @@ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=" }, - "hawk": { - "version": "3.1.3", - "resolved": "https://registry.npmjs.org/hawk/-/hawk-3.1.3.tgz", - "integrity": "sha1-B4REvXwWQLD+VA0sm3PVlnjo4cQ=", - "requires": { - "boom": "2.x.x", - "cryptiles": "2.x.x", - "hoek": "2.x.x", - "sntp": "1.x.x" - } - }, - "hoek": { - "version": "2.16.3", - "resolved": "https://registry.npmjs.org/hoek/-/hoek-2.16.3.tgz", - "integrity": "sha1-ILt0A9POo5jpHcRxCo/xuCdKJe0=" - }, "http-signature": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/http-signature/-/http-signature-1.1.1.tgz", - "integrity": "sha1-33LiZwZs0Kxn+3at+OE0qPvPkb8=", + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/http-signature/-/http-signature-1.2.0.tgz", + "integrity": "sha1-muzZJRFHcvPZW2WmCruPfBj7rOE=", "requires": { - "assert-plus": "^0.2.0", + "assert-plus": "^1.0.0", "jsprim": "^1.2.2", "sshpk": "^1.7.0" } }, + "imurmurhash": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz", + "integrity": "sha1-khi5srkoojixPcT7a21XbyMUU+o=" + }, "inflight": { "version": "1.0.6", "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", @@ -575,28 +584,6 @@ "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz", "integrity": "sha1-o7MKXE8ZkYMWeqq5O+764937ZU8=" }, - "is-my-ip-valid": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-my-ip-valid/-/is-my-ip-valid-1.0.0.tgz", - "integrity": "sha512-gmh/eWXROncUzRnIa1Ubrt5b8ep/MGSnfAUI3aRp+sqTCs1tv1Isl8d8F6JmkN3dXKc3ehZMrtiPN9eL03NuaQ==" - }, - "is-my-json-valid": { - "version": "2.17.2", - "resolved": "https://registry.npmjs.org/is-my-json-valid/-/is-my-json-valid-2.17.2.tgz", - "integrity": "sha512-IBhBslgngMQN8DDSppmgDv7RNrlFotuuDsKcrCP3+HbFaVivIBU7u9oiiErw8sH4ynx3+gOGQ3q2otkgiSi6kg==", - "requires": { - "generate-function": "^2.0.0", - "generate-object-property": "^1.1.0", - "is-my-ip-valid": "^1.0.0", - "jsonpointer": "^4.0.0", - "xtend": "^4.0.0" - } - }, - "is-property": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/is-property/-/is-property-1.0.2.tgz", - "integrity": "sha1-V/4cTkhHTt1lsJkR8msc1Ald2oQ=" - }, "is-stream": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-1.1.0.tgz", @@ -610,7 +597,8 @@ "isarray": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", - "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=" + "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=", + "optional": true }, "isexe": { "version": "2.0.0", @@ -628,19 +616,12 @@ "integrity": "sha1-mGbfOVECEw449/mWvOtlRDIJwls=" }, "js-yaml": { - "version": "3.11.0", - "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.11.0.tgz", - "integrity": "sha512-saJstZWv7oNeOyBh3+Dx1qWzhW0+e6/8eDzo7p5rDFqxntSztloLtuKu+Ejhtq82jsilwOIZYsCz+lIjthg1Hw==", + "version": "3.12.0", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.12.0.tgz", + "integrity": "sha512-PIt2cnwmPfL4hKNwqeiuz4bKfnzHTBv6HyVgjahA6mPLwPDzjDWrplJBMjHUFxku/N3FlmrbyPclad+I+4mJ3A==", "requires": { "argparse": "^1.0.7", "esprima": "^4.0.0" - }, - "dependencies": { - "esprima": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.0.tgz", - "integrity": "sha512-oftTcaMu/EGrEIu904mWteKIv8vMuOgGYo7EhVJJN00R/EED9DCua/xxHRdYnKtcECzVg7xOWhflvJMnqcFZjw==" - } } }, "jsbn": { @@ -654,6 +635,11 @@ "resolved": "https://registry.npmjs.org/json-schema/-/json-schema-0.2.3.tgz", "integrity": "sha1-tIDIkuWaLwWVTOcnvT8qTogvnhM=" }, + "json-schema-traverse": { + "version": "0.3.1", + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.3.1.tgz", + "integrity": "sha1-NJptRMU6Ud6JtAgFxdXlm0F9M0A=" + }, "json-stringify-safe": { "version": "5.0.1", "resolved": "https://registry.npmjs.org/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz", @@ -667,11 +653,6 @@ "graceful-fs": "^4.1.6" } }, - "jsonpointer": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/jsonpointer/-/jsonpointer-4.0.1.tgz", - "integrity": "sha1-T9kss04OnbPInIYi7PUfm5eMbLk=" - }, "jsprim": { "version": "1.4.1", "resolved": "https://registry.npmjs.org/jsprim/-/jsprim-1.4.1.tgz", @@ -681,13 +662,6 @@ "extsprintf": "1.3.0", "json-schema": "0.2.3", "verror": "1.10.0" - }, - "dependencies": { - "assert-plus": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz", - "integrity": "sha1-8S4PPF13sLHN2RRpQuTpbB5N1SU=" - } } }, "lcid": { @@ -713,9 +687,9 @@ } }, "log-driver": { - "version": "1.2.5", - "resolved": "https://registry.npmjs.org/log-driver/-/log-driver-1.2.5.tgz", - "integrity": "sha1-euTsJXMC/XkNVXyxDJcQDYV7AFY=" + "version": "1.2.7", + "resolved": "https://registry.npmjs.org/log-driver/-/log-driver-1.2.7.tgz", + "integrity": "sha512-U7KCmLdqsGHBLeWqYlFA0V0Sl6P08EE1ZrmA9cxjUE0WVqT9qnyVDPz1kzpFEP0jdJuFnasWIfSd7fsaNXkpbg==" }, "lru-cache": { "version": "4.1.3", @@ -735,16 +709,16 @@ } }, "mime-db": { - "version": "1.33.0", - "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.33.0.tgz", - "integrity": "sha512-BHJ/EKruNIqJf/QahvxwQZXKygOQ256myeN/Ew+THcAa5q+PjyTTMMeNQC4DZw5AwfvelsUrA6B67NKMqXDbzQ==" + "version": "1.35.0", + "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.35.0.tgz", + "integrity": "sha512-JWT/IcCTsB0Io3AhWUMjRqucrHSPsSf2xKLaRldJVULioggvkJvggZ3VXNNSRkCddE6D+BUI4HEIZIA2OjwIvg==" }, "mime-types": { - "version": "2.1.18", - "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.18.tgz", - "integrity": "sha512-lc/aahn+t4/SWV/qcmumYjymLsWfN3ELhpmVuUFjgsORruuZPVSwAQryq+HHGvO/SI2KVX26bx+En+zhM8g8hQ==", + "version": "2.1.19", + "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.19.tgz", + "integrity": "sha512-P1tKYHVSZ6uFo26mtnve4HQFE3koh1UWVkp8YUC+ESBHe945xWSoXuHHiGarDqcEZ+whpCDnlNw5LON0kLo+sw==", "requires": { - "mime-db": "~1.33.0" + "mime-db": "~1.35.0" } }, "mimic-fn": { @@ -765,18 +739,49 @@ "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.0.tgz", "integrity": "sha1-o1AIsg9BOD7sH7kU9M1d95omQoQ=" }, + "minipass": { + "version": "2.3.3", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-2.3.3.tgz", + "integrity": "sha512-/jAn9/tEX4gnpyRATxgHEOV6xbcyxgT7iUnxo9Y3+OB0zX00TgKIv/2FZCf5brBbICcwbLqVv2ImjvWWrQMSYw==", + "requires": { + "safe-buffer": "^5.1.2", + "yallist": "^3.0.0" + }, + "dependencies": { + "yallist": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-3.0.2.tgz", + "integrity": "sha1-hFK0u36Dx8GI2AQcGoN8dz1ti7k=" + } + } + }, + "mkdirp": { + "version": "0.5.1", + "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.1.tgz", + "integrity": "sha1-MAV0OOrGz3+MR2fzhkjWaX11yQM=", + "requires": { + "minimist": "0.0.8" + }, + "dependencies": { + "minimist": { + "version": "0.0.8", + "resolved": "https://registry.npmjs.org/minimist/-/minimist-0.0.8.tgz", + "integrity": "sha1-hX/Kv8M5fSYluCKCYuhqp6ARsF0=" + } + } + }, "ms": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=" }, "nodeunit": { - "version": "0.11.2", - "resolved": "https://registry.npmjs.org/nodeunit/-/nodeunit-0.11.2.tgz", - "integrity": "sha512-rlr0Fgd66nLmWwgVFj40TZp5jo47/YqaPQtoHG78mt+DVQhaLhA8EJJYCf2lozgYplPv+jJMLt8bCP34zo05mQ==", + "version": "0.11.3", + "resolved": "https://registry.npmjs.org/nodeunit/-/nodeunit-0.11.3.tgz", + "integrity": "sha512-gDNxrDWpx07BxYNO/jn1UrGI1vNhDQZrIFphbHMcTCDc5mrrqQBWfQMXPHJ5WSgbFwD1D6bv4HOsqtTrPG03AA==", "requires": { "ejs": "^2.5.2", - "tap": "^10.0.2" + "tap": "^12.0.1" } }, "npm-run-path": { @@ -793,9 +798,9 @@ "integrity": "sha1-CXtgK1NCKlIsGvuHkDGDNpQaAR0=" }, "nyc": { - "version": "11.8.0", - "resolved": "https://registry.npmjs.org/nyc/-/nyc-11.8.0.tgz", - "integrity": "sha512-PUFq1PSsx5OinSk5g5aaZygcDdI3QQT5XUlbR9QRMihtMS6w0Gm8xj4BxmKeeAlpQXC5M2DIhH16Y+KejceivQ==", + "version": "11.9.0", + "resolved": "https://registry.npmjs.org/nyc/-/nyc-11.9.0.tgz", + "integrity": "sha512-w8OdJAhXL5izerzZMdqzYKMj/pgHJyY3qEPYBjLLxrhcVoHEY9pU5ENIiZyCgG9OR7x3VcUMoD40o6PtVpfR4g==", "requires": { "archy": "^1.0.0", "arrify": "^1.0.1", @@ -3183,27 +3188,20 @@ "integrity": "sha1-QRyttXTFoUDTpLGRDUDYDMn0C0A=" }, "path-parse": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.5.tgz", - "integrity": "sha1-PBrfhx6pzWyUMbbqK9dKD/BVxME=" - }, - "pinkie": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/pinkie/-/pinkie-2.0.4.tgz", - "integrity": "sha1-clVrgM+g1IqXToDnckjoDtT3+HA=" + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.6.tgz", + "integrity": "sha512-GSmOT2EbHrINBf9SR7CDELwlJ8AENk3Qn7OikK4nFYAu3Ote2+JYNVvkpAEQm3/TLNEJFD/xZJjzyxg3KBWOzw==" }, - "pinkie-promise": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/pinkie-promise/-/pinkie-promise-2.0.1.tgz", - "integrity": "sha1-ITXW36ejWMBprJsXh3YogihFD/o=", - "requires": { - "pinkie": "^2.0.0" - } + "performance-now": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/performance-now/-/performance-now-2.1.0.tgz", + "integrity": "sha1-Ywn04OX6kT7BxpMHrjZLSzd8nns=" }, "process-nextick-args": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.0.tgz", - "integrity": "sha512-MtEC1TqN0EU5nephaJ4rAtThHtC86dNN9qCuEhtshvpVBkAW5ZO7BASN9REnF9eoXGcRub+pFuKEpOHE+HbEMw==" + "integrity": "sha512-MtEC1TqN0EU5nephaJ4rAtThHtC86dNN9qCuEhtshvpVBkAW5ZO7BASN9REnF9eoXGcRub+pFuKEpOHE+HbEMw==", + "optional": true }, "pseudomap": { "version": "1.0.2", @@ -3216,14 +3214,15 @@ "integrity": "sha1-wNWmOycYgArY4esPpSachN1BhF4=" }, "qs": { - "version": "6.3.2", - "resolved": "https://registry.npmjs.org/qs/-/qs-6.3.2.tgz", - "integrity": "sha1-51vV9uJoEioqDgvaYwslUMFmUCw=" + "version": "6.5.2", + "resolved": "https://registry.npmjs.org/qs/-/qs-6.5.2.tgz", + "integrity": "sha512-N5ZAX4/LxJmF+7wN74pUD6qAh9/wnvdQcjq9TZjevvXzSUo7bfmw91saqMjzGS2xq91/odN2dW/WOl7qQHNDGA==" }, "readable-stream": { "version": "2.3.6", "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.6.tgz", "integrity": "sha512-tQtKA9WIAhBF3+VLAseyMqZeBjW0AHJoxOtYqSUZNJxauErmLbVm2FW1y+J/YA9dUrAC39ITejlZWhVIwawkKw==", + "optional": true, "requires": { "core-util-is": "~1.0.0", "inherits": "~2.0.3", @@ -3235,30 +3234,30 @@ } }, "request": { - "version": "2.79.0", - "resolved": "https://registry.npmjs.org/request/-/request-2.79.0.tgz", - "integrity": "sha1-Tf5b9r6LjNw3/Pk+BLZVd3InEN4=", + "version": "2.87.0", + "resolved": "https://registry.npmjs.org/request/-/request-2.87.0.tgz", + "integrity": "sha512-fcogkm7Az5bsS6Sl0sibkbhcKsnyon/jV1kF3ajGmF0c8HrttdKTPRT9hieOaQHA5HEq6r8OyWOo/o781C1tNw==", "requires": { - "aws-sign2": "~0.6.0", - "aws4": "^1.2.1", - "caseless": "~0.11.0", + "aws-sign2": "~0.7.0", + "aws4": "^1.6.0", + "caseless": "~0.12.0", "combined-stream": "~1.0.5", - "extend": "~3.0.0", + "extend": "~3.0.1", "forever-agent": "~0.6.1", - "form-data": "~2.1.1", - "har-validator": "~2.0.6", - "hawk": "~3.1.3", - "http-signature": "~1.1.0", + "form-data": "~2.3.1", + "har-validator": "~5.0.3", + "http-signature": "~1.2.0", "is-typedarray": "~1.0.0", "isstream": "~0.1.2", "json-stringify-safe": "~5.0.1", - "mime-types": "~2.1.7", - "oauth-sign": "~0.8.1", - "qs": "~6.3.0", - "stringstream": "~0.0.4", - "tough-cookie": "~2.3.0", - "tunnel-agent": "~0.4.1", - "uuid": "^3.0.0" + "mime-types": "~2.1.17", + "oauth-sign": "~0.8.2", + "performance-now": "^2.1.0", + "qs": "~6.5.1", + "safe-buffer": "^5.1.1", + "tough-cookie": "~2.3.3", + "tunnel-agent": "^0.6.0", + "uuid": "^3.1.0" } }, "require-directory": { @@ -3279,11 +3278,24 @@ "path-parse": "^1.0.5" } }, + "rimraf": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.6.2.tgz", + "integrity": "sha512-lreewLK/BlghmxtfH36YYVg1i8IAce4TI7oao75I1g245+6BctqTVQiBP3YUJ9C6DQOXJmkYR9X9fCLtCOJc5w==", + "requires": { + "glob": "^7.0.5" + } + }, "safe-buffer": { "version": "5.1.2", "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==" }, + "safer-buffer": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", + "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==" + }, "semver": { "version": "5.5.0", "resolved": "https://registry.npmjs.org/semver/-/semver-5.5.0.tgz", @@ -3312,19 +3324,20 @@ "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.2.tgz", "integrity": "sha1-tf3AjxKH6hF4Yo5BXiUTK3NkbG0=" }, - "sntp": { - "version": "1.0.9", - "resolved": "https://registry.npmjs.org/sntp/-/sntp-1.0.9.tgz", - "integrity": "sha1-ZUEYTMkK7qbG57NeJlkIJEPGYZg=", + "source-map": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==" + }, + "source-map-support": { + "version": "0.5.6", + "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.6.tgz", + "integrity": "sha512-N4KXEz7jcKqPf2b2vZF11lQIz9W5ZMuUcIOGj243lduidkf2fjkVKJS9vNxVWn3u/uxX38AcE8U9nnH9FPcq+g==", "requires": { - "hoek": "2.x.x" + "buffer-from": "^1.0.0", + "source-map": "^0.6.0" } }, - "source-map": { - "version": "0.5.7", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", - "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=" - }, "spdx-license-list": { "version": "4.1.0", "resolved": "https://registry.npmjs.org/spdx-license-list/-/spdx-license-list-4.1.0.tgz", @@ -3336,9 +3349,9 @@ "integrity": "sha1-BOaSb2YolTVPPdAVIDYzuFcpfiw=" }, "sshpk": { - "version": "1.14.1", - "resolved": "https://registry.npmjs.org/sshpk/-/sshpk-1.14.1.tgz", - "integrity": "sha1-Ew9Zde3a2WPx1W+SuaxsUfqfg+s=", + "version": "1.14.2", + "resolved": "https://registry.npmjs.org/sshpk/-/sshpk-1.14.2.tgz", + "integrity": "sha1-xvxhZIo9nE52T9P8306hBeSSupg=", "requires": { "asn1": "~0.2.3", "assert-plus": "^1.0.0", @@ -3347,14 +3360,8 @@ "ecc-jsbn": "~0.1.1", "getpass": "^0.1.1", "jsbn": "~0.1.0", + "safer-buffer": "^2.0.2", "tweetnacl": "~0.14.0" - }, - "dependencies": { - "assert-plus": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz", - "integrity": "sha1-8S4PPF13sLHN2RRpQuTpbB5N1SU=" - } } }, "stack-utils": { @@ -3390,15 +3397,11 @@ "version": "1.1.1", "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", + "optional": true, "requires": { "safe-buffer": "~5.1.0" } }, - "stringstream": { - "version": "0.0.6", - "resolved": "https://registry.npmjs.org/stringstream/-/stringstream-0.0.6.tgz", - "integrity": "sha512-87GEBAkegbBcweToUrdzf3eLhWNg06FJTebl4BVJz/JgWy8CvEr9dRtX5qWphiynMSQlxxi+QqN0z5T32SLlhA==" - }, "strip-ansi": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz", @@ -3418,46 +3421,39 @@ "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=" }, "tap": { - "version": "10.7.3", - "resolved": "https://registry.npmjs.org/tap/-/tap-10.7.3.tgz", - "integrity": "sha512-oS/FIq+tcmxVgYn5usKtLsX+sOHNEj+G7JIQE9SBjO5mVYB1rbaEJJiDbnYp8k0ZqY2Pe4HbYEpkvzm9jfLDyw==", + "version": "12.0.1", + "resolved": "https://registry.npmjs.org/tap/-/tap-12.0.1.tgz", + "integrity": "sha512-iEJytWaZy8risvfRjuV4+ST+Lrrui/MW2ZCWn01ZaMn0NKFej4+PpBy6bXGOg9+cEGNmI7d3Sdka/zTUZUGidA==", "requires": { - "bind-obj-methods": "^1.0.0", + "bind-obj-methods": "^2.0.0", "bluebird": "^3.5.1", "clean-yaml-object": "^0.1.0", "color-support": "^1.1.0", - "coveralls": "^2.13.3", + "coveralls": "^3.0.1", "foreground-child": "^1.3.3", "fs-exists-cached": "^1.0.0", "function-loop": "^1.0.1", "glob": "^7.0.0", "isexe": "^2.0.0", - "js-yaml": "^3.10.0", - "nyc": "^11.3.0", + "js-yaml": "^3.11.0", + "minipass": "^2.3.0", + "mkdirp": "^0.5.1", + "nyc": "^11.8.0", "opener": "^1.4.1", "os-homedir": "^1.0.2", "own-or": "^1.0.0", - "own-or-env": "^1.0.0", - "readable-stream": "^2.3.2", + "own-or-env": "^1.0.1", + "rimraf": "^2.6.2", "signal-exit": "^3.0.0", - "source-map-support": "^0.4.18", + "source-map-support": "^0.5.6", "stack-utils": "^1.0.0", - "tap-mocha-reporter": "^3.0.6", - "tap-parser": "^5.3.1", - "tmatch": "^3.1.0", + "tap-mocha-reporter": "^3.0.7", + "tap-parser": "^7.0.0", + "tmatch": "^4.0.0", "trivial-deferred": "^1.0.1", - "tsame": "^1.1.2", + "tsame": "^2.0.0", + "write-file-atomic": "^2.3.0", "yapool": "^1.0.0" - }, - "dependencies": { - "source-map-support": { - "version": "0.4.18", - "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.4.18.tgz", - "integrity": "sha512-try0/JqxPLF9nOjvSta7tVondkP5dwgyLDjVoyMDlmjugT2lRZ1OfsrYTkCd2hkDnJTKRbO/Rl3orm8vlsUzbA==", - "requires": { - "source-map": "^0.5.6" - } - } } }, "tap-mocha-reporter": { @@ -3474,22 +3470,34 @@ "readable-stream": "^2.1.5", "tap-parser": "^5.1.0", "unicode-length": "^1.0.0" + }, + "dependencies": { + "tap-parser": { + "version": "5.4.0", + "resolved": "https://registry.npmjs.org/tap-parser/-/tap-parser-5.4.0.tgz", + "integrity": "sha512-BIsIaGqv7uTQgTW1KLTMNPSEQf4zDDPgYOBRdgOfuB+JFOLRBfEu6cLa/KvMvmqggu1FKXDfitjLwsq4827RvA==", + "requires": { + "events-to-array": "^1.0.1", + "js-yaml": "^3.2.7", + "readable-stream": "^2" + } + } } }, "tap-parser": { - "version": "5.4.0", - "resolved": "https://registry.npmjs.org/tap-parser/-/tap-parser-5.4.0.tgz", - "integrity": "sha512-BIsIaGqv7uTQgTW1KLTMNPSEQf4zDDPgYOBRdgOfuB+JFOLRBfEu6cLa/KvMvmqggu1FKXDfitjLwsq4827RvA==", + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/tap-parser/-/tap-parser-7.0.0.tgz", + "integrity": "sha512-05G8/LrzqOOFvZhhAk32wsGiPZ1lfUrl+iV7+OkKgfofZxiceZWMHkKmow71YsyVQ8IvGBP2EjcIjE5gL4l5lA==", "requires": { "events-to-array": "^1.0.1", "js-yaml": "^3.2.7", - "readable-stream": "^2" + "minipass": "^2.2.0" } }, "tmatch": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/tmatch/-/tmatch-3.1.0.tgz", - "integrity": "sha512-W3MSATOCN4pVu2qFxmJLIArSifeSOFqnfx9hiUaVgOmeRoI2NbU7RNga+6G+L8ojlFeQge+ZPCclWyUpQ8UeNQ==" + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/tmatch/-/tmatch-4.0.0.tgz", + "integrity": "sha512-Ynn2Gsp+oCvYScQXeV+cCs7citRDilq0qDXA6tuvFwDgiYyyaq7D5vKUlAPezzZR5NDobc/QMeN6e5guOYmvxg==" }, "tough-cookie": { "version": "2.3.4", @@ -3505,9 +3513,9 @@ "integrity": "sha1-N21NKdlR1jaKb3oK6FwvTV4GWPM=" }, "tsame": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/tsame/-/tsame-1.1.2.tgz", - "integrity": "sha512-ovCs24PGjmByVPr9tSIOs/yjUX9sJl0grEmOsj9dZA/UknQkgPOKcUqM84aSCvt9awHuhc/boMzTg3BHFalxWw==" + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/tsame/-/tsame-2.0.0.tgz", + "integrity": "sha512-dAuzcnOPdqZYojylFQzEes95UDjve3HqKrlTCeLZKSDPMTsn3smzHZqsJj/sWD8wOUkg0RD++B11evyLn2+bIw==" }, "tslib": { "version": "1.9.3", @@ -3515,9 +3523,9 @@ "integrity": "sha512-4krF8scpejhaOgqzBEcGM7yDIEfi0/8+8zDRZhNZZ2kjmHJ4hv3zCbQWxoJGz1iw5U0Jl0nma13xzHXcncMavQ==" }, "tslint": { - "version": "5.10.0", - "resolved": "https://registry.npmjs.org/tslint/-/tslint-5.10.0.tgz", - "integrity": "sha1-EeJrzLiK+gLdDZlWyuPUVAtfVMM=", + "version": "5.11.0", + "resolved": "https://registry.npmjs.org/tslint/-/tslint-5.11.0.tgz", + "integrity": "sha1-mPMMAurjzecAYgHkwzywi0hYHu0=", "requires": { "babel-code-frame": "^6.22.0", "builtin-modules": "^1.1.1", @@ -3530,54 +3538,31 @@ "resolve": "^1.3.2", "semver": "^5.3.0", "tslib": "^1.8.0", - "tsutils": "^2.12.1" + "tsutils": "^2.27.2" }, "dependencies": { - "ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "requires": { - "color-convert": "^1.9.0" - } - }, - "chalk": { - "version": "2.4.1", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.1.tgz", - "integrity": "sha512-ObN6h1v2fTJSmUXoS3nMQ92LbDK9be4TV+6G+omQlGJFdcUX5heKi1LZ1YnRMIgwTLEj3E24bT6tYni50rlCfQ==", - "requires": { - "ansi-styles": "^3.2.1", - "escape-string-regexp": "^1.0.5", - "supports-color": "^5.3.0" - } - }, "diff": { "version": "3.5.0", "resolved": "https://registry.npmjs.org/diff/-/diff-3.5.0.tgz", "integrity": "sha512-A46qtFgd+g7pDZinpnwiRJtxbC1hpgf0uzP3iG89scHk0AUC7A1TGxf5OiiOUv/JMZR8GOt8hL900hV0bOy5xA==" - }, - "supports-color": { - "version": "5.4.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.4.0.tgz", - "integrity": "sha512-zjaXglF5nnWpsq470jSv6P9DwPvgLkuapYmfDm3JWOm0vkNTVF2tI4UrN2r6jH1qM/uc/WtxYY1hYoA2dOKj5w==", - "requires": { - "has-flag": "^3.0.0" - } } } }, "tsutils": { - "version": "2.27.2", - "resolved": "https://registry.npmjs.org/tsutils/-/tsutils-2.27.2.tgz", - "integrity": "sha512-qf6rmT84TFMuxAKez2pIfR8UCai49iQsfB7YWVjV1bKpy/d0PWT5rEOSM6La9PiHZ0k1RRZQiwVdVJfQ3BPHgg==", + "version": "2.29.0", + "resolved": "https://registry.npmjs.org/tsutils/-/tsutils-2.29.0.tgz", + "integrity": "sha512-g5JVHCIJwzfISaXpXE1qvNalca5Jwob6FjI4AoPlqMusJ6ftFE7IkkFoMhVLRgK+4Kx3gkzb8UZK5t5yTTvEmA==", "requires": { "tslib": "^1.8.1" } }, "tunnel-agent": { - "version": "0.4.3", - "resolved": "https://registry.npmjs.org/tunnel-agent/-/tunnel-agent-0.4.3.tgz", - "integrity": "sha1-Y3PbdpCf5XDgjXNYM2Xtgop07us=" + "version": "0.6.0", + "resolved": "https://registry.npmjs.org/tunnel-agent/-/tunnel-agent-0.6.0.tgz", + "integrity": "sha1-J6XeoGs2sEoKmWZ3SykIaPD8QP0=", + "requires": { + "safe-buffer": "^5.0.1" + } }, "tweetnacl": { "version": "0.14.5", @@ -3600,19 +3585,20 @@ } }, "universalify": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/universalify/-/universalify-0.1.1.tgz", - "integrity": "sha1-+nG63UQ3r0wUiEHjs7Fl+enlkLc=" + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/universalify/-/universalify-0.1.2.tgz", + "integrity": "sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg==" }, "util-deprecate": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", - "integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8=" + "integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8=", + "optional": true }, "uuid": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/uuid/-/uuid-3.2.1.tgz", - "integrity": "sha512-jZnMwlb9Iku/O3smGWvZhauCf6cvvpKi4BKRiliS3cxnI+Gz9j5MEpTz2UFuXiKPJocb7gnsLHwiS05ige5BEA==" + "version": "3.3.2", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-3.3.2.tgz", + "integrity": "sha512-yXJmeNaw3DnnKAOKJE51sL/ZaYfWJRl1pK9dr19YFCu0ObS231AB1/LbqTKRAQ5kw8A90rA6fr4riOUpTZvQZA==" }, "verror": { "version": "1.10.0", @@ -3622,19 +3608,12 @@ "assert-plus": "^1.0.0", "core-util-is": "1.0.2", "extsprintf": "^1.2.0" - }, - "dependencies": { - "assert-plus": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz", - "integrity": "sha1-8S4PPF13sLHN2RRpQuTpbB5N1SU=" - } } }, "which": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/which/-/which-1.3.0.tgz", - "integrity": "sha512-xcJpopdamTuY5duC/KnTTNBraPK54YwpenP4lzxU8H91GudWpFv38u0CKjclE1Wi2EH2EDz5LRcHcKbCIzqGyg==", + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/which/-/which-1.3.1.tgz", + "integrity": "sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ==", "requires": { "isexe": "^2.0.0" } @@ -3678,6 +3657,16 @@ "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=" }, + "write-file-atomic": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-2.3.0.tgz", + "integrity": "sha512-xuPeK4OdjWqtfi59ylvVL0Yn35SF3zgcAcv7rBPFHVaEapaDr4GdGgm3j7ckTwH9wHL7fGmgfAnb0+THrHb8tA==", + "requires": { + "graceful-fs": "^4.1.11", + "imurmurhash": "^0.1.4", + "signal-exit": "^3.0.2" + } + }, "xmlbuilder": { "version": "10.0.0", "resolved": "https://registry.npmjs.org/xmlbuilder/-/xmlbuilder-10.0.0.tgz", @@ -3688,11 +3677,6 @@ "resolved": "https://registry.npmjs.org/xregexp/-/xregexp-4.0.0.tgz", "integrity": "sha512-PHyM+sQouu7xspQQwELlGwwd05mXUFqwFYfqPO0cC7x4fxyHnnuetmQr6CjJiafIDoH4MogHb9dOoJzR/Y4rFg==" }, - "xtend": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/xtend/-/xtend-4.0.1.tgz", - "integrity": "sha1-pcbVMr5lbiPbgg77lDofBJmNY68=" - }, "y18n": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/y18n/-/y18n-4.0.0.tgz", diff --git a/packages/jsii-pacmak/package.json b/packages/jsii-pacmak/package.json index f964258808..b9a8e46a23 100644 --- a/packages/jsii-pacmak/package.json +++ b/packages/jsii-pacmak/package.json @@ -23,6 +23,10 @@ "clone": "^2.1.1", "codemaker": "^0.6.2", "fs-extra": "^4.0.3", + "jsii-dotnet-generator": "^0.6.2", + "jsii-dotnet-jsonmodel": "^0.6.2", + "jsii-dotnet-runtime": "^0.6.2", + "jsii-java-runtime": "^0.6.2", "jsii-spec": "^0.6.2", "spdx-license-list": "^4.1.0", "xmlbuilder": "^10.0.0", diff --git a/packages/jsii-pacmak/test/expected.jsii-calc-base/dotnet/Amazon.JSII.Tests.Calculator.Base/Amazon.JSII.Tests.Calculator.Base.csproj b/packages/jsii-pacmak/test/expected.jsii-calc-base/dotnet/Amazon.JSII.Tests.Calculator.Base/Amazon.JSII.Tests.Calculator.Base.csproj index 5a9b16a2c2..73725fb9b5 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc-base/dotnet/Amazon.JSII.Tests.Calculator.Base/Amazon.JSII.Tests.Calculator.Base.csproj +++ b/packages/jsii-pacmak/test/expected.jsii-calc-base/dotnet/Amazon.JSII.Tests.Calculator.Base/Amazon.JSII.Tests.Calculator.Base.csproj @@ -11,8 +11,6 @@ - - - + \ No newline at end of file diff --git a/packages/jsii-pacmak/test/expected.jsii-calc-base/dotnet/Amazon.JSII.Tests.Calculator.Base/AssemblyInfo.cs b/packages/jsii-pacmak/test/expected.jsii-calc-base/dotnet/Amazon.JSII.Tests.Calculator.Base/AssemblyInfo.cs index 8c05793421..d96356fd30 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc-base/dotnet/Amazon.JSII.Tests.Calculator.Base/AssemblyInfo.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc-base/dotnet/Amazon.JSII.Tests.Calculator.Base/AssemblyInfo.cs @@ -1,3 +1,3 @@ -using Amazon.JSII.Runtime.Deputy; - +using Amazon.JSII.Runtime.Deputy; + [assembly: JsiiAssembly("@scope/jsii-calc-base", "0.6.2", "scope-jsii-calc-base-0.6.2.tgz")] \ No newline at end of file diff --git a/packages/jsii-pacmak/test/expected.jsii-calc-base/dotnet/Amazon.JSII.Tests.Calculator.Base/BaseProps.cs b/packages/jsii-pacmak/test/expected.jsii-calc-base/dotnet/Amazon.JSII.Tests.Calculator.Base/BaseProps.cs index d7df096c88..a12f87e754 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc-base/dotnet/Amazon.JSII.Tests.Calculator.Base/BaseProps.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc-base/dotnet/Amazon.JSII.Tests.Calculator.Base/BaseProps.cs @@ -1,22 +1,22 @@ -using Amazon.JSII.Runtime.Deputy; -using Amazon.JSII.Tests.Calculator.BaseOfBase; - -namespace Amazon.JSII.Tests.Calculator.Base -{ - public class BaseProps : DeputyBase, IBaseProps - { - [JsiiProperty("bar", "{\"primitive\":\"string\"}", true)] - public string Bar - { - get; - set; - } - - [JsiiProperty("foo", "{\"fqn\":\"@scope/jsii-calc-base-of-base.Very\"}", true)] - public Very Foo - { - get; - set; - } - } +using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Tests.Calculator.BaseOfBase; + +namespace Amazon.JSII.Tests.Calculator.Base +{ + public class BaseProps : DeputyBase, IBaseProps + { + [JsiiProperty("bar", "{\"primitive\":\"string\"}", true)] + public string Bar + { + get; + set; + } + + [JsiiProperty("foo", "{\"fqn\":\"@scope/jsii-calc-base-of-base.Very\"}", true)] + public Very Foo + { + get; + set; + } + } } \ No newline at end of file diff --git a/packages/jsii-pacmak/test/expected.jsii-calc-base/dotnet/Amazon.JSII.Tests.Calculator.Base/BasePropsProxy.cs b/packages/jsii-pacmak/test/expected.jsii-calc-base/dotnet/Amazon.JSII.Tests.Calculator.Base/BasePropsProxy.cs index 6e6775d774..c33d4cfa75 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc-base/dotnet/Amazon.JSII.Tests.Calculator.Base/BasePropsProxy.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc-base/dotnet/Amazon.JSII.Tests.Calculator.Base/BasePropsProxy.cs @@ -1,27 +1,27 @@ -using Amazon.JSII.Runtime.Deputy; -using Amazon.JSII.Tests.Calculator.BaseOfBase; - -namespace Amazon.JSII.Tests.Calculator.Base -{ - [JsiiInterfaceProxy(typeof(IBaseProps), "@scope/jsii-calc-base.BaseProps")] - internal class BasePropsProxy : DeputyBase, IBaseProps - { - private BasePropsProxy(ByRefValue reference): base(reference) - { - } - - [JsiiProperty("bar", "{\"primitive\":\"string\"}")] - public virtual string Bar - { - get => GetInstanceProperty(); - set => SetInstanceProperty(value); - } - - [JsiiProperty("foo", "{\"fqn\":\"@scope/jsii-calc-base-of-base.Very\"}")] - public virtual Very Foo - { - get => GetInstanceProperty(); - set => SetInstanceProperty(value); - } - } +using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Tests.Calculator.BaseOfBase; + +namespace Amazon.JSII.Tests.Calculator.Base +{ + [JsiiInterfaceProxy(typeof(IBaseProps), "@scope/jsii-calc-base.BaseProps")] + internal class BasePropsProxy : DeputyBase, IBaseProps + { + private BasePropsProxy(ByRefValue reference): base(reference) + { + } + + [JsiiProperty("bar", "{\"primitive\":\"string\"}")] + public virtual string Bar + { + get => GetInstanceProperty(); + set => SetInstanceProperty(value); + } + + [JsiiProperty("foo", "{\"fqn\":\"@scope/jsii-calc-base-of-base.Very\"}")] + public virtual Very Foo + { + get => GetInstanceProperty(); + set => SetInstanceProperty(value); + } + } } \ No newline at end of file diff --git a/packages/jsii-pacmak/test/expected.jsii-calc-base/dotnet/Amazon.JSII.Tests.Calculator.Base/Base_.cs b/packages/jsii-pacmak/test/expected.jsii-calc-base/dotnet/Amazon.JSII.Tests.Calculator.Base/Base_.cs index 0726831fe9..16fed2e836 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc-base/dotnet/Amazon.JSII.Tests.Calculator.Base/Base_.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc-base/dotnet/Amazon.JSII.Tests.Calculator.Base/Base_.cs @@ -1,28 +1,28 @@ -using Amazon.JSII.Runtime.Deputy; - -namespace Amazon.JSII.Tests.Calculator.Base -{ +using Amazon.JSII.Runtime.Deputy; + +namespace Amazon.JSII.Tests.Calculator.Base +{ /// A base class. - [JsiiClass(typeof(Base_), "@scope/jsii-calc-base.Base", "[]")] - public abstract class Base_ : DeputyBase - { - protected Base_(): base(new DeputyProps(new object[]{})) - { - } - - protected Base_(ByRefValue reference): base(reference) - { - } - - protected Base_(DeputyProps props): base(props) - { - } - + [JsiiClass(typeof(Base_), "@scope/jsii-calc-base.Base", "[]")] + public abstract class Base_ : DeputyBase + { + protected Base_(): base(new DeputyProps(new object[]{})) + { + } + + protected Base_(ByRefValue reference): base(reference) + { + } + + protected Base_(DeputyProps props): base(props) + { + } + /// the name of the class (to verify native type names are created for derived classes). - [JsiiMethod("typeName", "{\"primitive\":\"any\"}", "[]")] - public virtual object TypeName() - { - return InvokeInstanceMethod(new object[]{}); - } - } + [JsiiMethod("typeName", "{\"primitive\":\"any\"}", "[]")] + public virtual object TypeName() + { + return InvokeInstanceMethod(new object[]{}); + } + } } \ No newline at end of file diff --git a/packages/jsii-pacmak/test/expected.jsii-calc-base/dotnet/Amazon.JSII.Tests.Calculator.Base/IBaseProps.cs b/packages/jsii-pacmak/test/expected.jsii-calc-base/dotnet/Amazon.JSII.Tests.Calculator.Base/IBaseProps.cs index 21f52bbca4..2c4f062285 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc-base/dotnet/Amazon.JSII.Tests.Calculator.Base/IBaseProps.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc-base/dotnet/Amazon.JSII.Tests.Calculator.Base/IBaseProps.cs @@ -1,16 +1,16 @@ -using Amazon.JSII.Runtime.Deputy; -using Amazon.JSII.Tests.Calculator.BaseOfBase; - -namespace Amazon.JSII.Tests.Calculator.Base -{ - [JsiiInterface(typeof(IBaseProps), "@scope/jsii-calc-base.BaseProps")] - public interface IBaseProps : IVeryBaseProps - { - [JsiiProperty("bar", "{\"primitive\":\"string\"}")] - string Bar - { - get; - set; - } - } +using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Tests.Calculator.BaseOfBase; + +namespace Amazon.JSII.Tests.Calculator.Base +{ + [JsiiInterface(typeof(IBaseProps), "@scope/jsii-calc-base.BaseProps")] + public interface IBaseProps : IVeryBaseProps + { + [JsiiProperty("bar", "{\"primitive\":\"string\"}")] + string Bar + { + get; + set; + } + } } \ No newline at end of file diff --git a/packages/jsii-pacmak/test/expected.jsii-calc-lib/dotnet/Amazon.JSII.Tests.Calculator.Lib/Amazon.JSII.Tests.Calculator.Lib.csproj b/packages/jsii-pacmak/test/expected.jsii-calc-lib/dotnet/Amazon.JSII.Tests.Calculator.Lib/Amazon.JSII.Tests.Calculator.Lib.csproj index bc3865c030..e60aad921a 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc-lib/dotnet/Amazon.JSII.Tests.Calculator.Lib/Amazon.JSII.Tests.Calculator.Lib.csproj +++ b/packages/jsii-pacmak/test/expected.jsii-calc-lib/dotnet/Amazon.JSII.Tests.Calculator.Lib/Amazon.JSII.Tests.Calculator.Lib.csproj @@ -11,9 +11,7 @@ - - - - + + \ No newline at end of file diff --git a/packages/jsii-pacmak/test/expected.jsii-calc-lib/dotnet/Amazon.JSII.Tests.Calculator.Lib/AssemblyInfo.cs b/packages/jsii-pacmak/test/expected.jsii-calc-lib/dotnet/Amazon.JSII.Tests.Calculator.Lib/AssemblyInfo.cs index e8307152c5..d17499f76c 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc-lib/dotnet/Amazon.JSII.Tests.Calculator.Lib/AssemblyInfo.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc-lib/dotnet/Amazon.JSII.Tests.Calculator.Lib/AssemblyInfo.cs @@ -1,3 +1,3 @@ -using Amazon.JSII.Runtime.Deputy; - +using Amazon.JSII.Runtime.Deputy; + [assembly: JsiiAssembly("@scope/jsii-calc-lib", "0.6.2", "scope-jsii-calc-lib-0.6.2.tgz")] \ No newline at end of file diff --git a/packages/jsii-pacmak/test/expected.jsii-calc-lib/dotnet/Amazon.JSII.Tests.Calculator.Lib/IFriendlyProxy.cs b/packages/jsii-pacmak/test/expected.jsii-calc-lib/dotnet/Amazon.JSII.Tests.Calculator.Lib/IFriendlyProxy.cs index 9a4636639a..bd58c33405 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc-lib/dotnet/Amazon.JSII.Tests.Calculator.Lib/IFriendlyProxy.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc-lib/dotnet/Amazon.JSII.Tests.Calculator.Lib/IFriendlyProxy.cs @@ -1,23 +1,23 @@ -using Amazon.JSII.Runtime.Deputy; - -namespace Amazon.JSII.Tests.Calculator.Lib -{ - /// - /// Applies to classes that are considered friendly. These classes can be greeted with +using Amazon.JSII.Runtime.Deputy; + +namespace Amazon.JSII.Tests.Calculator.Lib +{ + /// + /// Applies to classes that are considered friendly. These classes can be greeted with /// a "hello" or "goodbye" blessing and they will respond back in a fun and friendly manner. /// - [JsiiInterfaceProxy(typeof(IIFriendly), "@scope/jsii-calc-lib.IFriendly")] - internal class IFriendlyProxy : DeputyBase, IIFriendly - { - private IFriendlyProxy(ByRefValue reference): base(reference) - { - } - + [JsiiInterfaceProxy(typeof(IIFriendly), "@scope/jsii-calc-lib.IFriendly")] + internal class IFriendlyProxy : DeputyBase, IIFriendly + { + private IFriendlyProxy(ByRefValue reference): base(reference) + { + } + /// Say hello! - [JsiiMethod("hello", "{\"primitive\":\"string\"}", "[]")] - public virtual string Hello() - { - return InvokeInstanceMethod(new object[]{}); - } - } + [JsiiMethod("hello", "{\"primitive\":\"string\"}", "[]")] + public virtual string Hello() + { + return InvokeInstanceMethod(new object[]{}); + } + } } \ No newline at end of file diff --git a/packages/jsii-pacmak/test/expected.jsii-calc-lib/dotnet/Amazon.JSII.Tests.Calculator.Lib/IIFriendly.cs b/packages/jsii-pacmak/test/expected.jsii-calc-lib/dotnet/Amazon.JSII.Tests.Calculator.Lib/IIFriendly.cs index 6acbd02c56..9d9be8fbc3 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc-lib/dotnet/Amazon.JSII.Tests.Calculator.Lib/IIFriendly.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc-lib/dotnet/Amazon.JSII.Tests.Calculator.Lib/IIFriendly.cs @@ -1,16 +1,16 @@ -using Amazon.JSII.Runtime.Deputy; - -namespace Amazon.JSII.Tests.Calculator.Lib -{ - /// - /// Applies to classes that are considered friendly. These classes can be greeted with +using Amazon.JSII.Runtime.Deputy; + +namespace Amazon.JSII.Tests.Calculator.Lib +{ + /// + /// Applies to classes that are considered friendly. These classes can be greeted with /// a "hello" or "goodbye" blessing and they will respond back in a fun and friendly manner. /// - [JsiiInterface(typeof(IIFriendly), "@scope/jsii-calc-lib.IFriendly")] - public interface IIFriendly - { + [JsiiInterface(typeof(IIFriendly), "@scope/jsii-calc-lib.IFriendly")] + public interface IIFriendly + { /// Say hello! - [JsiiMethod("hello", "{\"primitive\":\"string\"}", "[]")] - string Hello(); - } + [JsiiMethod("hello", "{\"primitive\":\"string\"}", "[]")] + string Hello(); + } } \ No newline at end of file diff --git a/packages/jsii-pacmak/test/expected.jsii-calc-lib/dotnet/Amazon.JSII.Tests.Calculator.Lib/IMyFirstStruct.cs b/packages/jsii-pacmak/test/expected.jsii-calc-lib/dotnet/Amazon.JSII.Tests.Calculator.Lib/IMyFirstStruct.cs index ca6bfc08b4..a79d406730 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc-lib/dotnet/Amazon.JSII.Tests.Calculator.Lib/IMyFirstStruct.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc-lib/dotnet/Amazon.JSII.Tests.Calculator.Lib/IMyFirstStruct.cs @@ -1,32 +1,32 @@ -using Amazon.JSII.Runtime.Deputy; - -namespace Amazon.JSII.Tests.Calculator.Lib -{ +using Amazon.JSII.Runtime.Deputy; + +namespace Amazon.JSII.Tests.Calculator.Lib +{ /// This is the first struct we have created in jsii - [JsiiInterface(typeof(IMyFirstStruct), "@scope/jsii-calc-lib.MyFirstStruct")] - public interface IMyFirstStruct - { + [JsiiInterface(typeof(IMyFirstStruct), "@scope/jsii-calc-lib.MyFirstStruct")] + public interface IMyFirstStruct + { /// A string value - [JsiiProperty("astring", "{\"primitive\":\"string\"}")] - string Astring - { - get; - set; - } - + [JsiiProperty("astring", "{\"primitive\":\"string\"}")] + string Astring + { + get; + set; + } + /// An awesome number value - [JsiiProperty("anumber", "{\"primitive\":\"number\"}")] - double Anumber - { - get; - set; - } - - [JsiiProperty("firstOptional", "{\"collection\":{\"kind\":\"array\",\"elementtype\":{\"primitive\":\"string\"}},\"optional\":true}")] - string[] FirstOptional - { - get; - set; - } - } + [JsiiProperty("anumber", "{\"primitive\":\"number\"}")] + double Anumber + { + get; + set; + } + + [JsiiProperty("firstOptional", "{\"collection\":{\"kind\":\"array\",\"elementtype\":{\"primitive\":\"string\"}},\"optional\":true}")] + string[] FirstOptional + { + get; + set; + } + } } \ No newline at end of file diff --git a/packages/jsii-pacmak/test/expected.jsii-calc-lib/dotnet/Amazon.JSII.Tests.Calculator.Lib/IStructWithOnlyOptionals.cs b/packages/jsii-pacmak/test/expected.jsii-calc-lib/dotnet/Amazon.JSII.Tests.Calculator.Lib/IStructWithOnlyOptionals.cs index 4910e4ad1a..9a8847b67d 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc-lib/dotnet/Amazon.JSII.Tests.Calculator.Lib/IStructWithOnlyOptionals.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc-lib/dotnet/Amazon.JSII.Tests.Calculator.Lib/IStructWithOnlyOptionals.cs @@ -1,31 +1,31 @@ -using Amazon.JSII.Runtime.Deputy; - -namespace Amazon.JSII.Tests.Calculator.Lib -{ +using Amazon.JSII.Runtime.Deputy; + +namespace Amazon.JSII.Tests.Calculator.Lib +{ /// This is a struct with only optional properties. - [JsiiInterface(typeof(IStructWithOnlyOptionals), "@scope/jsii-calc-lib.StructWithOnlyOptionals")] - public interface IStructWithOnlyOptionals - { + [JsiiInterface(typeof(IStructWithOnlyOptionals), "@scope/jsii-calc-lib.StructWithOnlyOptionals")] + public interface IStructWithOnlyOptionals + { /// The first optional! - [JsiiProperty("optional1", "{\"primitive\":\"string\",\"optional\":true}")] - string Optional1 - { - get; - set; - } - - [JsiiProperty("optional2", "{\"primitive\":\"number\",\"optional\":true}")] - double? Optional2 - { - get; - set; - } - - [JsiiProperty("optional3", "{\"primitive\":\"boolean\",\"optional\":true}")] - bool? Optional3 - { - get; - set; - } - } + [JsiiProperty("optional1", "{\"primitive\":\"string\",\"optional\":true}")] + string Optional1 + { + get; + set; + } + + [JsiiProperty("optional2", "{\"primitive\":\"number\",\"optional\":true}")] + double? Optional2 + { + get; + set; + } + + [JsiiProperty("optional3", "{\"primitive\":\"boolean\",\"optional\":true}")] + bool? Optional3 + { + get; + set; + } + } } \ No newline at end of file diff --git a/packages/jsii-pacmak/test/expected.jsii-calc-lib/dotnet/Amazon.JSII.Tests.Calculator.Lib/MyFirstStruct.cs b/packages/jsii-pacmak/test/expected.jsii-calc-lib/dotnet/Amazon.JSII.Tests.Calculator.Lib/MyFirstStruct.cs index ed1ac1efa9..05acb58cca 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc-lib/dotnet/Amazon.JSII.Tests.Calculator.Lib/MyFirstStruct.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc-lib/dotnet/Amazon.JSII.Tests.Calculator.Lib/MyFirstStruct.cs @@ -1,31 +1,31 @@ -using Amazon.JSII.Runtime.Deputy; - -namespace Amazon.JSII.Tests.Calculator.Lib -{ +using Amazon.JSII.Runtime.Deputy; + +namespace Amazon.JSII.Tests.Calculator.Lib +{ /// This is the first struct we have created in jsii - public class MyFirstStruct : DeputyBase, IMyFirstStruct - { + public class MyFirstStruct : DeputyBase, IMyFirstStruct + { /// A string value - [JsiiProperty("astring", "{\"primitive\":\"string\"}", true)] - public string Astring - { - get; - set; - } - + [JsiiProperty("astring", "{\"primitive\":\"string\"}", true)] + public string Astring + { + get; + set; + } + /// An awesome number value - [JsiiProperty("anumber", "{\"primitive\":\"number\"}", true)] - public double Anumber - { - get; - set; - } - - [JsiiProperty("firstOptional", "{\"collection\":{\"kind\":\"array\",\"elementtype\":{\"primitive\":\"string\"}},\"optional\":true}", true)] - public string[] FirstOptional - { - get; - set; - } - } + [JsiiProperty("anumber", "{\"primitive\":\"number\"}", true)] + public double Anumber + { + get; + set; + } + + [JsiiProperty("firstOptional", "{\"collection\":{\"kind\":\"array\",\"elementtype\":{\"primitive\":\"string\"}},\"optional\":true}", true)] + public string[] FirstOptional + { + get; + set; + } + } } \ No newline at end of file diff --git a/packages/jsii-pacmak/test/expected.jsii-calc-lib/dotnet/Amazon.JSII.Tests.Calculator.Lib/MyFirstStructProxy.cs b/packages/jsii-pacmak/test/expected.jsii-calc-lib/dotnet/Amazon.JSII.Tests.Calculator.Lib/MyFirstStructProxy.cs index 750878c118..d77accff92 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc-lib/dotnet/Amazon.JSII.Tests.Calculator.Lib/MyFirstStructProxy.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc-lib/dotnet/Amazon.JSII.Tests.Calculator.Lib/MyFirstStructProxy.cs @@ -1,36 +1,36 @@ -using Amazon.JSII.Runtime.Deputy; - -namespace Amazon.JSII.Tests.Calculator.Lib -{ +using Amazon.JSII.Runtime.Deputy; + +namespace Amazon.JSII.Tests.Calculator.Lib +{ /// This is the first struct we have created in jsii - [JsiiInterfaceProxy(typeof(IMyFirstStruct), "@scope/jsii-calc-lib.MyFirstStruct")] - internal class MyFirstStructProxy : DeputyBase, IMyFirstStruct - { - private MyFirstStructProxy(ByRefValue reference): base(reference) - { - } - + [JsiiInterfaceProxy(typeof(IMyFirstStruct), "@scope/jsii-calc-lib.MyFirstStruct")] + internal class MyFirstStructProxy : DeputyBase, IMyFirstStruct + { + private MyFirstStructProxy(ByRefValue reference): base(reference) + { + } + /// A string value - [JsiiProperty("astring", "{\"primitive\":\"string\"}")] - public virtual string Astring - { - get => GetInstanceProperty(); - set => SetInstanceProperty(value); - } - + [JsiiProperty("astring", "{\"primitive\":\"string\"}")] + public virtual string Astring + { + get => GetInstanceProperty(); + set => SetInstanceProperty(value); + } + /// An awesome number value - [JsiiProperty("anumber", "{\"primitive\":\"number\"}")] - public virtual double Anumber - { - get => GetInstanceProperty(); - set => SetInstanceProperty(value); - } - - [JsiiProperty("firstOptional", "{\"collection\":{\"kind\":\"array\",\"elementtype\":{\"primitive\":\"string\"}},\"optional\":true}")] - public virtual string[] FirstOptional - { - get => GetInstanceProperty(); - set => SetInstanceProperty(value); - } - } + [JsiiProperty("anumber", "{\"primitive\":\"number\"}")] + public virtual double Anumber + { + get => GetInstanceProperty(); + set => SetInstanceProperty(value); + } + + [JsiiProperty("firstOptional", "{\"collection\":{\"kind\":\"array\",\"elementtype\":{\"primitive\":\"string\"}},\"optional\":true}")] + public virtual string[] FirstOptional + { + get => GetInstanceProperty(); + set => SetInstanceProperty(value); + } + } } \ No newline at end of file diff --git a/packages/jsii-pacmak/test/expected.jsii-calc-lib/dotnet/Amazon.JSII.Tests.Calculator.Lib/Number.cs b/packages/jsii-pacmak/test/expected.jsii-calc-lib/dotnet/Amazon.JSII.Tests.Calculator.Lib/Number.cs index 922add4055..984aa288f7 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc-lib/dotnet/Amazon.JSII.Tests.Calculator.Lib/Number.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc-lib/dotnet/Amazon.JSII.Tests.Calculator.Lib/Number.cs @@ -1,35 +1,35 @@ -using Amazon.JSII.Runtime.Deputy; - -namespace Amazon.JSII.Tests.Calculator.Lib -{ +using Amazon.JSII.Runtime.Deputy; + +namespace Amazon.JSII.Tests.Calculator.Lib +{ /// Represents a concrete number. - [JsiiClass(typeof(Number), "@scope/jsii-calc-lib.Number", "[{\"name\":\"value\",\"type\":{\"primitive\":\"number\"}}]")] - public class Number : Value_ - { - public Number(double value): base(new DeputyProps(new object[]{value})) - { - } - - protected Number(ByRefValue reference): base(reference) - { - } - - protected Number(DeputyProps props): base(props) - { - } - + [JsiiClass(typeof(Number), "@scope/jsii-calc-lib.Number", "[{\"name\":\"value\",\"type\":{\"primitive\":\"number\"}}]")] + public class Number : Value_ + { + public Number(double value): base(new DeputyProps(new object[]{value})) + { + } + + protected Number(ByRefValue reference): base(reference) + { + } + + protected Number(DeputyProps props): base(props) + { + } + /// The number. - [JsiiProperty("value", "{\"primitive\":\"number\"}")] - public override double Value - { - get => GetInstanceProperty(); - } - + [JsiiProperty("value", "{\"primitive\":\"number\"}")] + public override double Value + { + get => GetInstanceProperty(); + } + /// The number multiplied by 2. - [JsiiProperty("doubleValue", "{\"primitive\":\"number\"}")] - public virtual double DoubleValue - { - get => GetInstanceProperty(); - } - } + [JsiiProperty("doubleValue", "{\"primitive\":\"number\"}")] + public virtual double DoubleValue + { + get => GetInstanceProperty(); + } + } } \ No newline at end of file diff --git a/packages/jsii-pacmak/test/expected.jsii-calc-lib/dotnet/Amazon.JSII.Tests.Calculator.Lib/Operation.cs b/packages/jsii-pacmak/test/expected.jsii-calc-lib/dotnet/Amazon.JSII.Tests.Calculator.Lib/Operation.cs index 39f6464b5d..b1a6d17fd2 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc-lib/dotnet/Amazon.JSII.Tests.Calculator.Lib/Operation.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc-lib/dotnet/Amazon.JSII.Tests.Calculator.Lib/Operation.cs @@ -1,25 +1,25 @@ -using Amazon.JSII.Runtime.Deputy; - -namespace Amazon.JSII.Tests.Calculator.Lib -{ +using Amazon.JSII.Runtime.Deputy; + +namespace Amazon.JSII.Tests.Calculator.Lib +{ /// Represents an operation on values. - [JsiiClass(typeof(Operation), "@scope/jsii-calc-lib.Operation", "[]")] - public abstract class Operation : Value_ - { - protected Operation(): base(new DeputyProps(new object[]{})) - { - } - - protected Operation(ByRefValue reference): base(reference) - { - } - - protected Operation(DeputyProps props): base(props) - { - } - + [JsiiClass(typeof(Operation), "@scope/jsii-calc-lib.Operation", "[]")] + public abstract class Operation : Value_ + { + protected Operation(): base(new DeputyProps(new object[]{})) + { + } + + protected Operation(ByRefValue reference): base(reference) + { + } + + protected Operation(DeputyProps props): base(props) + { + } + /// String representation of the value. - [JsiiMethod("toString", "{\"primitive\":\"string\"}", "[]")] - public override abstract string ToString(); - } + [JsiiMethod("toString", "{\"primitive\":\"string\"}", "[]")] + public override abstract string ToString(); + } } \ No newline at end of file diff --git a/packages/jsii-pacmak/test/expected.jsii-calc-lib/dotnet/Amazon.JSII.Tests.Calculator.Lib/StructWithOnlyOptionals.cs b/packages/jsii-pacmak/test/expected.jsii-calc-lib/dotnet/Amazon.JSII.Tests.Calculator.Lib/StructWithOnlyOptionals.cs index 487f4294d8..ea58ecce4c 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc-lib/dotnet/Amazon.JSII.Tests.Calculator.Lib/StructWithOnlyOptionals.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc-lib/dotnet/Amazon.JSII.Tests.Calculator.Lib/StructWithOnlyOptionals.cs @@ -1,30 +1,30 @@ -using Amazon.JSII.Runtime.Deputy; - -namespace Amazon.JSII.Tests.Calculator.Lib -{ +using Amazon.JSII.Runtime.Deputy; + +namespace Amazon.JSII.Tests.Calculator.Lib +{ /// This is a struct with only optional properties. - public class StructWithOnlyOptionals : DeputyBase, IStructWithOnlyOptionals - { + public class StructWithOnlyOptionals : DeputyBase, IStructWithOnlyOptionals + { /// The first optional! - [JsiiProperty("optional1", "{\"primitive\":\"string\",\"optional\":true}", true)] - public string Optional1 - { - get; - set; - } - - [JsiiProperty("optional2", "{\"primitive\":\"number\",\"optional\":true}", true)] - public double? Optional2 - { - get; - set; - } - - [JsiiProperty("optional3", "{\"primitive\":\"boolean\",\"optional\":true}", true)] - public bool? Optional3 - { - get; - set; - } - } + [JsiiProperty("optional1", "{\"primitive\":\"string\",\"optional\":true}", true)] + public string Optional1 + { + get; + set; + } + + [JsiiProperty("optional2", "{\"primitive\":\"number\",\"optional\":true}", true)] + public double? Optional2 + { + get; + set; + } + + [JsiiProperty("optional3", "{\"primitive\":\"boolean\",\"optional\":true}", true)] + public bool? Optional3 + { + get; + set; + } + } } \ No newline at end of file diff --git a/packages/jsii-pacmak/test/expected.jsii-calc-lib/dotnet/Amazon.JSII.Tests.Calculator.Lib/StructWithOnlyOptionalsProxy.cs b/packages/jsii-pacmak/test/expected.jsii-calc-lib/dotnet/Amazon.JSII.Tests.Calculator.Lib/StructWithOnlyOptionalsProxy.cs index 07e1e119fe..31df3854fa 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc-lib/dotnet/Amazon.JSII.Tests.Calculator.Lib/StructWithOnlyOptionalsProxy.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc-lib/dotnet/Amazon.JSII.Tests.Calculator.Lib/StructWithOnlyOptionalsProxy.cs @@ -1,35 +1,35 @@ -using Amazon.JSII.Runtime.Deputy; - -namespace Amazon.JSII.Tests.Calculator.Lib -{ +using Amazon.JSII.Runtime.Deputy; + +namespace Amazon.JSII.Tests.Calculator.Lib +{ /// This is a struct with only optional properties. - [JsiiInterfaceProxy(typeof(IStructWithOnlyOptionals), "@scope/jsii-calc-lib.StructWithOnlyOptionals")] - internal class StructWithOnlyOptionalsProxy : DeputyBase, IStructWithOnlyOptionals - { - private StructWithOnlyOptionalsProxy(ByRefValue reference): base(reference) - { - } - + [JsiiInterfaceProxy(typeof(IStructWithOnlyOptionals), "@scope/jsii-calc-lib.StructWithOnlyOptionals")] + internal class StructWithOnlyOptionalsProxy : DeputyBase, IStructWithOnlyOptionals + { + private StructWithOnlyOptionalsProxy(ByRefValue reference): base(reference) + { + } + /// The first optional! - [JsiiProperty("optional1", "{\"primitive\":\"string\",\"optional\":true}")] - public virtual string Optional1 - { - get => GetInstanceProperty(); - set => SetInstanceProperty(value); - } - - [JsiiProperty("optional2", "{\"primitive\":\"number\",\"optional\":true}")] - public virtual double? Optional2 - { - get => GetInstanceProperty(); - set => SetInstanceProperty(value); - } - - [JsiiProperty("optional3", "{\"primitive\":\"boolean\",\"optional\":true}")] - public virtual bool? Optional3 - { - get => GetInstanceProperty(); - set => SetInstanceProperty(value); - } - } + [JsiiProperty("optional1", "{\"primitive\":\"string\",\"optional\":true}")] + public virtual string Optional1 + { + get => GetInstanceProperty(); + set => SetInstanceProperty(value); + } + + [JsiiProperty("optional2", "{\"primitive\":\"number\",\"optional\":true}")] + public virtual double? Optional2 + { + get => GetInstanceProperty(); + set => SetInstanceProperty(value); + } + + [JsiiProperty("optional3", "{\"primitive\":\"boolean\",\"optional\":true}")] + public virtual bool? Optional3 + { + get => GetInstanceProperty(); + set => SetInstanceProperty(value); + } + } } \ No newline at end of file diff --git a/packages/jsii-pacmak/test/expected.jsii-calc-lib/dotnet/Amazon.JSII.Tests.Calculator.Lib/Value_.cs b/packages/jsii-pacmak/test/expected.jsii-calc-lib/dotnet/Amazon.JSII.Tests.Calculator.Lib/Value_.cs index db09f579ad..f6937cabdc 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc-lib/dotnet/Amazon.JSII.Tests.Calculator.Lib/Value_.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc-lib/dotnet/Amazon.JSII.Tests.Calculator.Lib/Value_.cs @@ -1,36 +1,36 @@ -using Amazon.JSII.Runtime.Deputy; -using Amazon.JSII.Tests.Calculator.Base; - -namespace Amazon.JSII.Tests.Calculator.Lib -{ +using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Tests.Calculator.Base; + +namespace Amazon.JSII.Tests.Calculator.Lib +{ /// Abstract class which represents a numeric value. - [JsiiClass(typeof(Value_), "@scope/jsii-calc-lib.Value", "[]")] - public abstract class Value_ : Base_ - { - protected Value_(): base(new DeputyProps(new object[]{})) - { - } - - protected Value_(ByRefValue reference): base(reference) - { - } - - protected Value_(DeputyProps props): base(props) - { - } - + [JsiiClass(typeof(Value_), "@scope/jsii-calc-lib.Value", "[]")] + public abstract class Value_ : Base_ + { + protected Value_(): base(new DeputyProps(new object[]{})) + { + } + + protected Value_(ByRefValue reference): base(reference) + { + } + + protected Value_(DeputyProps props): base(props) + { + } + /// The value. - [JsiiProperty("value", "{\"primitive\":\"number\"}")] - public virtual double Value - { - get => GetInstanceProperty(); - } - + [JsiiProperty("value", "{\"primitive\":\"number\"}")] + public virtual double Value + { + get => GetInstanceProperty(); + } + /// String representation of the value. - [JsiiMethod("toString", "{\"primitive\":\"string\"}", "[]")] - public override string ToString() - { - return InvokeInstanceMethod(new object[]{}); - } - } + [JsiiMethod("toString", "{\"primitive\":\"string\"}", "[]")] + public override string ToString() + { + return InvokeInstanceMethod(new object[]{}); + } + } } \ No newline at end of file diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/Add.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/Add.cs index 66b1d70508..15575901f5 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/Add.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/Add.cs @@ -1,36 +1,36 @@ -using Amazon.JSII.Runtime.Deputy; -using Amazon.JSII.Tests.Calculator.Lib; - -namespace Amazon.JSII.Tests.Calculator -{ +using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Tests.Calculator.Lib; + +namespace Amazon.JSII.Tests.Calculator +{ /// The "+" binary operation. - [JsiiClass(typeof(Add), "jsii-calc.Add", "[{\"name\":\"lhs\",\"type\":{\"fqn\":\"@scope/jsii-calc-lib.Value\"}},{\"name\":\"rhs\",\"type\":{\"fqn\":\"@scope/jsii-calc-lib.Value\"}}]")] - public class Add : BinaryOperation - { - public Add(Value_ lhs, Value_ rhs): base(new DeputyProps(new object[]{lhs, rhs})) - { - } - - protected Add(ByRefValue reference): base(reference) - { - } - - protected Add(DeputyProps props): base(props) - { - } - + [JsiiClass(typeof(Add), "jsii-calc.Add", "[{\"name\":\"lhs\",\"type\":{\"fqn\":\"@scope/jsii-calc-lib.Value\"}},{\"name\":\"rhs\",\"type\":{\"fqn\":\"@scope/jsii-calc-lib.Value\"}}]")] + public class Add : BinaryOperation + { + public Add(Value_ lhs, Value_ rhs): base(new DeputyProps(new object[]{lhs, rhs})) + { + } + + protected Add(ByRefValue reference): base(reference) + { + } + + protected Add(DeputyProps props): base(props) + { + } + /// The value. - [JsiiProperty("value", "{\"primitive\":\"number\"}")] - public override double Value - { - get => GetInstanceProperty(); - } - + [JsiiProperty("value", "{\"primitive\":\"number\"}")] + public override double Value + { + get => GetInstanceProperty(); + } + /// String representation of the value. - [JsiiMethod("toString", "{\"primitive\":\"string\"}", "[]")] - public override string ToString() - { - return InvokeInstanceMethod(new object[]{}); - } - } + [JsiiMethod("toString", "{\"primitive\":\"string\"}", "[]")] + public override string ToString() + { + return InvokeInstanceMethod(new object[]{}); + } + } } \ No newline at end of file diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/AllTypes.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/AllTypes.cs index 87bc40c12f..5d943437fc 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/AllTypes.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/AllTypes.cs @@ -1,166 +1,166 @@ -using Amazon.JSII.Runtime.Deputy; -using Amazon.JSII.Tests.Calculator.composition; -using Newtonsoft.Json.Linq; -using System; -using System.Collections.Generic; - -namespace Amazon.JSII.Tests.Calculator -{ - /// - /// This class includes property for all types supported by jsii. The setters will validate +using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Tests.Calculator.composition; +using Newtonsoft.Json.Linq; +using System; +using System.Collections.Generic; + +namespace Amazon.JSII.Tests.Calculator +{ + /// + /// This class includes property for all types supported by jsii. The setters will validate /// that the value set is of the expected type and throw otherwise. /// - [JsiiClass(typeof(AllTypes), "jsii-calc.AllTypes", "[]")] - public class AllTypes : DeputyBase - { - public AllTypes(): base(new DeputyProps(new object[]{})) - { - } - - protected AllTypes(ByRefValue reference): base(reference) - { - } - - protected AllTypes(DeputyProps props): base(props) - { - } - - [JsiiProperty("booleanProperty", "{\"primitive\":\"boolean\"}")] - public virtual bool BooleanProperty - { - get => GetInstanceProperty(); - set => SetInstanceProperty(value); - } - - [JsiiProperty("stringProperty", "{\"primitive\":\"string\"}")] - public virtual string StringProperty - { - get => GetInstanceProperty(); - set => SetInstanceProperty(value); - } - - [JsiiProperty("numberProperty", "{\"primitive\":\"number\"}")] - public virtual double NumberProperty - { - get => GetInstanceProperty(); - set => SetInstanceProperty(value); - } - - [JsiiProperty("dateProperty", "{\"primitive\":\"date\"}")] - public virtual DateTime DateProperty - { - get => GetInstanceProperty(); - set => SetInstanceProperty(value); - } - - [JsiiProperty("jsonProperty", "{\"primitive\":\"json\"}")] - public virtual JObject JsonProperty - { - get => GetInstanceProperty(); - set => SetInstanceProperty(value); - } - - [JsiiProperty("mapProperty", "{\"collection\":{\"kind\":\"map\",\"elementtype\":{\"primitive\":\"number\"}}}")] - public virtual IDictionary MapProperty - { - get => GetInstanceProperty>(); - set => SetInstanceProperty(value); - } - - [JsiiProperty("arrayProperty", "{\"collection\":{\"kind\":\"array\",\"elementtype\":{\"primitive\":\"string\"}}}")] - public virtual string[] ArrayProperty - { - get => GetInstanceProperty(); - set => SetInstanceProperty(value); - } - - [JsiiProperty("anyProperty", "{\"primitive\":\"any\"}")] - public virtual object AnyProperty - { - get => GetInstanceProperty(); - set => SetInstanceProperty(value); - } - - [JsiiProperty("anyArrayProperty", "{\"collection\":{\"kind\":\"array\",\"elementtype\":{\"primitive\":\"any\"}}}")] - public virtual object[] AnyArrayProperty - { - get => GetInstanceProperty(); - set => SetInstanceProperty(value); - } - - [JsiiProperty("anyMapProperty", "{\"collection\":{\"kind\":\"map\",\"elementtype\":{\"primitive\":\"any\"}}}")] - public virtual IDictionary AnyMapProperty - { - get => GetInstanceProperty>(); - set => SetInstanceProperty(value); - } - - [JsiiProperty("unknownProperty", "{\"primitive\":\"any\"}")] - public virtual object UnknownProperty - { - get => GetInstanceProperty(); - set => SetInstanceProperty(value); - } - - [JsiiProperty("unknownArrayProperty", "{\"collection\":{\"kind\":\"array\",\"elementtype\":{\"primitive\":\"any\"}}}")] - public virtual object[] UnknownArrayProperty - { - get => GetInstanceProperty(); - set => SetInstanceProperty(value); - } - - [JsiiProperty("unknownMapProperty", "{\"collection\":{\"kind\":\"map\",\"elementtype\":{\"primitive\":\"any\"}}}")] - public virtual IDictionary UnknownMapProperty - { - get => GetInstanceProperty>(); - set => SetInstanceProperty(value); - } - - [JsiiProperty("unionProperty", "{\"union\":{\"types\":[{\"primitive\":\"string\"},{\"primitive\":\"number\"},{\"fqn\":\"jsii-calc.Multiply\"}]}}")] - public virtual object UnionProperty - { - get => GetInstanceProperty(); - set => SetInstanceProperty(value); - } - - [JsiiProperty("unionArrayProperty", "{\"collection\":{\"kind\":\"array\",\"elementtype\":{\"union\":{\"types\":[{\"primitive\":\"number\"},{\"fqn\":\"jsii-calc.composition.CompositeOperation\"}]}}}}")] - public virtual object[] UnionArrayProperty - { - get => GetInstanceProperty(); - set => SetInstanceProperty(value); - } - - [JsiiProperty("unionMapProperty", "{\"collection\":{\"kind\":\"map\",\"elementtype\":{\"union\":{\"types\":[{\"primitive\":\"string\"},{\"primitive\":\"number\"}]}}}}")] - public virtual IDictionary UnionMapProperty - { - get => GetInstanceProperty>(); - set => SetInstanceProperty(value); - } - - [JsiiProperty("optionalEnumValue", "{\"fqn\":\"jsii-calc.StringEnum\",\"optional\":true}")] - public virtual StringEnum OptionalEnumValue - { - get => GetInstanceProperty(); - set => SetInstanceProperty(value); - } - - [JsiiProperty("enumProperty", "{\"fqn\":\"jsii-calc.AllTypesEnum\"}")] - public virtual AllTypesEnum EnumProperty - { - get => GetInstanceProperty(); - set => SetInstanceProperty(value); - } - - [JsiiProperty("enumPropertyValue", "{\"primitive\":\"number\"}")] - public virtual double EnumPropertyValue - { - get => GetInstanceProperty(); - } - - [JsiiMethod("enumMethod", "{\"fqn\":\"jsii-calc.StringEnum\"}", "[{\"name\":\"value\",\"type\":{\"fqn\":\"jsii-calc.StringEnum\"}}]")] - public virtual StringEnum EnumMethod(StringEnum value) - { - return InvokeInstanceMethod(new object[]{value}); - } - } + [JsiiClass(typeof(AllTypes), "jsii-calc.AllTypes", "[]")] + public class AllTypes : DeputyBase + { + public AllTypes(): base(new DeputyProps(new object[]{})) + { + } + + protected AllTypes(ByRefValue reference): base(reference) + { + } + + protected AllTypes(DeputyProps props): base(props) + { + } + + [JsiiProperty("booleanProperty", "{\"primitive\":\"boolean\"}")] + public virtual bool BooleanProperty + { + get => GetInstanceProperty(); + set => SetInstanceProperty(value); + } + + [JsiiProperty("stringProperty", "{\"primitive\":\"string\"}")] + public virtual string StringProperty + { + get => GetInstanceProperty(); + set => SetInstanceProperty(value); + } + + [JsiiProperty("numberProperty", "{\"primitive\":\"number\"}")] + public virtual double NumberProperty + { + get => GetInstanceProperty(); + set => SetInstanceProperty(value); + } + + [JsiiProperty("dateProperty", "{\"primitive\":\"date\"}")] + public virtual DateTime DateProperty + { + get => GetInstanceProperty(); + set => SetInstanceProperty(value); + } + + [JsiiProperty("jsonProperty", "{\"primitive\":\"json\"}")] + public virtual JObject JsonProperty + { + get => GetInstanceProperty(); + set => SetInstanceProperty(value); + } + + [JsiiProperty("mapProperty", "{\"collection\":{\"kind\":\"map\",\"elementtype\":{\"primitive\":\"number\"}}}")] + public virtual IDictionary MapProperty + { + get => GetInstanceProperty>(); + set => SetInstanceProperty(value); + } + + [JsiiProperty("arrayProperty", "{\"collection\":{\"kind\":\"array\",\"elementtype\":{\"primitive\":\"string\"}}}")] + public virtual string[] ArrayProperty + { + get => GetInstanceProperty(); + set => SetInstanceProperty(value); + } + + [JsiiProperty("anyProperty", "{\"primitive\":\"any\"}")] + public virtual object AnyProperty + { + get => GetInstanceProperty(); + set => SetInstanceProperty(value); + } + + [JsiiProperty("anyArrayProperty", "{\"collection\":{\"kind\":\"array\",\"elementtype\":{\"primitive\":\"any\"}}}")] + public virtual object[] AnyArrayProperty + { + get => GetInstanceProperty(); + set => SetInstanceProperty(value); + } + + [JsiiProperty("anyMapProperty", "{\"collection\":{\"kind\":\"map\",\"elementtype\":{\"primitive\":\"any\"}}}")] + public virtual IDictionary AnyMapProperty + { + get => GetInstanceProperty>(); + set => SetInstanceProperty(value); + } + + [JsiiProperty("unknownProperty", "{\"primitive\":\"any\"}")] + public virtual object UnknownProperty + { + get => GetInstanceProperty(); + set => SetInstanceProperty(value); + } + + [JsiiProperty("unknownArrayProperty", "{\"collection\":{\"kind\":\"array\",\"elementtype\":{\"primitive\":\"any\"}}}")] + public virtual object[] UnknownArrayProperty + { + get => GetInstanceProperty(); + set => SetInstanceProperty(value); + } + + [JsiiProperty("unknownMapProperty", "{\"collection\":{\"kind\":\"map\",\"elementtype\":{\"primitive\":\"any\"}}}")] + public virtual IDictionary UnknownMapProperty + { + get => GetInstanceProperty>(); + set => SetInstanceProperty(value); + } + + [JsiiProperty("unionProperty", "{\"union\":{\"types\":[{\"primitive\":\"string\"},{\"primitive\":\"number\"},{\"fqn\":\"jsii-calc.Multiply\"}]}}")] + public virtual object UnionProperty + { + get => GetInstanceProperty(); + set => SetInstanceProperty(value); + } + + [JsiiProperty("unionArrayProperty", "{\"collection\":{\"kind\":\"array\",\"elementtype\":{\"union\":{\"types\":[{\"primitive\":\"number\"},{\"fqn\":\"jsii-calc.composition.CompositeOperation\"}]}}}}")] + public virtual object[] UnionArrayProperty + { + get => GetInstanceProperty(); + set => SetInstanceProperty(value); + } + + [JsiiProperty("unionMapProperty", "{\"collection\":{\"kind\":\"map\",\"elementtype\":{\"union\":{\"types\":[{\"primitive\":\"string\"},{\"primitive\":\"number\"}]}}}}")] + public virtual IDictionary UnionMapProperty + { + get => GetInstanceProperty>(); + set => SetInstanceProperty(value); + } + + [JsiiProperty("optionalEnumValue", "{\"fqn\":\"jsii-calc.StringEnum\",\"optional\":true}")] + public virtual StringEnum OptionalEnumValue + { + get => GetInstanceProperty(); + set => SetInstanceProperty(value); + } + + [JsiiProperty("enumProperty", "{\"fqn\":\"jsii-calc.AllTypesEnum\"}")] + public virtual AllTypesEnum EnumProperty + { + get => GetInstanceProperty(); + set => SetInstanceProperty(value); + } + + [JsiiProperty("enumPropertyValue", "{\"primitive\":\"number\"}")] + public virtual double EnumPropertyValue + { + get => GetInstanceProperty(); + } + + [JsiiMethod("enumMethod", "{\"fqn\":\"jsii-calc.StringEnum\"}", "[{\"name\":\"value\",\"type\":{\"fqn\":\"jsii-calc.StringEnum\"}}]")] + public virtual StringEnum EnumMethod(StringEnum value) + { + return InvokeInstanceMethod(new object[]{value}); + } + } } \ No newline at end of file diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/AllTypesEnum.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/AllTypesEnum.cs index 57e85475af..9c1a6145bb 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/AllTypesEnum.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/AllTypesEnum.cs @@ -1,15 +1,15 @@ -using Amazon.JSII.Runtime.Deputy; - -namespace Amazon.JSII.Tests.Calculator -{ - [JsiiEnum(typeof(AllTypesEnum), "jsii-calc.AllTypesEnum")] - public enum AllTypesEnum - { - [JsiiEnumMember("MyEnumValue")] - MyEnumValue, - [JsiiEnumMember("YourEnumValue")] - YourEnumValue, - [JsiiEnumMember("ThisIsGreat")] - ThisIsGreat - } +using Amazon.JSII.Runtime.Deputy; + +namespace Amazon.JSII.Tests.Calculator +{ + [JsiiEnum(typeof(AllTypesEnum), "jsii-calc.AllTypesEnum")] + public enum AllTypesEnum + { + [JsiiEnumMember("MyEnumValue")] + MyEnumValue, + [JsiiEnumMember("YourEnumValue")] + YourEnumValue, + [JsiiEnumMember("ThisIsGreat")] + ThisIsGreat + } } \ No newline at end of file diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/AllowedMethodNames.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/AllowedMethodNames.cs index 75947922cd..a7b2cdadfa 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/AllowedMethodNames.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/AllowedMethodNames.cs @@ -1,46 +1,46 @@ -using Amazon.JSII.Runtime.Deputy; - -namespace Amazon.JSII.Tests.Calculator -{ - [JsiiClass(typeof(AllowedMethodNames), "jsii-calc.AllowedMethodNames", "[]")] - public class AllowedMethodNames : DeputyBase - { - public AllowedMethodNames(): base(new DeputyProps(new object[]{})) - { - } - - protected AllowedMethodNames(ByRefValue reference): base(reference) - { - } - - protected AllowedMethodNames(DeputyProps props): base(props) - { - } - +using Amazon.JSII.Runtime.Deputy; + +namespace Amazon.JSII.Tests.Calculator +{ + [JsiiClass(typeof(AllowedMethodNames), "jsii-calc.AllowedMethodNames", "[]")] + public class AllowedMethodNames : DeputyBase + { + public AllowedMethodNames(): base(new DeputyProps(new object[]{})) + { + } + + protected AllowedMethodNames(ByRefValue reference): base(reference) + { + } + + protected AllowedMethodNames(DeputyProps props): base(props) + { + } + /// getXxx() is not allowed (see negatives), but getXxx(a, ...) is okay. - [JsiiMethod("getFoo", "{\"primitive\":\"string\"}", "[{\"name\":\"withParam\",\"type\":{\"primitive\":\"string\"}}]")] - public virtual string GetFoo(string withParam) - { - return InvokeInstanceMethod(new object[]{withParam}); - } - - [JsiiMethod("getBar", null, "[{\"name\":\"_p1\",\"type\":{\"primitive\":\"string\"}},{\"name\":\"_p2\",\"type\":{\"primitive\":\"number\"}}]")] - public virtual void GetBar(string _p1, double _p2) - { - InvokeInstanceVoidMethod(new object[]{_p1, _p2}); - } - + [JsiiMethod("getFoo", "{\"primitive\":\"string\"}", "[{\"name\":\"withParam\",\"type\":{\"primitive\":\"string\"}}]")] + public virtual string GetFoo(string withParam) + { + return InvokeInstanceMethod(new object[]{withParam}); + } + + [JsiiMethod("getBar", null, "[{\"name\":\"_p1\",\"type\":{\"primitive\":\"string\"}},{\"name\":\"_p2\",\"type\":{\"primitive\":\"number\"}}]")] + public virtual void GetBar(string _p1, double _p2) + { + InvokeInstanceVoidMethod(new object[]{_p1, _p2}); + } + /// setFoo(x) is not allowed (see negatives), but setXxx(a, b, ...) is okay. - [JsiiMethod("setFoo", null, "[{\"name\":\"_x\",\"type\":{\"primitive\":\"string\"}},{\"name\":\"_y\",\"type\":{\"primitive\":\"number\"}}]")] - public virtual void SetFoo(string _x, double _y) - { - InvokeInstanceVoidMethod(new object[]{_x, _y}); - } - - [JsiiMethod("setBar", null, "[{\"name\":\"_x\",\"type\":{\"primitive\":\"string\"}},{\"name\":\"_y\",\"type\":{\"primitive\":\"number\"}},{\"name\":\"_z\",\"type\":{\"primitive\":\"boolean\"}}]")] - public virtual void SetBar(string _x, double _y, bool _z) - { - InvokeInstanceVoidMethod(new object[]{_x, _y, _z}); - } - } + [JsiiMethod("setFoo", null, "[{\"name\":\"_x\",\"type\":{\"primitive\":\"string\"}},{\"name\":\"_y\",\"type\":{\"primitive\":\"number\"}}]")] + public virtual void SetFoo(string _x, double _y) + { + InvokeInstanceVoidMethod(new object[]{_x, _y}); + } + + [JsiiMethod("setBar", null, "[{\"name\":\"_x\",\"type\":{\"primitive\":\"string\"}},{\"name\":\"_y\",\"type\":{\"primitive\":\"number\"}},{\"name\":\"_z\",\"type\":{\"primitive\":\"boolean\"}}]")] + public virtual void SetBar(string _x, double _y, bool _z) + { + InvokeInstanceVoidMethod(new object[]{_x, _y, _z}); + } + } } \ No newline at end of file diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/Amazon.JSII.Tests.Calculator.csproj b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/Amazon.JSII.Tests.Calculator.csproj index a11cde38f3..95dc771b3d 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/Amazon.JSII.Tests.Calculator.csproj +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/Amazon.JSII.Tests.Calculator.csproj @@ -11,10 +11,10 @@ - - - - - + + + + + \ No newline at end of file diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/AssemblyInfo.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/AssemblyInfo.cs index a5c84887cd..7acc9ef72b 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/AssemblyInfo.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/AssemblyInfo.cs @@ -1,3 +1,3 @@ -using Amazon.JSII.Runtime.Deputy; - +using Amazon.JSII.Runtime.Deputy; + [assembly: JsiiAssembly("jsii-calc", "0.6.2", "jsii-calc-0.6.2.tgz")] \ No newline at end of file diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/AsyncVirtualMethods.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/AsyncVirtualMethods.cs index 5953a8704b..76a35a912e 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/AsyncVirtualMethods.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/AsyncVirtualMethods.cs @@ -1,63 +1,63 @@ -using Amazon.JSII.Runtime.Deputy; - -namespace Amazon.JSII.Tests.Calculator -{ - [JsiiClass(typeof(AsyncVirtualMethods), "jsii-calc.AsyncVirtualMethods", "[]")] - public class AsyncVirtualMethods : DeputyBase - { - public AsyncVirtualMethods(): base(new DeputyProps(new object[]{})) - { - } - - protected AsyncVirtualMethods(ByRefValue reference): base(reference) - { - } - - protected AsyncVirtualMethods(DeputyProps props): base(props) - { - } - - [JsiiMethod("callMe", "{\"primitive\":\"number\",\"promise\":true}", "[]")] - public virtual double CallMe() - { - return InvokeInstanceMethod(new object[]{}); - } - - [JsiiMethod("overrideMe", "{\"primitive\":\"number\",\"promise\":true}", "[{\"name\":\"mult\",\"type\":{\"primitive\":\"number\"}}]")] - public virtual double OverrideMe(double mult) - { - return InvokeInstanceMethod(new object[]{mult}); - } - - [JsiiMethod("overrideMeToo", "{\"primitive\":\"number\",\"promise\":true}", "[]")] - public virtual double OverrideMeToo() - { - return InvokeInstanceMethod(new object[]{}); - } - +using Amazon.JSII.Runtime.Deputy; + +namespace Amazon.JSII.Tests.Calculator +{ + [JsiiClass(typeof(AsyncVirtualMethods), "jsii-calc.AsyncVirtualMethods", "[]")] + public class AsyncVirtualMethods : DeputyBase + { + public AsyncVirtualMethods(): base(new DeputyProps(new object[]{})) + { + } + + protected AsyncVirtualMethods(ByRefValue reference): base(reference) + { + } + + protected AsyncVirtualMethods(DeputyProps props): base(props) + { + } + + [JsiiMethod("callMe", "{\"primitive\":\"number\",\"promise\":true}", "[]")] + public virtual double CallMe() + { + return InvokeInstanceMethod(new object[]{}); + } + + [JsiiMethod("overrideMe", "{\"primitive\":\"number\",\"promise\":true}", "[{\"name\":\"mult\",\"type\":{\"primitive\":\"number\"}}]")] + public virtual double OverrideMe(double mult) + { + return InvokeInstanceMethod(new object[]{mult}); + } + + [JsiiMethod("overrideMeToo", "{\"primitive\":\"number\",\"promise\":true}", "[]")] + public virtual double OverrideMeToo() + { + return InvokeInstanceMethod(new object[]{}); + } + /// Just calls "overrideMeToo" - [JsiiMethod("callMe2", "{\"primitive\":\"number\",\"promise\":true}", "[]")] - public virtual double CallMe2() - { - return InvokeInstanceMethod(new object[]{}); - } - - /// - /// This method calls the "callMe" async method indirectly, which will then - /// invoke a virtual method. This is a "double promise" situation, which - /// means that callbacks are not going to be available immediate, but only + [JsiiMethod("callMe2", "{\"primitive\":\"number\",\"promise\":true}", "[]")] + public virtual double CallMe2() + { + return InvokeInstanceMethod(new object[]{}); + } + + /// + /// This method calls the "callMe" async method indirectly, which will then + /// invoke a virtual method. This is a "double promise" situation, which + /// means that callbacks are not going to be available immediate, but only /// after an "immediates" cycle. /// - [JsiiMethod("callMeDoublePromise", "{\"primitive\":\"number\",\"promise\":true}", "[]")] - public virtual double CallMeDoublePromise() - { - return InvokeInstanceMethod(new object[]{}); - } - - [JsiiMethod("dontOverrideMe", "{\"primitive\":\"number\"}", "[]")] - public virtual double DontOverrideMe() - { - return InvokeInstanceMethod(new object[]{}); - } - } + [JsiiMethod("callMeDoublePromise", "{\"primitive\":\"number\",\"promise\":true}", "[]")] + public virtual double CallMeDoublePromise() + { + return InvokeInstanceMethod(new object[]{}); + } + + [JsiiMethod("dontOverrideMe", "{\"primitive\":\"number\"}", "[]")] + public virtual double DontOverrideMe() + { + return InvokeInstanceMethod(new object[]{}); + } + } } \ No newline at end of file diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/BinaryOperation.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/BinaryOperation.cs index 8d8ab2fe20..07c8f51e47 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/BinaryOperation.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/BinaryOperation.cs @@ -1,43 +1,43 @@ -using Amazon.JSII.Runtime.Deputy; -using Amazon.JSII.Tests.Calculator.Lib; - -namespace Amazon.JSII.Tests.Calculator -{ +using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Tests.Calculator.Lib; + +namespace Amazon.JSII.Tests.Calculator +{ /// Represents an operation with two operands. - [JsiiClass(typeof(BinaryOperation), "jsii-calc.BinaryOperation", "[{\"name\":\"lhs\",\"type\":{\"fqn\":\"@scope/jsii-calc-lib.Value\"}},{\"name\":\"rhs\",\"type\":{\"fqn\":\"@scope/jsii-calc-lib.Value\"}}]")] - public abstract class BinaryOperation : Operation, IIFriendly - { - protected BinaryOperation(Value_ lhs, Value_ rhs): base(new DeputyProps(new object[]{lhs, rhs})) - { - } - - protected BinaryOperation(ByRefValue reference): base(reference) - { - } - - protected BinaryOperation(DeputyProps props): base(props) - { - } - + [JsiiClass(typeof(BinaryOperation), "jsii-calc.BinaryOperation", "[{\"name\":\"lhs\",\"type\":{\"fqn\":\"@scope/jsii-calc-lib.Value\"}},{\"name\":\"rhs\",\"type\":{\"fqn\":\"@scope/jsii-calc-lib.Value\"}}]")] + public abstract class BinaryOperation : Operation, IIFriendly + { + protected BinaryOperation(Value_ lhs, Value_ rhs): base(new DeputyProps(new object[]{lhs, rhs})) + { + } + + protected BinaryOperation(ByRefValue reference): base(reference) + { + } + + protected BinaryOperation(DeputyProps props): base(props) + { + } + /// Left-hand side operand - [JsiiProperty("lhs", "{\"fqn\":\"@scope/jsii-calc-lib.Value\"}")] - public virtual Value_ Lhs - { - get => GetInstanceProperty(); - } - + [JsiiProperty("lhs", "{\"fqn\":\"@scope/jsii-calc-lib.Value\"}")] + public virtual Value_ Lhs + { + get => GetInstanceProperty(); + } + /// Right-hand side operand - [JsiiProperty("rhs", "{\"fqn\":\"@scope/jsii-calc-lib.Value\"}")] - public virtual Value_ Rhs - { - get => GetInstanceProperty(); - } - + [JsiiProperty("rhs", "{\"fqn\":\"@scope/jsii-calc-lib.Value\"}")] + public virtual Value_ Rhs + { + get => GetInstanceProperty(); + } + /// Say hello! - [JsiiMethod("hello", "{\"primitive\":\"string\"}", "[]")] - public virtual string Hello() - { - return InvokeInstanceMethod(new object[]{}); - } - } + [JsiiMethod("hello", "{\"primitive\":\"string\"}", "[]")] + public virtual string Hello() + { + return InvokeInstanceMethod(new object[]{}); + } + } } \ No newline at end of file diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/CalculatorProps.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/CalculatorProps.cs index e017fef37f..368162a20f 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/CalculatorProps.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/CalculatorProps.cs @@ -1,22 +1,22 @@ -using Amazon.JSII.Runtime.Deputy; - -namespace Amazon.JSII.Tests.Calculator -{ +using Amazon.JSII.Runtime.Deputy; + +namespace Amazon.JSII.Tests.Calculator +{ /// Properties for Calculator. - public class CalculatorProps : DeputyBase, ICalculatorProps - { - [JsiiProperty("initialValue", "{\"primitive\":\"number\",\"optional\":true}", true)] - public double? InitialValue - { - get; - set; - } - - [JsiiProperty("maximumValue", "{\"primitive\":\"number\",\"optional\":true}", true)] - public double? MaximumValue - { - get; - set; - } - } + public class CalculatorProps : DeputyBase, ICalculatorProps + { + [JsiiProperty("initialValue", "{\"primitive\":\"number\",\"optional\":true}", true)] + public double? InitialValue + { + get; + set; + } + + [JsiiProperty("maximumValue", "{\"primitive\":\"number\",\"optional\":true}", true)] + public double? MaximumValue + { + get; + set; + } + } } \ No newline at end of file diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/CalculatorPropsProxy.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/CalculatorPropsProxy.cs index bb82835714..b9dc4da81c 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/CalculatorPropsProxy.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/CalculatorPropsProxy.cs @@ -1,27 +1,27 @@ -using Amazon.JSII.Runtime.Deputy; - -namespace Amazon.JSII.Tests.Calculator -{ +using Amazon.JSII.Runtime.Deputy; + +namespace Amazon.JSII.Tests.Calculator +{ /// Properties for Calculator. - [JsiiInterfaceProxy(typeof(ICalculatorProps), "jsii-calc.CalculatorProps")] - internal class CalculatorPropsProxy : DeputyBase, ICalculatorProps - { - private CalculatorPropsProxy(ByRefValue reference): base(reference) - { - } - - [JsiiProperty("initialValue", "{\"primitive\":\"number\",\"optional\":true}")] - public virtual double? InitialValue - { - get => GetInstanceProperty(); - set => SetInstanceProperty(value); - } - - [JsiiProperty("maximumValue", "{\"primitive\":\"number\",\"optional\":true}")] - public virtual double? MaximumValue - { - get => GetInstanceProperty(); - set => SetInstanceProperty(value); - } - } + [JsiiInterfaceProxy(typeof(ICalculatorProps), "jsii-calc.CalculatorProps")] + internal class CalculatorPropsProxy : DeputyBase, ICalculatorProps + { + private CalculatorPropsProxy(ByRefValue reference): base(reference) + { + } + + [JsiiProperty("initialValue", "{\"primitive\":\"number\",\"optional\":true}")] + public virtual double? InitialValue + { + get => GetInstanceProperty(); + set => SetInstanceProperty(value); + } + + [JsiiProperty("maximumValue", "{\"primitive\":\"number\",\"optional\":true}")] + public virtual double? MaximumValue + { + get => GetInstanceProperty(); + set => SetInstanceProperty(value); + } + } } \ No newline at end of file diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/Calculator_.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/Calculator_.cs index 32d949ca8c..e257335db2 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/Calculator_.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/Calculator_.cs @@ -1,104 +1,104 @@ -using Amazon.JSII.Runtime.Deputy; -using Amazon.JSII.Tests.Calculator.composition; -using Amazon.JSII.Tests.Calculator.Lib; -using System.Collections.Generic; - -namespace Amazon.JSII.Tests.Calculator -{ +using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Tests.Calculator.composition; +using Amazon.JSII.Tests.Calculator.Lib; +using System.Collections.Generic; + +namespace Amazon.JSII.Tests.Calculator +{ /// A calculator which maintains a current value and allows adding operations. - [JsiiClass(typeof(Calculator_), "jsii-calc.Calculator", "[{\"name\":\"props\",\"type\":{\"fqn\":\"jsii-calc.CalculatorProps\",\"optional\":true}}]")] - public class Calculator_ : CompositeOperation - { - public Calculator_(ICalculatorProps props): base(new DeputyProps(new object[]{props})) - { - } - - protected Calculator_(ByRefValue reference): base(reference) - { - } - - protected Calculator_(DeputyProps props): base(props) - { - } - + [JsiiClass(typeof(Calculator_), "jsii-calc.Calculator", "[{\"name\":\"props\",\"type\":{\"fqn\":\"jsii-calc.CalculatorProps\",\"optional\":true}}]")] + public class Calculator_ : CompositeOperation + { + public Calculator_(ICalculatorProps props): base(new DeputyProps(new object[]{props})) + { + } + + protected Calculator_(ByRefValue reference): base(reference) + { + } + + protected Calculator_(DeputyProps props): base(props) + { + } + /// The current value. - [JsiiProperty("curr", "{\"fqn\":\"@scope/jsii-calc-lib.Value\"}")] - public virtual Value_ Curr - { - get => GetInstanceProperty(); - set => SetInstanceProperty(value); - } - + [JsiiProperty("curr", "{\"fqn\":\"@scope/jsii-calc-lib.Value\"}")] + public virtual Value_ Curr + { + get => GetInstanceProperty(); + set => SetInstanceProperty(value); + } + /// A map of per operation name of all operations performed. - [JsiiProperty("operationsMap", "{\"collection\":{\"kind\":\"map\",\"elementtype\":{\"collection\":{\"kind\":\"array\",\"elementtype\":{\"fqn\":\"@scope/jsii-calc-lib.Value\"}}}}}")] - public virtual IDictionary OperationsMap - { - get => GetInstanceProperty>(); - } - + [JsiiProperty("operationsMap", "{\"collection\":{\"kind\":\"map\",\"elementtype\":{\"collection\":{\"kind\":\"array\",\"elementtype\":{\"fqn\":\"@scope/jsii-calc-lib.Value\"}}}}}")] + public virtual IDictionary OperationsMap + { + get => GetInstanceProperty>(); + } + /// A log of all operations. - [JsiiProperty("operationsLog", "{\"collection\":{\"kind\":\"array\",\"elementtype\":{\"fqn\":\"@scope/jsii-calc-lib.Value\"}}}")] - public virtual Value_[] OperationsLog - { - get => GetInstanceProperty(); - } - + [JsiiProperty("operationsLog", "{\"collection\":{\"kind\":\"array\",\"elementtype\":{\"fqn\":\"@scope/jsii-calc-lib.Value\"}}}")] + public virtual Value_[] OperationsLog + { + get => GetInstanceProperty(); + } + /// The maximum value allows in this calculator. - [JsiiProperty("maxValue", "{\"primitive\":\"number\",\"optional\":true}")] - public virtual double? MaxValue - { - get => GetInstanceProperty(); - set => SetInstanceProperty(value); - } - + [JsiiProperty("maxValue", "{\"primitive\":\"number\",\"optional\":true}")] + public virtual double? MaxValue + { + get => GetInstanceProperty(); + set => SetInstanceProperty(value); + } + /// Returns the expression. - [JsiiProperty("expression", "{\"fqn\":\"@scope/jsii-calc-lib.Value\"}")] - public override Value_ Expression - { - get => GetInstanceProperty(); - } - + [JsiiProperty("expression", "{\"fqn\":\"@scope/jsii-calc-lib.Value\"}")] + public override Value_ Expression + { + get => GetInstanceProperty(); + } + /// Example of a property that accepts a union of types. - [JsiiProperty("unionProperty", "{\"union\":{\"types\":[{\"fqn\":\"jsii-calc.Add\"},{\"fqn\":\"jsii-calc.Multiply\"},{\"fqn\":\"jsii-calc.Power\"}]},\"optional\":true}")] - public virtual object UnionProperty - { - get => GetInstanceProperty(); - set => SetInstanceProperty(value); - } - + [JsiiProperty("unionProperty", "{\"union\":{\"types\":[{\"fqn\":\"jsii-calc.Add\"},{\"fqn\":\"jsii-calc.Multiply\"},{\"fqn\":\"jsii-calc.Power\"}]},\"optional\":true}")] + public virtual object UnionProperty + { + get => GetInstanceProperty(); + set => SetInstanceProperty(value); + } + /// Adds a number to the current value. - [JsiiMethod("add", null, "[{\"name\":\"value\",\"type\":{\"primitive\":\"number\"}}]")] - public virtual void Add(double value) - { - InvokeInstanceVoidMethod(new object[]{value}); - } - + [JsiiMethod("add", null, "[{\"name\":\"value\",\"type\":{\"primitive\":\"number\"}}]")] + public virtual void Add(double value) + { + InvokeInstanceVoidMethod(new object[]{value}); + } + /// Multiplies the current value by a number. - [JsiiMethod("mul", null, "[{\"name\":\"value\",\"type\":{\"primitive\":\"number\"}}]")] - public virtual void Mul(double value) - { - InvokeInstanceVoidMethod(new object[]{value}); - } - + [JsiiMethod("mul", null, "[{\"name\":\"value\",\"type\":{\"primitive\":\"number\"}}]")] + public virtual void Mul(double value) + { + InvokeInstanceVoidMethod(new object[]{value}); + } + /// Raises the current value by a power. - [JsiiMethod("pow", null, "[{\"name\":\"value\",\"type\":{\"primitive\":\"number\"}}]")] - public virtual void Pow(double value) - { - InvokeInstanceVoidMethod(new object[]{value}); - } - + [JsiiMethod("pow", null, "[{\"name\":\"value\",\"type\":{\"primitive\":\"number\"}}]")] + public virtual void Pow(double value) + { + InvokeInstanceVoidMethod(new object[]{value}); + } + /// Negates the current value. - [JsiiMethod("neg", null, "[]")] - public virtual void Neg() - { - InvokeInstanceVoidMethod(new object[]{}); - } - + [JsiiMethod("neg", null, "[]")] + public virtual void Neg() + { + InvokeInstanceVoidMethod(new object[]{}); + } + /// Returns teh value of the union property (if defined). - [JsiiMethod("readUnionValue", "{\"primitive\":\"number\"}", "[]")] - public virtual double ReadUnionValue() - { - return InvokeInstanceMethod(new object[]{}); - } - } + [JsiiMethod("readUnionValue", "{\"primitive\":\"number\"}", "[]")] + public virtual double ReadUnionValue() + { + return InvokeInstanceMethod(new object[]{}); + } + } } \ No newline at end of file diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/DerivedClassHasNoProperties/Base.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/DerivedClassHasNoProperties/Base.cs index cd6b18a873..24e6b451e5 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/DerivedClassHasNoProperties/Base.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/DerivedClassHasNoProperties/Base.cs @@ -1,27 +1,27 @@ -using Amazon.JSII.Runtime.Deputy; - -namespace Amazon.JSII.Tests.Calculator.DerivedClassHasNoProperties -{ - [JsiiClass(typeof(Base), "jsii-calc.DerivedClassHasNoProperties.Base", "[]")] - public class Base : DeputyBase - { - public Base(): base(new DeputyProps(new object[]{})) - { - } - - protected Base(ByRefValue reference): base(reference) - { - } - - protected Base(DeputyProps props): base(props) - { - } - - [JsiiProperty("prop", "{\"primitive\":\"string\"}")] - public virtual string Prop - { - get => GetInstanceProperty(); - set => SetInstanceProperty(value); - } - } +using Amazon.JSII.Runtime.Deputy; + +namespace Amazon.JSII.Tests.Calculator.DerivedClassHasNoProperties +{ + [JsiiClass(typeof(Base), "jsii-calc.DerivedClassHasNoProperties.Base", "[]")] + public class Base : DeputyBase + { + public Base(): base(new DeputyProps(new object[]{})) + { + } + + protected Base(ByRefValue reference): base(reference) + { + } + + protected Base(DeputyProps props): base(props) + { + } + + [JsiiProperty("prop", "{\"primitive\":\"string\"}")] + public virtual string Prop + { + get => GetInstanceProperty(); + set => SetInstanceProperty(value); + } + } } \ No newline at end of file diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/DerivedClassHasNoProperties/Derived.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/DerivedClassHasNoProperties/Derived.cs index 719098cf17..dab7f53240 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/DerivedClassHasNoProperties/Derived.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/DerivedClassHasNoProperties/Derived.cs @@ -1,20 +1,20 @@ -using Amazon.JSII.Runtime.Deputy; - -namespace Amazon.JSII.Tests.Calculator.DerivedClassHasNoProperties -{ - [JsiiClass(typeof(Derived), "jsii-calc.DerivedClassHasNoProperties.Derived", "[]")] - public class Derived : Base - { - public Derived(): base(new DeputyProps(new object[]{})) - { - } - - protected Derived(ByRefValue reference): base(reference) - { - } - - protected Derived(DeputyProps props): base(props) - { - } - } +using Amazon.JSII.Runtime.Deputy; + +namespace Amazon.JSII.Tests.Calculator.DerivedClassHasNoProperties +{ + [JsiiClass(typeof(Derived), "jsii-calc.DerivedClassHasNoProperties.Derived", "[]")] + public class Derived : Base + { + public Derived(): base(new DeputyProps(new object[]{})) + { + } + + protected Derived(ByRefValue reference): base(reference) + { + } + + protected Derived(DeputyProps props): base(props) + { + } + } } \ No newline at end of file diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/DerivedStruct.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/DerivedStruct.cs index a62093f69f..2ddf0decab 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/DerivedStruct.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/DerivedStruct.cs @@ -1,71 +1,71 @@ -using Amazon.JSII.Runtime.Deputy; -using Amazon.JSII.Tests.Calculator.Lib; -using System; -using System.Collections.Generic; - -namespace Amazon.JSII.Tests.Calculator -{ +using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Tests.Calculator.Lib; +using System; +using System.Collections.Generic; + +namespace Amazon.JSII.Tests.Calculator +{ /// A struct which derives from another struct. - public class DerivedStruct : DeputyBase, IDerivedStruct - { + public class DerivedStruct : DeputyBase, IDerivedStruct + { /// An example of a non primitive property. - [JsiiProperty("nonPrimitive", "{\"fqn\":\"jsii-calc.DoubleTrouble\"}", true)] - public DoubleTrouble NonPrimitive - { - get; - set; - } - - [JsiiProperty("bool", "{\"primitive\":\"boolean\"}", true)] - public bool Bool - { - get; - set; - } - - [JsiiProperty("anotherRequired", "{\"primitive\":\"date\"}", true)] - public DateTime AnotherRequired - { - get; - set; - } - - [JsiiProperty("optionalArray", "{\"collection\":{\"kind\":\"array\",\"elementtype\":{\"primitive\":\"string\"}},\"optional\":true}", true)] - public string[] OptionalArray - { - get; - set; - } - + [JsiiProperty("nonPrimitive", "{\"fqn\":\"jsii-calc.DoubleTrouble\"}", true)] + public DoubleTrouble NonPrimitive + { + get; + set; + } + + [JsiiProperty("bool", "{\"primitive\":\"boolean\"}", true)] + public bool Bool + { + get; + set; + } + + [JsiiProperty("anotherRequired", "{\"primitive\":\"date\"}", true)] + public DateTime AnotherRequired + { + get; + set; + } + + [JsiiProperty("optionalArray", "{\"collection\":{\"kind\":\"array\",\"elementtype\":{\"primitive\":\"string\"}},\"optional\":true}", true)] + public string[] OptionalArray + { + get; + set; + } + /// This is optional. - [JsiiProperty("anotherOptional", "{\"collection\":{\"kind\":\"map\",\"elementtype\":{\"fqn\":\"@scope/jsii-calc-lib.Value\"}},\"optional\":true}", true)] - public IDictionary AnotherOptional - { - get; - set; - } - + [JsiiProperty("anotherOptional", "{\"collection\":{\"kind\":\"map\",\"elementtype\":{\"fqn\":\"@scope/jsii-calc-lib.Value\"}},\"optional\":true}", true)] + public IDictionary AnotherOptional + { + get; + set; + } + /// A string value - [JsiiProperty("astring", "{\"primitive\":\"string\"}", true)] - public string Astring - { - get; - set; - } - + [JsiiProperty("astring", "{\"primitive\":\"string\"}", true)] + public string Astring + { + get; + set; + } + /// An awesome number value - [JsiiProperty("anumber", "{\"primitive\":\"number\"}", true)] - public double Anumber - { - get; - set; - } - - [JsiiProperty("firstOptional", "{\"collection\":{\"kind\":\"array\",\"elementtype\":{\"primitive\":\"string\"}},\"optional\":true}", true)] - public string[] FirstOptional - { - get; - set; - } - } + [JsiiProperty("anumber", "{\"primitive\":\"number\"}", true)] + public double Anumber + { + get; + set; + } + + [JsiiProperty("firstOptional", "{\"collection\":{\"kind\":\"array\",\"elementtype\":{\"primitive\":\"string\"}},\"optional\":true}", true)] + public string[] FirstOptional + { + get; + set; + } + } } \ No newline at end of file diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/DerivedStructProxy.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/DerivedStructProxy.cs index 05170201c6..545446b56d 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/DerivedStructProxy.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/DerivedStructProxy.cs @@ -1,76 +1,76 @@ -using Amazon.JSII.Runtime.Deputy; -using Amazon.JSII.Tests.Calculator.Lib; -using System; -using System.Collections.Generic; - -namespace Amazon.JSII.Tests.Calculator -{ +using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Tests.Calculator.Lib; +using System; +using System.Collections.Generic; + +namespace Amazon.JSII.Tests.Calculator +{ /// A struct which derives from another struct. - [JsiiInterfaceProxy(typeof(IDerivedStruct), "jsii-calc.DerivedStruct")] - internal class DerivedStructProxy : DeputyBase, IDerivedStruct - { - private DerivedStructProxy(ByRefValue reference): base(reference) - { - } - + [JsiiInterfaceProxy(typeof(IDerivedStruct), "jsii-calc.DerivedStruct")] + internal class DerivedStructProxy : DeputyBase, IDerivedStruct + { + private DerivedStructProxy(ByRefValue reference): base(reference) + { + } + /// An example of a non primitive property. - [JsiiProperty("nonPrimitive", "{\"fqn\":\"jsii-calc.DoubleTrouble\"}")] - public virtual DoubleTrouble NonPrimitive - { - get => GetInstanceProperty(); - set => SetInstanceProperty(value); - } - - [JsiiProperty("bool", "{\"primitive\":\"boolean\"}")] - public virtual bool Bool - { - get => GetInstanceProperty(); - set => SetInstanceProperty(value); - } - - [JsiiProperty("anotherRequired", "{\"primitive\":\"date\"}")] - public virtual DateTime AnotherRequired - { - get => GetInstanceProperty(); - set => SetInstanceProperty(value); - } - - [JsiiProperty("optionalArray", "{\"collection\":{\"kind\":\"array\",\"elementtype\":{\"primitive\":\"string\"}},\"optional\":true}")] - public virtual string[] OptionalArray - { - get => GetInstanceProperty(); - set => SetInstanceProperty(value); - } - + [JsiiProperty("nonPrimitive", "{\"fqn\":\"jsii-calc.DoubleTrouble\"}")] + public virtual DoubleTrouble NonPrimitive + { + get => GetInstanceProperty(); + set => SetInstanceProperty(value); + } + + [JsiiProperty("bool", "{\"primitive\":\"boolean\"}")] + public virtual bool Bool + { + get => GetInstanceProperty(); + set => SetInstanceProperty(value); + } + + [JsiiProperty("anotherRequired", "{\"primitive\":\"date\"}")] + public virtual DateTime AnotherRequired + { + get => GetInstanceProperty(); + set => SetInstanceProperty(value); + } + + [JsiiProperty("optionalArray", "{\"collection\":{\"kind\":\"array\",\"elementtype\":{\"primitive\":\"string\"}},\"optional\":true}")] + public virtual string[] OptionalArray + { + get => GetInstanceProperty(); + set => SetInstanceProperty(value); + } + /// This is optional. - [JsiiProperty("anotherOptional", "{\"collection\":{\"kind\":\"map\",\"elementtype\":{\"fqn\":\"@scope/jsii-calc-lib.Value\"}},\"optional\":true}")] - public virtual IDictionary AnotherOptional - { - get => GetInstanceProperty>(); - set => SetInstanceProperty(value); - } - + [JsiiProperty("anotherOptional", "{\"collection\":{\"kind\":\"map\",\"elementtype\":{\"fqn\":\"@scope/jsii-calc-lib.Value\"}},\"optional\":true}")] + public virtual IDictionary AnotherOptional + { + get => GetInstanceProperty>(); + set => SetInstanceProperty(value); + } + /// A string value - [JsiiProperty("astring", "{\"primitive\":\"string\"}")] - public virtual string Astring - { - get => GetInstanceProperty(); - set => SetInstanceProperty(value); - } - + [JsiiProperty("astring", "{\"primitive\":\"string\"}")] + public virtual string Astring + { + get => GetInstanceProperty(); + set => SetInstanceProperty(value); + } + /// An awesome number value - [JsiiProperty("anumber", "{\"primitive\":\"number\"}")] - public virtual double Anumber - { - get => GetInstanceProperty(); - set => SetInstanceProperty(value); - } - - [JsiiProperty("firstOptional", "{\"collection\":{\"kind\":\"array\",\"elementtype\":{\"primitive\":\"string\"}},\"optional\":true}")] - public virtual string[] FirstOptional - { - get => GetInstanceProperty(); - set => SetInstanceProperty(value); - } - } + [JsiiProperty("anumber", "{\"primitive\":\"number\"}")] + public virtual double Anumber + { + get => GetInstanceProperty(); + set => SetInstanceProperty(value); + } + + [JsiiProperty("firstOptional", "{\"collection\":{\"kind\":\"array\",\"elementtype\":{\"primitive\":\"string\"}},\"optional\":true}")] + public virtual string[] FirstOptional + { + get => GetInstanceProperty(); + set => SetInstanceProperty(value); + } + } } \ No newline at end of file diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/DoubleTrouble.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/DoubleTrouble.cs index e442900a56..f8b34dc192 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/DoubleTrouble.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/DoubleTrouble.cs @@ -1,34 +1,34 @@ -using Amazon.JSII.Runtime.Deputy; - -namespace Amazon.JSII.Tests.Calculator -{ - [JsiiClass(typeof(DoubleTrouble), "jsii-calc.DoubleTrouble", "[]")] - public class DoubleTrouble : DeputyBase, IIFriendlyRandomGenerator - { - public DoubleTrouble(): base(new DeputyProps(new object[]{})) - { - } - - protected DoubleTrouble(ByRefValue reference): base(reference) - { - } - - protected DoubleTrouble(DeputyProps props): base(props) - { - } - +using Amazon.JSII.Runtime.Deputy; + +namespace Amazon.JSII.Tests.Calculator +{ + [JsiiClass(typeof(DoubleTrouble), "jsii-calc.DoubleTrouble", "[]")] + public class DoubleTrouble : DeputyBase, IIFriendlyRandomGenerator + { + public DoubleTrouble(): base(new DeputyProps(new object[]{})) + { + } + + protected DoubleTrouble(ByRefValue reference): base(reference) + { + } + + protected DoubleTrouble(DeputyProps props): base(props) + { + } + /// Returns another random number. - [JsiiMethod("next", "{\"primitive\":\"number\"}", "[]")] - public virtual double Next() - { - return InvokeInstanceMethod(new object[]{}); - } - + [JsiiMethod("next", "{\"primitive\":\"number\"}", "[]")] + public virtual double Next() + { + return InvokeInstanceMethod(new object[]{}); + } + /// Say hello! - [JsiiMethod("hello", "{\"primitive\":\"string\"}", "[]")] - public virtual string Hello() - { - return InvokeInstanceMethod(new object[]{}); - } - } + [JsiiMethod("hello", "{\"primitive\":\"string\"}", "[]")] + public virtual string Hello() + { + return InvokeInstanceMethod(new object[]{}); + } + } } \ No newline at end of file diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/GiveMeStructs.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/GiveMeStructs.cs index 409bc199c6..49f91417ed 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/GiveMeStructs.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/GiveMeStructs.cs @@ -1,48 +1,48 @@ -using Amazon.JSII.Runtime.Deputy; -using Amazon.JSII.Tests.Calculator.Lib; - -namespace Amazon.JSII.Tests.Calculator -{ - [JsiiClass(typeof(GiveMeStructs), "jsii-calc.GiveMeStructs", "[]")] - public class GiveMeStructs : DeputyBase - { - public GiveMeStructs(): base(new DeputyProps(new object[]{})) - { - } - - protected GiveMeStructs(ByRefValue reference): base(reference) - { - } - - protected GiveMeStructs(DeputyProps props): base(props) - { - } - - [JsiiProperty("structLiteral", "{\"fqn\":\"@scope/jsii-calc-lib.StructWithOnlyOptionals\"}")] - public virtual IStructWithOnlyOptionals StructLiteral - { - get => GetInstanceProperty(); - } - +using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Tests.Calculator.Lib; + +namespace Amazon.JSII.Tests.Calculator +{ + [JsiiClass(typeof(GiveMeStructs), "jsii-calc.GiveMeStructs", "[]")] + public class GiveMeStructs : DeputyBase + { + public GiveMeStructs(): base(new DeputyProps(new object[]{})) + { + } + + protected GiveMeStructs(ByRefValue reference): base(reference) + { + } + + protected GiveMeStructs(DeputyProps props): base(props) + { + } + + [JsiiProperty("structLiteral", "{\"fqn\":\"@scope/jsii-calc-lib.StructWithOnlyOptionals\"}")] + public virtual IStructWithOnlyOptionals StructLiteral + { + get => GetInstanceProperty(); + } + /// Returns the "anumber" from a MyFirstStruct struct; - [JsiiMethod("readFirstNumber", "{\"primitive\":\"number\"}", "[{\"name\":\"first\",\"type\":{\"fqn\":\"@scope/jsii-calc-lib.MyFirstStruct\"}}]")] - public virtual double ReadFirstNumber(IMyFirstStruct first) - { - return InvokeInstanceMethod(new object[]{first}); - } - + [JsiiMethod("readFirstNumber", "{\"primitive\":\"number\"}", "[{\"name\":\"first\",\"type\":{\"fqn\":\"@scope/jsii-calc-lib.MyFirstStruct\"}}]")] + public virtual double ReadFirstNumber(IMyFirstStruct first) + { + return InvokeInstanceMethod(new object[]{first}); + } + /// Returns the boolean from a DerivedStruct struct. - [JsiiMethod("readDerivedNonPrimitive", "{\"fqn\":\"jsii-calc.DoubleTrouble\"}", "[{\"name\":\"derived\",\"type\":{\"fqn\":\"jsii-calc.DerivedStruct\"}}]")] - public virtual DoubleTrouble ReadDerivedNonPrimitive(IDerivedStruct derived) - { - return InvokeInstanceMethod(new object[]{derived}); - } - + [JsiiMethod("readDerivedNonPrimitive", "{\"fqn\":\"jsii-calc.DoubleTrouble\"}", "[{\"name\":\"derived\",\"type\":{\"fqn\":\"jsii-calc.DerivedStruct\"}}]")] + public virtual DoubleTrouble ReadDerivedNonPrimitive(IDerivedStruct derived) + { + return InvokeInstanceMethod(new object[]{derived}); + } + /// Accepts a struct of type DerivedStruct and returns a struct of type FirstStruct. - [JsiiMethod("derivedToFirst", "{\"fqn\":\"@scope/jsii-calc-lib.MyFirstStruct\"}", "[{\"name\":\"derived\",\"type\":{\"fqn\":\"jsii-calc.DerivedStruct\"}}]")] - public virtual IMyFirstStruct DerivedToFirst(IDerivedStruct derived) - { - return InvokeInstanceMethod(new object[]{derived}); - } - } + [JsiiMethod("derivedToFirst", "{\"fqn\":\"@scope/jsii-calc-lib.MyFirstStruct\"}", "[{\"name\":\"derived\",\"type\":{\"fqn\":\"jsii-calc.DerivedStruct\"}}]")] + public virtual IMyFirstStruct DerivedToFirst(IDerivedStruct derived) + { + return InvokeInstanceMethod(new object[]{derived}); + } + } } \ No newline at end of file diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/ICalculatorProps.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/ICalculatorProps.cs index 3cc1f7a44f..87c07be874 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/ICalculatorProps.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/ICalculatorProps.cs @@ -1,23 +1,23 @@ -using Amazon.JSII.Runtime.Deputy; - -namespace Amazon.JSII.Tests.Calculator -{ +using Amazon.JSII.Runtime.Deputy; + +namespace Amazon.JSII.Tests.Calculator +{ /// Properties for Calculator. - [JsiiInterface(typeof(ICalculatorProps), "jsii-calc.CalculatorProps")] - public interface ICalculatorProps - { - [JsiiProperty("initialValue", "{\"primitive\":\"number\",\"optional\":true}")] - double? InitialValue - { - get; - set; - } - - [JsiiProperty("maximumValue", "{\"primitive\":\"number\",\"optional\":true}")] - double? MaximumValue - { - get; - set; - } - } + [JsiiInterface(typeof(ICalculatorProps), "jsii-calc.CalculatorProps")] + public interface ICalculatorProps + { + [JsiiProperty("initialValue", "{\"primitive\":\"number\",\"optional\":true}")] + double? InitialValue + { + get; + set; + } + + [JsiiProperty("maximumValue", "{\"primitive\":\"number\",\"optional\":true}")] + double? MaximumValue + { + get; + set; + } + } } \ No newline at end of file diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/IDerivedStruct.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/IDerivedStruct.cs index 7a09030d3c..40d732879e 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/IDerivedStruct.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/IDerivedStruct.cs @@ -1,49 +1,49 @@ -using Amazon.JSII.Runtime.Deputy; -using Amazon.JSII.Tests.Calculator.Lib; -using System; -using System.Collections.Generic; - -namespace Amazon.JSII.Tests.Calculator -{ +using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Tests.Calculator.Lib; +using System; +using System.Collections.Generic; + +namespace Amazon.JSII.Tests.Calculator +{ /// A struct which derives from another struct. - [JsiiInterface(typeof(IDerivedStruct), "jsii-calc.DerivedStruct")] - public interface IDerivedStruct : IMyFirstStruct - { + [JsiiInterface(typeof(IDerivedStruct), "jsii-calc.DerivedStruct")] + public interface IDerivedStruct : IMyFirstStruct + { /// An example of a non primitive property. - [JsiiProperty("nonPrimitive", "{\"fqn\":\"jsii-calc.DoubleTrouble\"}")] - DoubleTrouble NonPrimitive - { - get; - set; - } - - [JsiiProperty("bool", "{\"primitive\":\"boolean\"}")] - bool Bool - { - get; - set; - } - - [JsiiProperty("anotherRequired", "{\"primitive\":\"date\"}")] - DateTime AnotherRequired - { - get; - set; - } - - [JsiiProperty("optionalArray", "{\"collection\":{\"kind\":\"array\",\"elementtype\":{\"primitive\":\"string\"}},\"optional\":true}")] - string[] OptionalArray - { - get; - set; - } - + [JsiiProperty("nonPrimitive", "{\"fqn\":\"jsii-calc.DoubleTrouble\"}")] + DoubleTrouble NonPrimitive + { + get; + set; + } + + [JsiiProperty("bool", "{\"primitive\":\"boolean\"}")] + bool Bool + { + get; + set; + } + + [JsiiProperty("anotherRequired", "{\"primitive\":\"date\"}")] + DateTime AnotherRequired + { + get; + set; + } + + [JsiiProperty("optionalArray", "{\"collection\":{\"kind\":\"array\",\"elementtype\":{\"primitive\":\"string\"}},\"optional\":true}")] + string[] OptionalArray + { + get; + set; + } + /// This is optional. - [JsiiProperty("anotherOptional", "{\"collection\":{\"kind\":\"map\",\"elementtype\":{\"fqn\":\"@scope/jsii-calc-lib.Value\"}},\"optional\":true}")] - IDictionary AnotherOptional - { - get; - set; - } - } + [JsiiProperty("anotherOptional", "{\"collection\":{\"kind\":\"map\",\"elementtype\":{\"fqn\":\"@scope/jsii-calc-lib.Value\"}},\"optional\":true}")] + IDictionary AnotherOptional + { + get; + set; + } + } } \ No newline at end of file diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/IFriendlierProxy.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/IFriendlierProxy.cs index 279968ce06..47ca4b427b 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/IFriendlierProxy.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/IFriendlierProxy.cs @@ -1,35 +1,35 @@ -using Amazon.JSII.Runtime.Deputy; - -namespace Amazon.JSII.Tests.Calculator -{ +using Amazon.JSII.Runtime.Deputy; + +namespace Amazon.JSII.Tests.Calculator +{ /// Even friendlier classes can implement this interface. - [JsiiInterfaceProxy(typeof(IIFriendlier), "jsii-calc.IFriendlier")] - internal class IFriendlierProxy : DeputyBase, IIFriendlier - { - private IFriendlierProxy(ByRefValue reference): base(reference) - { - } - - /// Say goodbye. + [JsiiInterfaceProxy(typeof(IIFriendlier), "jsii-calc.IFriendlier")] + internal class IFriendlierProxy : DeputyBase, IIFriendlier + { + private IFriendlierProxy(ByRefValue reference): base(reference) + { + } + + /// Say goodbye. /// A goodbye blessing. - [JsiiMethod("goodbye", "{\"primitive\":\"string\"}", "[]")] - public virtual string Goodbye() - { - return InvokeInstanceMethod(new object[]{}); - } - + [JsiiMethod("goodbye", "{\"primitive\":\"string\"}", "[]")] + public virtual string Goodbye() + { + return InvokeInstanceMethod(new object[]{}); + } + /// Say farewell. - [JsiiMethod("farewell", "{\"primitive\":\"string\"}", "[]")] - public virtual string Farewell() - { - return InvokeInstanceMethod(new object[]{}); - } - + [JsiiMethod("farewell", "{\"primitive\":\"string\"}", "[]")] + public virtual string Farewell() + { + return InvokeInstanceMethod(new object[]{}); + } + /// Say hello! - [JsiiMethod("hello", "{\"primitive\":\"string\"}", "[]")] - public virtual string Hello() - { - return InvokeInstanceMethod(new object[]{}); - } - } + [JsiiMethod("hello", "{\"primitive\":\"string\"}", "[]")] + public virtual string Hello() + { + return InvokeInstanceMethod(new object[]{}); + } + } } \ No newline at end of file diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/IFriendlyRandomGeneratorProxy.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/IFriendlyRandomGeneratorProxy.cs index 1e985c6c89..0b11d1a76e 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/IFriendlyRandomGeneratorProxy.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/IFriendlyRandomGeneratorProxy.cs @@ -1,27 +1,27 @@ -using Amazon.JSII.Runtime.Deputy; - -namespace Amazon.JSII.Tests.Calculator -{ - [JsiiInterfaceProxy(typeof(IIFriendlyRandomGenerator), "jsii-calc.IFriendlyRandomGenerator")] - internal class IFriendlyRandomGeneratorProxy : DeputyBase, IIFriendlyRandomGenerator - { - private IFriendlyRandomGeneratorProxy(ByRefValue reference): base(reference) - { - } - - /// Returns another random number. +using Amazon.JSII.Runtime.Deputy; + +namespace Amazon.JSII.Tests.Calculator +{ + [JsiiInterfaceProxy(typeof(IIFriendlyRandomGenerator), "jsii-calc.IFriendlyRandomGenerator")] + internal class IFriendlyRandomGeneratorProxy : DeputyBase, IIFriendlyRandomGenerator + { + private IFriendlyRandomGeneratorProxy(ByRefValue reference): base(reference) + { + } + + /// Returns another random number. /// A random number. - [JsiiMethod("next", "{\"primitive\":\"number\"}", "[]")] - public virtual double Next() - { - return InvokeInstanceMethod(new object[]{}); - } - + [JsiiMethod("next", "{\"primitive\":\"number\"}", "[]")] + public virtual double Next() + { + return InvokeInstanceMethod(new object[]{}); + } + /// Say hello! - [JsiiMethod("hello", "{\"primitive\":\"string\"}", "[]")] - public virtual string Hello() - { - return InvokeInstanceMethod(new object[]{}); - } - } + [JsiiMethod("hello", "{\"primitive\":\"string\"}", "[]")] + public virtual string Hello() + { + return InvokeInstanceMethod(new object[]{}); + } + } } \ No newline at end of file diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/IIFriendlier.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/IIFriendlier.cs index 7e6ff0bbfc..800314eb9d 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/IIFriendlier.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/IIFriendlier.cs @@ -1,18 +1,18 @@ -using Amazon.JSII.Runtime.Deputy; -using Amazon.JSII.Tests.Calculator.Lib; - -namespace Amazon.JSII.Tests.Calculator -{ +using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Tests.Calculator.Lib; + +namespace Amazon.JSII.Tests.Calculator +{ /// Even friendlier classes can implement this interface. - [JsiiInterface(typeof(IIFriendlier), "jsii-calc.IFriendlier")] - public interface IIFriendlier : IIFriendly - { - /// Say goodbye. + [JsiiInterface(typeof(IIFriendlier), "jsii-calc.IFriendlier")] + public interface IIFriendlier : IIFriendly + { + /// Say goodbye. /// A goodbye blessing. - [JsiiMethod("goodbye", "{\"primitive\":\"string\"}", "[]")] - string Goodbye(); + [JsiiMethod("goodbye", "{\"primitive\":\"string\"}", "[]")] + string Goodbye(); /// Say farewell. - [JsiiMethod("farewell", "{\"primitive\":\"string\"}", "[]")] - string Farewell(); - } + [JsiiMethod("farewell", "{\"primitive\":\"string\"}", "[]")] + string Farewell(); + } } \ No newline at end of file diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/IIFriendlyRandomGenerator.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/IIFriendlyRandomGenerator.cs index 4586f80d93..6ec21b366c 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/IIFriendlyRandomGenerator.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/IIFriendlyRandomGenerator.cs @@ -1,10 +1,10 @@ -using Amazon.JSII.Runtime.Deputy; -using Amazon.JSII.Tests.Calculator.Lib; - -namespace Amazon.JSII.Tests.Calculator -{ - [JsiiInterface(typeof(IIFriendlyRandomGenerator), "jsii-calc.IFriendlyRandomGenerator")] - public interface IIFriendlyRandomGenerator : IIRandomNumberGenerator, IIFriendly - { - } +using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Tests.Calculator.Lib; + +namespace Amazon.JSII.Tests.Calculator +{ + [JsiiInterface(typeof(IIFriendlyRandomGenerator), "jsii-calc.IFriendlyRandomGenerator")] + public interface IIFriendlyRandomGenerator : IIRandomNumberGenerator, IIFriendly + { + } } \ No newline at end of file diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/IIInterfaceWithProperties.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/IIInterfaceWithProperties.cs index 4fe50147be..0fa317f43c 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/IIInterfaceWithProperties.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/IIInterfaceWithProperties.cs @@ -1,21 +1,21 @@ -using Amazon.JSII.Runtime.Deputy; - -namespace Amazon.JSII.Tests.Calculator -{ - [JsiiInterface(typeof(IIInterfaceWithProperties), "jsii-calc.IInterfaceWithProperties")] - public interface IIInterfaceWithProperties - { - [JsiiProperty("readOnlyString", "{\"primitive\":\"string\"}")] - string ReadOnlyString - { - get; - } - - [JsiiProperty("readWriteString", "{\"primitive\":\"string\"}")] - string ReadWriteString - { - get; - set; - } - } +using Amazon.JSII.Runtime.Deputy; + +namespace Amazon.JSII.Tests.Calculator +{ + [JsiiInterface(typeof(IIInterfaceWithProperties), "jsii-calc.IInterfaceWithProperties")] + public interface IIInterfaceWithProperties + { + [JsiiProperty("readOnlyString", "{\"primitive\":\"string\"}")] + string ReadOnlyString + { + get; + } + + [JsiiProperty("readWriteString", "{\"primitive\":\"string\"}")] + string ReadWriteString + { + get; + set; + } + } } \ No newline at end of file diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/IIInterfaceWithPropertiesExtension.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/IIInterfaceWithPropertiesExtension.cs index 386ce1c674..a2214ef9f9 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/IIInterfaceWithPropertiesExtension.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/IIInterfaceWithPropertiesExtension.cs @@ -1,15 +1,15 @@ -using Amazon.JSII.Runtime.Deputy; - -namespace Amazon.JSII.Tests.Calculator -{ - [JsiiInterface(typeof(IIInterfaceWithPropertiesExtension), "jsii-calc.IInterfaceWithPropertiesExtension")] - public interface IIInterfaceWithPropertiesExtension : IIInterfaceWithProperties - { - [JsiiProperty("foo", "{\"primitive\":\"number\"}")] - double Foo - { - get; - set; - } - } +using Amazon.JSII.Runtime.Deputy; + +namespace Amazon.JSII.Tests.Calculator +{ + [JsiiInterface(typeof(IIInterfaceWithPropertiesExtension), "jsii-calc.IInterfaceWithPropertiesExtension")] + public interface IIInterfaceWithPropertiesExtension : IIInterfaceWithProperties + { + [JsiiProperty("foo", "{\"primitive\":\"number\"}")] + double Foo + { + get; + set; + } + } } \ No newline at end of file diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/IIRandomNumberGenerator.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/IIRandomNumberGenerator.cs index b5197c1f30..c3712f16bf 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/IIRandomNumberGenerator.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/IIRandomNumberGenerator.cs @@ -1,14 +1,14 @@ -using Amazon.JSII.Runtime.Deputy; - -namespace Amazon.JSII.Tests.Calculator -{ +using Amazon.JSII.Runtime.Deputy; + +namespace Amazon.JSII.Tests.Calculator +{ /// Generates random numbers. - [JsiiInterface(typeof(IIRandomNumberGenerator), "jsii-calc.IRandomNumberGenerator")] - public interface IIRandomNumberGenerator - { - /// Returns another random number. + [JsiiInterface(typeof(IIRandomNumberGenerator), "jsii-calc.IRandomNumberGenerator")] + public interface IIRandomNumberGenerator + { + /// Returns another random number. /// A random number. - [JsiiMethod("next", "{\"primitive\":\"number\"}", "[]")] - double Next(); - } + [JsiiMethod("next", "{\"primitive\":\"number\"}", "[]")] + double Next(); + } } \ No newline at end of file diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/IImplictBaseOfBase.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/IImplictBaseOfBase.cs index 26cc313009..7093358827 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/IImplictBaseOfBase.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/IImplictBaseOfBase.cs @@ -1,17 +1,17 @@ -using Amazon.JSII.Runtime.Deputy; -using Amazon.JSII.Tests.Calculator.Base; -using System; - -namespace Amazon.JSII.Tests.Calculator -{ - [JsiiInterface(typeof(IImplictBaseOfBase), "jsii-calc.ImplictBaseOfBase")] - public interface IImplictBaseOfBase : IBaseProps - { - [JsiiProperty("goo", "{\"primitive\":\"date\"}")] - DateTime Goo - { - get; - set; - } - } +using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Tests.Calculator.Base; +using System; + +namespace Amazon.JSII.Tests.Calculator +{ + [JsiiInterface(typeof(IImplictBaseOfBase), "jsii-calc.ImplictBaseOfBase")] + public interface IImplictBaseOfBase : IBaseProps + { + [JsiiProperty("goo", "{\"primitive\":\"date\"}")] + DateTime Goo + { + get; + set; + } + } } \ No newline at end of file diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/IInterfaceWithProperties.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/IInterfaceWithProperties.cs index dbca712646..43bf6b6714 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/IInterfaceWithProperties.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/IInterfaceWithProperties.cs @@ -1,20 +1,20 @@ -using Amazon.JSII.Runtime.Deputy; - -namespace Amazon.JSII.Tests.Calculator -{ - public class IInterfaceWithProperties : DeputyBase, IIInterfaceWithProperties - { - [JsiiProperty("readOnlyString", "{\"primitive\":\"string\"}", true)] - public string ReadOnlyString - { - get; - } - - [JsiiProperty("readWriteString", "{\"primitive\":\"string\"}", true)] - public string ReadWriteString - { - get; - set; - } - } +using Amazon.JSII.Runtime.Deputy; + +namespace Amazon.JSII.Tests.Calculator +{ + public class IInterfaceWithProperties : DeputyBase, IIInterfaceWithProperties + { + [JsiiProperty("readOnlyString", "{\"primitive\":\"string\"}", true)] + public string ReadOnlyString + { + get; + } + + [JsiiProperty("readWriteString", "{\"primitive\":\"string\"}", true)] + public string ReadWriteString + { + get; + set; + } + } } \ No newline at end of file diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/IInterfaceWithPropertiesExtension.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/IInterfaceWithPropertiesExtension.cs index 2171013eeb..f9b1bfe5f0 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/IInterfaceWithPropertiesExtension.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/IInterfaceWithPropertiesExtension.cs @@ -1,27 +1,27 @@ -using Amazon.JSII.Runtime.Deputy; - -namespace Amazon.JSII.Tests.Calculator -{ - public class IInterfaceWithPropertiesExtension : DeputyBase, IIInterfaceWithPropertiesExtension - { - [JsiiProperty("foo", "{\"primitive\":\"number\"}", true)] - public double Foo - { - get; - set; - } - - [JsiiProperty("readOnlyString", "{\"primitive\":\"string\"}", true)] - public string ReadOnlyString - { - get; - } - - [JsiiProperty("readWriteString", "{\"primitive\":\"string\"}", true)] - public string ReadWriteString - { - get; - set; - } - } +using Amazon.JSII.Runtime.Deputy; + +namespace Amazon.JSII.Tests.Calculator +{ + public class IInterfaceWithPropertiesExtension : DeputyBase, IIInterfaceWithPropertiesExtension + { + [JsiiProperty("foo", "{\"primitive\":\"number\"}", true)] + public double Foo + { + get; + set; + } + + [JsiiProperty("readOnlyString", "{\"primitive\":\"string\"}", true)] + public string ReadOnlyString + { + get; + } + + [JsiiProperty("readWriteString", "{\"primitive\":\"string\"}", true)] + public string ReadWriteString + { + get; + set; + } + } } \ No newline at end of file diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/IInterfaceWithPropertiesExtensionProxy.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/IInterfaceWithPropertiesExtensionProxy.cs index 8ff9a6d28a..e62f1f47ac 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/IInterfaceWithPropertiesExtensionProxy.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/IInterfaceWithPropertiesExtensionProxy.cs @@ -1,32 +1,32 @@ -using Amazon.JSII.Runtime.Deputy; - -namespace Amazon.JSII.Tests.Calculator -{ - [JsiiInterfaceProxy(typeof(IIInterfaceWithPropertiesExtension), "jsii-calc.IInterfaceWithPropertiesExtension")] - internal class IInterfaceWithPropertiesExtensionProxy : DeputyBase, IIInterfaceWithPropertiesExtension - { - private IInterfaceWithPropertiesExtensionProxy(ByRefValue reference): base(reference) - { - } - - [JsiiProperty("foo", "{\"primitive\":\"number\"}")] - public virtual double Foo - { - get => GetInstanceProperty(); - set => SetInstanceProperty(value); - } - - [JsiiProperty("readOnlyString", "{\"primitive\":\"string\"}")] - public virtual string ReadOnlyString - { - get => GetInstanceProperty(); - } - - [JsiiProperty("readWriteString", "{\"primitive\":\"string\"}")] - public virtual string ReadWriteString - { - get => GetInstanceProperty(); - set => SetInstanceProperty(value); - } - } +using Amazon.JSII.Runtime.Deputy; + +namespace Amazon.JSII.Tests.Calculator +{ + [JsiiInterfaceProxy(typeof(IIInterfaceWithPropertiesExtension), "jsii-calc.IInterfaceWithPropertiesExtension")] + internal class IInterfaceWithPropertiesExtensionProxy : DeputyBase, IIInterfaceWithPropertiesExtension + { + private IInterfaceWithPropertiesExtensionProxy(ByRefValue reference): base(reference) + { + } + + [JsiiProperty("foo", "{\"primitive\":\"number\"}")] + public virtual double Foo + { + get => GetInstanceProperty(); + set => SetInstanceProperty(value); + } + + [JsiiProperty("readOnlyString", "{\"primitive\":\"string\"}")] + public virtual string ReadOnlyString + { + get => GetInstanceProperty(); + } + + [JsiiProperty("readWriteString", "{\"primitive\":\"string\"}")] + public virtual string ReadWriteString + { + get => GetInstanceProperty(); + set => SetInstanceProperty(value); + } + } } \ No newline at end of file diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/IInterfaceWithPropertiesProxy.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/IInterfaceWithPropertiesProxy.cs index 6d975e3369..ea579678e9 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/IInterfaceWithPropertiesProxy.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/IInterfaceWithPropertiesProxy.cs @@ -1,25 +1,25 @@ -using Amazon.JSII.Runtime.Deputy; - -namespace Amazon.JSII.Tests.Calculator -{ - [JsiiInterfaceProxy(typeof(IIInterfaceWithProperties), "jsii-calc.IInterfaceWithProperties")] - internal class IInterfaceWithPropertiesProxy : DeputyBase, IIInterfaceWithProperties - { - private IInterfaceWithPropertiesProxy(ByRefValue reference): base(reference) - { - } - - [JsiiProperty("readOnlyString", "{\"primitive\":\"string\"}")] - public virtual string ReadOnlyString - { - get => GetInstanceProperty(); - } - - [JsiiProperty("readWriteString", "{\"primitive\":\"string\"}")] - public virtual string ReadWriteString - { - get => GetInstanceProperty(); - set => SetInstanceProperty(value); - } - } +using Amazon.JSII.Runtime.Deputy; + +namespace Amazon.JSII.Tests.Calculator +{ + [JsiiInterfaceProxy(typeof(IIInterfaceWithProperties), "jsii-calc.IInterfaceWithProperties")] + internal class IInterfaceWithPropertiesProxy : DeputyBase, IIInterfaceWithProperties + { + private IInterfaceWithPropertiesProxy(ByRefValue reference): base(reference) + { + } + + [JsiiProperty("readOnlyString", "{\"primitive\":\"string\"}")] + public virtual string ReadOnlyString + { + get => GetInstanceProperty(); + } + + [JsiiProperty("readWriteString", "{\"primitive\":\"string\"}")] + public virtual string ReadWriteString + { + get => GetInstanceProperty(); + set => SetInstanceProperty(value); + } + } } \ No newline at end of file diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/IRandomNumberGeneratorProxy.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/IRandomNumberGeneratorProxy.cs index 969dbecd9d..4ea60881e2 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/IRandomNumberGeneratorProxy.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/IRandomNumberGeneratorProxy.cs @@ -1,21 +1,21 @@ -using Amazon.JSII.Runtime.Deputy; - -namespace Amazon.JSII.Tests.Calculator -{ +using Amazon.JSII.Runtime.Deputy; + +namespace Amazon.JSII.Tests.Calculator +{ /// Generates random numbers. - [JsiiInterfaceProxy(typeof(IIRandomNumberGenerator), "jsii-calc.IRandomNumberGenerator")] - internal class IRandomNumberGeneratorProxy : DeputyBase, IIRandomNumberGenerator - { - private IRandomNumberGeneratorProxy(ByRefValue reference): base(reference) - { - } - - /// Returns another random number. + [JsiiInterfaceProxy(typeof(IIRandomNumberGenerator), "jsii-calc.IRandomNumberGenerator")] + internal class IRandomNumberGeneratorProxy : DeputyBase, IIRandomNumberGenerator + { + private IRandomNumberGeneratorProxy(ByRefValue reference): base(reference) + { + } + + /// Returns another random number. /// A random number. - [JsiiMethod("next", "{\"primitive\":\"number\"}", "[]")] - public virtual double Next() - { - return InvokeInstanceMethod(new object[]{}); - } - } + [JsiiMethod("next", "{\"primitive\":\"number\"}", "[]")] + public virtual double Next() + { + return InvokeInstanceMethod(new object[]{}); + } + } } \ No newline at end of file diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/IReturnsNumber.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/IReturnsNumber.cs index f2cbf79282..34d3b39f20 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/IReturnsNumber.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/IReturnsNumber.cs @@ -1,17 +1,17 @@ -using Amazon.JSII.Runtime.Deputy; - -namespace Amazon.JSII.Tests.Calculator -{ - [JsiiInterface(typeof(IReturnsNumber), "jsii-calc.ReturnsNumber")] - public interface IReturnsNumber - { - [JsiiProperty("numberProp", "{\"primitive\":\"number\"}")] - double NumberProp - { - get; - } - - [JsiiMethod("obtainNumber", "{\"primitive\":\"number\"}", "[]")] - double ObtainNumber(); - } +using Amazon.JSII.Runtime.Deputy; + +namespace Amazon.JSII.Tests.Calculator +{ + [JsiiInterface(typeof(IReturnsNumber), "jsii-calc.ReturnsNumber")] + public interface IReturnsNumber + { + [JsiiProperty("numberProp", "{\"primitive\":\"number\"}")] + double NumberProp + { + get; + } + + [JsiiMethod("obtainNumber", "{\"primitive\":\"number\"}", "[]")] + double ObtainNumber(); + } } \ No newline at end of file diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/IUnionProperties.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/IUnionProperties.cs index 4c7c1b36b9..1cb5373618 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/IUnionProperties.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/IUnionProperties.cs @@ -1,21 +1,21 @@ -using Amazon.JSII.Runtime.Deputy; - -namespace Amazon.JSII.Tests.Calculator -{ - [JsiiInterface(typeof(IUnionProperties), "jsii-calc.UnionProperties")] - public interface IUnionProperties - { - [JsiiProperty("foo", "{\"union\":{\"types\":[{\"primitive\":\"string\"},{\"primitive\":\"number\"}]},\"optional\":true}")] - object Foo - { - get; - set; - } - - [JsiiProperty("bar", "{\"union\":{\"types\":[{\"primitive\":\"string\"},{\"primitive\":\"number\"},{\"fqn\":\"jsii-calc.AllTypes\"}]}}")] - object Bar - { - get; - } - } +using Amazon.JSII.Runtime.Deputy; + +namespace Amazon.JSII.Tests.Calculator +{ + [JsiiInterface(typeof(IUnionProperties), "jsii-calc.UnionProperties")] + public interface IUnionProperties + { + [JsiiProperty("foo", "{\"union\":{\"types\":[{\"primitive\":\"string\"},{\"primitive\":\"number\"}]},\"optional\":true}")] + object Foo + { + get; + set; + } + + [JsiiProperty("bar", "{\"union\":{\"types\":[{\"primitive\":\"string\"},{\"primitive\":\"number\"},{\"fqn\":\"jsii-calc.AllTypes\"}]}}")] + object Bar + { + get; + } + } } \ No newline at end of file diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/ImplictBaseOfBase.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/ImplictBaseOfBase.cs index 84a4cb753b..9f6b0b55c4 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/ImplictBaseOfBase.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/ImplictBaseOfBase.cs @@ -1,30 +1,30 @@ -using Amazon.JSII.Runtime.Deputy; -using Amazon.JSII.Tests.Calculator.BaseOfBase; -using System; - -namespace Amazon.JSII.Tests.Calculator -{ - public class ImplictBaseOfBase : DeputyBase, IImplictBaseOfBase - { - [JsiiProperty("goo", "{\"primitive\":\"date\"}", true)] - public DateTime Goo - { - get; - set; - } - - [JsiiProperty("bar", "{\"primitive\":\"string\"}", true)] - public string Bar - { - get; - set; - } - - [JsiiProperty("foo", "{\"fqn\":\"@scope/jsii-calc-base-of-base.Very\"}", true)] - public Very Foo - { - get; - set; - } - } +using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Tests.Calculator.BaseOfBase; +using System; + +namespace Amazon.JSII.Tests.Calculator +{ + public class ImplictBaseOfBase : DeputyBase, IImplictBaseOfBase + { + [JsiiProperty("goo", "{\"primitive\":\"date\"}", true)] + public DateTime Goo + { + get; + set; + } + + [JsiiProperty("bar", "{\"primitive\":\"string\"}", true)] + public string Bar + { + get; + set; + } + + [JsiiProperty("foo", "{\"fqn\":\"@scope/jsii-calc-base-of-base.Very\"}", true)] + public Very Foo + { + get; + set; + } + } } \ No newline at end of file diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/ImplictBaseOfBaseProxy.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/ImplictBaseOfBaseProxy.cs index 13976bc69a..9ea844328a 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/ImplictBaseOfBaseProxy.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/ImplictBaseOfBaseProxy.cs @@ -1,35 +1,35 @@ -using Amazon.JSII.Runtime.Deputy; -using Amazon.JSII.Tests.Calculator.BaseOfBase; -using System; - -namespace Amazon.JSII.Tests.Calculator -{ - [JsiiInterfaceProxy(typeof(IImplictBaseOfBase), "jsii-calc.ImplictBaseOfBase")] - internal class ImplictBaseOfBaseProxy : DeputyBase, IImplictBaseOfBase - { - private ImplictBaseOfBaseProxy(ByRefValue reference): base(reference) - { - } - - [JsiiProperty("goo", "{\"primitive\":\"date\"}")] - public virtual DateTime Goo - { - get => GetInstanceProperty(); - set => SetInstanceProperty(value); - } - - [JsiiProperty("bar", "{\"primitive\":\"string\"}")] - public virtual string Bar - { - get => GetInstanceProperty(); - set => SetInstanceProperty(value); - } - - [JsiiProperty("foo", "{\"fqn\":\"@scope/jsii-calc-base-of-base.Very\"}")] - public virtual Very Foo - { - get => GetInstanceProperty(); - set => SetInstanceProperty(value); - } - } +using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Tests.Calculator.BaseOfBase; +using System; + +namespace Amazon.JSII.Tests.Calculator +{ + [JsiiInterfaceProxy(typeof(IImplictBaseOfBase), "jsii-calc.ImplictBaseOfBase")] + internal class ImplictBaseOfBaseProxy : DeputyBase, IImplictBaseOfBase + { + private ImplictBaseOfBaseProxy(ByRefValue reference): base(reference) + { + } + + [JsiiProperty("goo", "{\"primitive\":\"date\"}")] + public virtual DateTime Goo + { + get => GetInstanceProperty(); + set => SetInstanceProperty(value); + } + + [JsiiProperty("bar", "{\"primitive\":\"string\"}")] + public virtual string Bar + { + get => GetInstanceProperty(); + set => SetInstanceProperty(value); + } + + [JsiiProperty("foo", "{\"fqn\":\"@scope/jsii-calc-base-of-base.Very\"}")] + public virtual Very Foo + { + get => GetInstanceProperty(); + set => SetInstanceProperty(value); + } + } } \ No newline at end of file diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/JSObjectLiteralForInterface.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/JSObjectLiteralForInterface.cs index 070285a06c..c873776231 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/JSObjectLiteralForInterface.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/JSObjectLiteralForInterface.cs @@ -1,33 +1,33 @@ -using Amazon.JSII.Runtime.Deputy; -using Amazon.JSII.Tests.Calculator.Lib; - -namespace Amazon.JSII.Tests.Calculator -{ - [JsiiClass(typeof(JSObjectLiteralForInterface), "jsii-calc.JSObjectLiteralForInterface", "[]")] - public class JSObjectLiteralForInterface : DeputyBase - { - public JSObjectLiteralForInterface(): base(new DeputyProps(new object[]{})) - { - } - - protected JSObjectLiteralForInterface(ByRefValue reference): base(reference) - { - } - - protected JSObjectLiteralForInterface(DeputyProps props): base(props) - { - } - - [JsiiMethod("giveMeFriendly", "{\"fqn\":\"@scope/jsii-calc-lib.IFriendly\"}", "[]")] - public virtual IIFriendly GiveMeFriendly() - { - return InvokeInstanceMethod(new object[]{}); - } - - [JsiiMethod("giveMeFriendlyGenerator", "{\"fqn\":\"jsii-calc.IFriendlyRandomGenerator\"}", "[]")] - public virtual IIFriendlyRandomGenerator GiveMeFriendlyGenerator() - { - return InvokeInstanceMethod(new object[]{}); - } - } +using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Tests.Calculator.Lib; + +namespace Amazon.JSII.Tests.Calculator +{ + [JsiiClass(typeof(JSObjectLiteralForInterface), "jsii-calc.JSObjectLiteralForInterface", "[]")] + public class JSObjectLiteralForInterface : DeputyBase + { + public JSObjectLiteralForInterface(): base(new DeputyProps(new object[]{})) + { + } + + protected JSObjectLiteralForInterface(ByRefValue reference): base(reference) + { + } + + protected JSObjectLiteralForInterface(DeputyProps props): base(props) + { + } + + [JsiiMethod("giveMeFriendly", "{\"fqn\":\"@scope/jsii-calc-lib.IFriendly\"}", "[]")] + public virtual IIFriendly GiveMeFriendly() + { + return InvokeInstanceMethod(new object[]{}); + } + + [JsiiMethod("giveMeFriendlyGenerator", "{\"fqn\":\"jsii-calc.IFriendlyRandomGenerator\"}", "[]")] + public virtual IIFriendlyRandomGenerator GiveMeFriendlyGenerator() + { + return InvokeInstanceMethod(new object[]{}); + } + } } \ No newline at end of file diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/JSObjectLiteralToNative.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/JSObjectLiteralToNative.cs index 06c2faf415..cb3921546e 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/JSObjectLiteralToNative.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/JSObjectLiteralToNative.cs @@ -1,26 +1,26 @@ -using Amazon.JSII.Runtime.Deputy; - -namespace Amazon.JSII.Tests.Calculator -{ - [JsiiClass(typeof(JSObjectLiteralToNative), "jsii-calc.JSObjectLiteralToNative", "[]")] - public class JSObjectLiteralToNative : DeputyBase - { - public JSObjectLiteralToNative(): base(new DeputyProps(new object[]{})) - { - } - - protected JSObjectLiteralToNative(ByRefValue reference): base(reference) - { - } - - protected JSObjectLiteralToNative(DeputyProps props): base(props) - { - } - - [JsiiMethod("returnLiteral", "{\"fqn\":\"jsii-calc.JSObjectLiteralToNativeClass\"}", "[]")] - public virtual JSObjectLiteralToNativeClass ReturnLiteral() - { - return InvokeInstanceMethod(new object[]{}); - } - } +using Amazon.JSII.Runtime.Deputy; + +namespace Amazon.JSII.Tests.Calculator +{ + [JsiiClass(typeof(JSObjectLiteralToNative), "jsii-calc.JSObjectLiteralToNative", "[]")] + public class JSObjectLiteralToNative : DeputyBase + { + public JSObjectLiteralToNative(): base(new DeputyProps(new object[]{})) + { + } + + protected JSObjectLiteralToNative(ByRefValue reference): base(reference) + { + } + + protected JSObjectLiteralToNative(DeputyProps props): base(props) + { + } + + [JsiiMethod("returnLiteral", "{\"fqn\":\"jsii-calc.JSObjectLiteralToNativeClass\"}", "[]")] + public virtual JSObjectLiteralToNativeClass ReturnLiteral() + { + return InvokeInstanceMethod(new object[]{}); + } + } } \ No newline at end of file diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/JSObjectLiteralToNativeClass.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/JSObjectLiteralToNativeClass.cs index 55cf6437c2..c32ab3c7e9 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/JSObjectLiteralToNativeClass.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/JSObjectLiteralToNativeClass.cs @@ -1,34 +1,34 @@ -using Amazon.JSII.Runtime.Deputy; - -namespace Amazon.JSII.Tests.Calculator -{ - [JsiiClass(typeof(JSObjectLiteralToNativeClass), "jsii-calc.JSObjectLiteralToNativeClass", "[]")] - public class JSObjectLiteralToNativeClass : DeputyBase - { - public JSObjectLiteralToNativeClass(): base(new DeputyProps(new object[]{})) - { - } - - protected JSObjectLiteralToNativeClass(ByRefValue reference): base(reference) - { - } - - protected JSObjectLiteralToNativeClass(DeputyProps props): base(props) - { - } - - [JsiiProperty("propA", "{\"primitive\":\"string\"}")] - public virtual string PropA - { - get => GetInstanceProperty(); - set => SetInstanceProperty(value); - } - - [JsiiProperty("propB", "{\"primitive\":\"number\"}")] - public virtual double PropB - { - get => GetInstanceProperty(); - set => SetInstanceProperty(value); - } - } +using Amazon.JSII.Runtime.Deputy; + +namespace Amazon.JSII.Tests.Calculator +{ + [JsiiClass(typeof(JSObjectLiteralToNativeClass), "jsii-calc.JSObjectLiteralToNativeClass", "[]")] + public class JSObjectLiteralToNativeClass : DeputyBase + { + public JSObjectLiteralToNativeClass(): base(new DeputyProps(new object[]{})) + { + } + + protected JSObjectLiteralToNativeClass(ByRefValue reference): base(reference) + { + } + + protected JSObjectLiteralToNativeClass(DeputyProps props): base(props) + { + } + + [JsiiProperty("propA", "{\"primitive\":\"string\"}")] + public virtual string PropA + { + get => GetInstanceProperty(); + set => SetInstanceProperty(value); + } + + [JsiiProperty("propB", "{\"primitive\":\"number\"}")] + public virtual double PropB + { + get => GetInstanceProperty(); + set => SetInstanceProperty(value); + } + } } \ No newline at end of file diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/JavaReservedWords.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/JavaReservedWords.cs index 95c146045b..7c7fc82cdb 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/JavaReservedWords.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/JavaReservedWords.cs @@ -1,339 +1,339 @@ -using Amazon.JSII.Runtime.Deputy; - -namespace Amazon.JSII.Tests.Calculator -{ - [JsiiClass(typeof(JavaReservedWords), "jsii-calc.JavaReservedWords", "[]")] - public class JavaReservedWords : DeputyBase - { - public JavaReservedWords(): base(new DeputyProps(new object[]{})) - { - } - - protected JavaReservedWords(ByRefValue reference): base(reference) - { - } - - protected JavaReservedWords(DeputyProps props): base(props) - { - } - - [JsiiProperty("while", "{\"primitive\":\"string\"}")] - public virtual string While - { - get => GetInstanceProperty(); - set => SetInstanceProperty(value); - } - - [JsiiMethod("abstract", null, "[]")] - public virtual void Abstract() - { - InvokeInstanceVoidMethod(new object[]{}); - } - - [JsiiMethod("assert", null, "[]")] - public virtual void Assert() - { - InvokeInstanceVoidMethod(new object[]{}); - } - - [JsiiMethod("boolean", null, "[]")] - public virtual void Boolean() - { - InvokeInstanceVoidMethod(new object[]{}); - } - - [JsiiMethod("break", null, "[]")] - public virtual void Break() - { - InvokeInstanceVoidMethod(new object[]{}); - } - - [JsiiMethod("byte", null, "[]")] - public virtual void Byte() - { - InvokeInstanceVoidMethod(new object[]{}); - } - - [JsiiMethod("case", null, "[]")] - public virtual void Case() - { - InvokeInstanceVoidMethod(new object[]{}); - } - - [JsiiMethod("catch", null, "[]")] - public virtual void Catch() - { - InvokeInstanceVoidMethod(new object[]{}); - } - - [JsiiMethod("char", null, "[]")] - public virtual void Char() - { - InvokeInstanceVoidMethod(new object[]{}); - } - - [JsiiMethod("class", null, "[]")] - public virtual void Class() - { - InvokeInstanceVoidMethod(new object[]{}); - } - - [JsiiMethod("const", null, "[]")] - public virtual void Const() - { - InvokeInstanceVoidMethod(new object[]{}); - } - - [JsiiMethod("continue", null, "[]")] - public virtual void Continue() - { - InvokeInstanceVoidMethod(new object[]{}); - } - - [JsiiMethod("default", null, "[]")] - public virtual void Default() - { - InvokeInstanceVoidMethod(new object[]{}); - } - - [JsiiMethod("double", null, "[]")] - public virtual void Double() - { - InvokeInstanceVoidMethod(new object[]{}); - } - - [JsiiMethod("do", null, "[]")] - public virtual void Do() - { - InvokeInstanceVoidMethod(new object[]{}); - } - - [JsiiMethod("else", null, "[]")] - public virtual void Else() - { - InvokeInstanceVoidMethod(new object[]{}); - } - - [JsiiMethod("enum", null, "[]")] - public virtual void Enum() - { - InvokeInstanceVoidMethod(new object[]{}); - } - - [JsiiMethod("extends", null, "[]")] - public virtual void Extends() - { - InvokeInstanceVoidMethod(new object[]{}); - } - - [JsiiMethod("false", null, "[]")] - public virtual void False() - { - InvokeInstanceVoidMethod(new object[]{}); - } - - [JsiiMethod("final", null, "[]")] - public virtual void Final() - { - InvokeInstanceVoidMethod(new object[]{}); - } - - [JsiiMethod("finally", null, "[]")] - public virtual void Finally() - { - InvokeInstanceVoidMethod(new object[]{}); - } - - [JsiiMethod("float", null, "[]")] - public virtual void Float() - { - InvokeInstanceVoidMethod(new object[]{}); - } - - [JsiiMethod("for", null, "[]")] - public virtual void For() - { - InvokeInstanceVoidMethod(new object[]{}); - } - - [JsiiMethod("goto", null, "[]")] - public virtual void Goto() - { - InvokeInstanceVoidMethod(new object[]{}); - } - - [JsiiMethod("if", null, "[]")] - public virtual void If() - { - InvokeInstanceVoidMethod(new object[]{}); - } - - [JsiiMethod("implements", null, "[]")] - public virtual void Implements() - { - InvokeInstanceVoidMethod(new object[]{}); - } - - [JsiiMethod("import", null, "[]")] - public virtual void Import() - { - InvokeInstanceVoidMethod(new object[]{}); - } - - [JsiiMethod("instanceof", null, "[]")] - public virtual void Instanceof() - { - InvokeInstanceVoidMethod(new object[]{}); - } - - [JsiiMethod("int", null, "[]")] - public virtual void Int() - { - InvokeInstanceVoidMethod(new object[]{}); - } - - [JsiiMethod("interface", null, "[]")] - public virtual void Interface() - { - InvokeInstanceVoidMethod(new object[]{}); - } - - [JsiiMethod("long", null, "[]")] - public virtual void Long() - { - InvokeInstanceVoidMethod(new object[]{}); - } - - [JsiiMethod("native", null, "[]")] - public virtual void Native() - { - InvokeInstanceVoidMethod(new object[]{}); - } - - [JsiiMethod("new", null, "[]")] - public virtual void New() - { - InvokeInstanceVoidMethod(new object[]{}); - } - - [JsiiMethod("null", null, "[]")] - public virtual void Null() - { - InvokeInstanceVoidMethod(new object[]{}); - } - - [JsiiMethod("package", null, "[]")] - public virtual void Package() - { - InvokeInstanceVoidMethod(new object[]{}); - } - - [JsiiMethod("private", null, "[]")] - public virtual void Private() - { - InvokeInstanceVoidMethod(new object[]{}); - } - - [JsiiMethod("protected", null, "[]")] - public virtual void Protected() - { - InvokeInstanceVoidMethod(new object[]{}); - } - - [JsiiMethod("public", null, "[]")] - public virtual void Public() - { - InvokeInstanceVoidMethod(new object[]{}); - } - - [JsiiMethod("return", null, "[]")] - public virtual void Return() - { - InvokeInstanceVoidMethod(new object[]{}); - } - - [JsiiMethod("short", null, "[]")] - public virtual void Short() - { - InvokeInstanceVoidMethod(new object[]{}); - } - - [JsiiMethod("static", null, "[]")] - public virtual void Static() - { - InvokeInstanceVoidMethod(new object[]{}); - } - - [JsiiMethod("strictfp", null, "[]")] - public virtual void Strictfp() - { - InvokeInstanceVoidMethod(new object[]{}); - } - - [JsiiMethod("super", null, "[]")] - public virtual void Super() - { - InvokeInstanceVoidMethod(new object[]{}); - } - - [JsiiMethod("switch", null, "[]")] - public virtual void Switch() - { - InvokeInstanceVoidMethod(new object[]{}); - } - - [JsiiMethod("synchronized", null, "[]")] - public virtual void Synchronized() - { - InvokeInstanceVoidMethod(new object[]{}); - } - - [JsiiMethod("this", null, "[]")] - public virtual void This() - { - InvokeInstanceVoidMethod(new object[]{}); - } - - [JsiiMethod("throw", null, "[]")] - public virtual void Throw() - { - InvokeInstanceVoidMethod(new object[]{}); - } - - [JsiiMethod("throws", null, "[]")] - public virtual void Throws() - { - InvokeInstanceVoidMethod(new object[]{}); - } - - [JsiiMethod("transient", null, "[]")] - public virtual void Transient() - { - InvokeInstanceVoidMethod(new object[]{}); - } - - [JsiiMethod("true", null, "[]")] - public virtual void True() - { - InvokeInstanceVoidMethod(new object[]{}); - } - - [JsiiMethod("try", null, "[]")] - public virtual void Try() - { - InvokeInstanceVoidMethod(new object[]{}); - } - - [JsiiMethod("void", null, "[]")] - public virtual void Void() - { - InvokeInstanceVoidMethod(new object[]{}); - } - - [JsiiMethod("volatile", null, "[]")] - public virtual void Volatile() - { - InvokeInstanceVoidMethod(new object[]{}); - } - } +using Amazon.JSII.Runtime.Deputy; + +namespace Amazon.JSII.Tests.Calculator +{ + [JsiiClass(typeof(JavaReservedWords), "jsii-calc.JavaReservedWords", "[]")] + public class JavaReservedWords : DeputyBase + { + public JavaReservedWords(): base(new DeputyProps(new object[]{})) + { + } + + protected JavaReservedWords(ByRefValue reference): base(reference) + { + } + + protected JavaReservedWords(DeputyProps props): base(props) + { + } + + [JsiiProperty("while", "{\"primitive\":\"string\"}")] + public virtual string While + { + get => GetInstanceProperty(); + set => SetInstanceProperty(value); + } + + [JsiiMethod("abstract", null, "[]")] + public virtual void Abstract() + { + InvokeInstanceVoidMethod(new object[]{}); + } + + [JsiiMethod("assert", null, "[]")] + public virtual void Assert() + { + InvokeInstanceVoidMethod(new object[]{}); + } + + [JsiiMethod("boolean", null, "[]")] + public virtual void Boolean() + { + InvokeInstanceVoidMethod(new object[]{}); + } + + [JsiiMethod("break", null, "[]")] + public virtual void Break() + { + InvokeInstanceVoidMethod(new object[]{}); + } + + [JsiiMethod("byte", null, "[]")] + public virtual void Byte() + { + InvokeInstanceVoidMethod(new object[]{}); + } + + [JsiiMethod("case", null, "[]")] + public virtual void Case() + { + InvokeInstanceVoidMethod(new object[]{}); + } + + [JsiiMethod("catch", null, "[]")] + public virtual void Catch() + { + InvokeInstanceVoidMethod(new object[]{}); + } + + [JsiiMethod("char", null, "[]")] + public virtual void Char() + { + InvokeInstanceVoidMethod(new object[]{}); + } + + [JsiiMethod("class", null, "[]")] + public virtual void Class() + { + InvokeInstanceVoidMethod(new object[]{}); + } + + [JsiiMethod("const", null, "[]")] + public virtual void Const() + { + InvokeInstanceVoidMethod(new object[]{}); + } + + [JsiiMethod("continue", null, "[]")] + public virtual void Continue() + { + InvokeInstanceVoidMethod(new object[]{}); + } + + [JsiiMethod("default", null, "[]")] + public virtual void Default() + { + InvokeInstanceVoidMethod(new object[]{}); + } + + [JsiiMethod("double", null, "[]")] + public virtual void Double() + { + InvokeInstanceVoidMethod(new object[]{}); + } + + [JsiiMethod("do", null, "[]")] + public virtual void Do() + { + InvokeInstanceVoidMethod(new object[]{}); + } + + [JsiiMethod("else", null, "[]")] + public virtual void Else() + { + InvokeInstanceVoidMethod(new object[]{}); + } + + [JsiiMethod("enum", null, "[]")] + public virtual void Enum() + { + InvokeInstanceVoidMethod(new object[]{}); + } + + [JsiiMethod("extends", null, "[]")] + public virtual void Extends() + { + InvokeInstanceVoidMethod(new object[]{}); + } + + [JsiiMethod("false", null, "[]")] + public virtual void False() + { + InvokeInstanceVoidMethod(new object[]{}); + } + + [JsiiMethod("final", null, "[]")] + public virtual void Final() + { + InvokeInstanceVoidMethod(new object[]{}); + } + + [JsiiMethod("finally", null, "[]")] + public virtual void Finally() + { + InvokeInstanceVoidMethod(new object[]{}); + } + + [JsiiMethod("float", null, "[]")] + public virtual void Float() + { + InvokeInstanceVoidMethod(new object[]{}); + } + + [JsiiMethod("for", null, "[]")] + public virtual void For() + { + InvokeInstanceVoidMethod(new object[]{}); + } + + [JsiiMethod("goto", null, "[]")] + public virtual void Goto() + { + InvokeInstanceVoidMethod(new object[]{}); + } + + [JsiiMethod("if", null, "[]")] + public virtual void If() + { + InvokeInstanceVoidMethod(new object[]{}); + } + + [JsiiMethod("implements", null, "[]")] + public virtual void Implements() + { + InvokeInstanceVoidMethod(new object[]{}); + } + + [JsiiMethod("import", null, "[]")] + public virtual void Import() + { + InvokeInstanceVoidMethod(new object[]{}); + } + + [JsiiMethod("instanceof", null, "[]")] + public virtual void Instanceof() + { + InvokeInstanceVoidMethod(new object[]{}); + } + + [JsiiMethod("int", null, "[]")] + public virtual void Int() + { + InvokeInstanceVoidMethod(new object[]{}); + } + + [JsiiMethod("interface", null, "[]")] + public virtual void Interface() + { + InvokeInstanceVoidMethod(new object[]{}); + } + + [JsiiMethod("long", null, "[]")] + public virtual void Long() + { + InvokeInstanceVoidMethod(new object[]{}); + } + + [JsiiMethod("native", null, "[]")] + public virtual void Native() + { + InvokeInstanceVoidMethod(new object[]{}); + } + + [JsiiMethod("new", null, "[]")] + public virtual void New() + { + InvokeInstanceVoidMethod(new object[]{}); + } + + [JsiiMethod("null", null, "[]")] + public virtual void Null() + { + InvokeInstanceVoidMethod(new object[]{}); + } + + [JsiiMethod("package", null, "[]")] + public virtual void Package() + { + InvokeInstanceVoidMethod(new object[]{}); + } + + [JsiiMethod("private", null, "[]")] + public virtual void Private() + { + InvokeInstanceVoidMethod(new object[]{}); + } + + [JsiiMethod("protected", null, "[]")] + public virtual void Protected() + { + InvokeInstanceVoidMethod(new object[]{}); + } + + [JsiiMethod("public", null, "[]")] + public virtual void Public() + { + InvokeInstanceVoidMethod(new object[]{}); + } + + [JsiiMethod("return", null, "[]")] + public virtual void Return() + { + InvokeInstanceVoidMethod(new object[]{}); + } + + [JsiiMethod("short", null, "[]")] + public virtual void Short() + { + InvokeInstanceVoidMethod(new object[]{}); + } + + [JsiiMethod("static", null, "[]")] + public virtual void Static() + { + InvokeInstanceVoidMethod(new object[]{}); + } + + [JsiiMethod("strictfp", null, "[]")] + public virtual void Strictfp() + { + InvokeInstanceVoidMethod(new object[]{}); + } + + [JsiiMethod("super", null, "[]")] + public virtual void Super() + { + InvokeInstanceVoidMethod(new object[]{}); + } + + [JsiiMethod("switch", null, "[]")] + public virtual void Switch() + { + InvokeInstanceVoidMethod(new object[]{}); + } + + [JsiiMethod("synchronized", null, "[]")] + public virtual void Synchronized() + { + InvokeInstanceVoidMethod(new object[]{}); + } + + [JsiiMethod("this", null, "[]")] + public virtual void This() + { + InvokeInstanceVoidMethod(new object[]{}); + } + + [JsiiMethod("throw", null, "[]")] + public virtual void Throw() + { + InvokeInstanceVoidMethod(new object[]{}); + } + + [JsiiMethod("throws", null, "[]")] + public virtual void Throws() + { + InvokeInstanceVoidMethod(new object[]{}); + } + + [JsiiMethod("transient", null, "[]")] + public virtual void Transient() + { + InvokeInstanceVoidMethod(new object[]{}); + } + + [JsiiMethod("true", null, "[]")] + public virtual void True() + { + InvokeInstanceVoidMethod(new object[]{}); + } + + [JsiiMethod("try", null, "[]")] + public virtual void Try() + { + InvokeInstanceVoidMethod(new object[]{}); + } + + [JsiiMethod("void", null, "[]")] + public virtual void Void() + { + InvokeInstanceVoidMethod(new object[]{}); + } + + [JsiiMethod("volatile", null, "[]")] + public virtual void Volatile() + { + InvokeInstanceVoidMethod(new object[]{}); + } + } } \ No newline at end of file diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/Multiply.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/Multiply.cs index 24bc728745..ece67dbacb 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/Multiply.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/Multiply.cs @@ -1,57 +1,57 @@ -using Amazon.JSII.Runtime.Deputy; -using Amazon.JSII.Tests.Calculator.Lib; - -namespace Amazon.JSII.Tests.Calculator -{ +using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Tests.Calculator.Lib; + +namespace Amazon.JSII.Tests.Calculator +{ /// The "*" binary operation. - [JsiiClass(typeof(Multiply), "jsii-calc.Multiply", "[{\"name\":\"lhs\",\"type\":{\"fqn\":\"@scope/jsii-calc-lib.Value\"}},{\"name\":\"rhs\",\"type\":{\"fqn\":\"@scope/jsii-calc-lib.Value\"}}]")] - public class Multiply : BinaryOperation, IIFriendlier, IIRandomNumberGenerator - { - public Multiply(Value_ lhs, Value_ rhs): base(new DeputyProps(new object[]{lhs, rhs})) - { - } - - protected Multiply(ByRefValue reference): base(reference) - { - } - - protected Multiply(DeputyProps props): base(props) - { - } - + [JsiiClass(typeof(Multiply), "jsii-calc.Multiply", "[{\"name\":\"lhs\",\"type\":{\"fqn\":\"@scope/jsii-calc-lib.Value\"}},{\"name\":\"rhs\",\"type\":{\"fqn\":\"@scope/jsii-calc-lib.Value\"}}]")] + public class Multiply : BinaryOperation, IIFriendlier, IIRandomNumberGenerator + { + public Multiply(Value_ lhs, Value_ rhs): base(new DeputyProps(new object[]{lhs, rhs})) + { + } + + protected Multiply(ByRefValue reference): base(reference) + { + } + + protected Multiply(DeputyProps props): base(props) + { + } + /// The value. - [JsiiProperty("value", "{\"primitive\":\"number\"}")] - public override double Value - { - get => GetInstanceProperty(); - } - + [JsiiProperty("value", "{\"primitive\":\"number\"}")] + public override double Value + { + get => GetInstanceProperty(); + } + /// String representation of the value. - [JsiiMethod("toString", "{\"primitive\":\"string\"}", "[]")] - public override string ToString() - { - return InvokeInstanceMethod(new object[]{}); - } - + [JsiiMethod("toString", "{\"primitive\":\"string\"}", "[]")] + public override string ToString() + { + return InvokeInstanceMethod(new object[]{}); + } + /// Say goodbye. - [JsiiMethod("goodbye", "{\"primitive\":\"string\"}", "[]")] - public virtual string Goodbye() - { - return InvokeInstanceMethod(new object[]{}); - } - + [JsiiMethod("goodbye", "{\"primitive\":\"string\"}", "[]")] + public virtual string Goodbye() + { + return InvokeInstanceMethod(new object[]{}); + } + /// Say farewell. - [JsiiMethod("farewell", "{\"primitive\":\"string\"}", "[]")] - public virtual string Farewell() - { - return InvokeInstanceMethod(new object[]{}); - } - + [JsiiMethod("farewell", "{\"primitive\":\"string\"}", "[]")] + public virtual string Farewell() + { + return InvokeInstanceMethod(new object[]{}); + } + /// Returns another random number. - [JsiiMethod("next", "{\"primitive\":\"number\"}", "[]")] - public virtual double Next() - { - return InvokeInstanceMethod(new object[]{}); - } - } + [JsiiMethod("next", "{\"primitive\":\"number\"}", "[]")] + public virtual double Next() + { + return InvokeInstanceMethod(new object[]{}); + } + } } \ No newline at end of file diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/Negate.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/Negate.cs index 35a1eda50c..144d71e255 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/Negate.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/Negate.cs @@ -1,57 +1,57 @@ -using Amazon.JSII.Runtime.Deputy; -using Amazon.JSII.Tests.Calculator.Lib; - -namespace Amazon.JSII.Tests.Calculator -{ +using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Tests.Calculator.Lib; + +namespace Amazon.JSII.Tests.Calculator +{ /// The negation operation ("-value") - [JsiiClass(typeof(Negate), "jsii-calc.Negate", "[{\"name\":\"operand\",\"type\":{\"fqn\":\"@scope/jsii-calc-lib.Value\"}}]")] - public class Negate : UnaryOperation, IIFriendlier - { - public Negate(Value_ operand): base(new DeputyProps(new object[]{operand})) - { - } - - protected Negate(ByRefValue reference): base(reference) - { - } - - protected Negate(DeputyProps props): base(props) - { - } - + [JsiiClass(typeof(Negate), "jsii-calc.Negate", "[{\"name\":\"operand\",\"type\":{\"fqn\":\"@scope/jsii-calc-lib.Value\"}}]")] + public class Negate : UnaryOperation, IIFriendlier + { + public Negate(Value_ operand): base(new DeputyProps(new object[]{operand})) + { + } + + protected Negate(ByRefValue reference): base(reference) + { + } + + protected Negate(DeputyProps props): base(props) + { + } + /// The value. - [JsiiProperty("value", "{\"primitive\":\"number\"}")] - public override double Value - { - get => GetInstanceProperty(); - } - + [JsiiProperty("value", "{\"primitive\":\"number\"}")] + public override double Value + { + get => GetInstanceProperty(); + } + /// String representation of the value. - [JsiiMethod("toString", "{\"primitive\":\"string\"}", "[]")] - public override string ToString() - { - return InvokeInstanceMethod(new object[]{}); - } - + [JsiiMethod("toString", "{\"primitive\":\"string\"}", "[]")] + public override string ToString() + { + return InvokeInstanceMethod(new object[]{}); + } + /// Say hello! - [JsiiMethod("hello", "{\"primitive\":\"string\"}", "[]")] - public virtual string Hello() - { - return InvokeInstanceMethod(new object[]{}); - } - + [JsiiMethod("hello", "{\"primitive\":\"string\"}", "[]")] + public virtual string Hello() + { + return InvokeInstanceMethod(new object[]{}); + } + /// Say goodbye. - [JsiiMethod("goodbye", "{\"primitive\":\"string\"}", "[]")] - public virtual string Goodbye() - { - return InvokeInstanceMethod(new object[]{}); - } - + [JsiiMethod("goodbye", "{\"primitive\":\"string\"}", "[]")] + public virtual string Goodbye() + { + return InvokeInstanceMethod(new object[]{}); + } + /// Say farewell. - [JsiiMethod("farewell", "{\"primitive\":\"string\"}", "[]")] - public virtual string Farewell() - { - return InvokeInstanceMethod(new object[]{}); - } - } + [JsiiMethod("farewell", "{\"primitive\":\"string\"}", "[]")] + public virtual string Farewell() + { + return InvokeInstanceMethod(new object[]{}); + } + } } \ No newline at end of file diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/NodeStandardLibrary.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/NodeStandardLibrary.cs index c44619efe1..af1c39e5f7 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/NodeStandardLibrary.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/NodeStandardLibrary.cs @@ -1,52 +1,52 @@ -using Amazon.JSII.Runtime.Deputy; - -namespace Amazon.JSII.Tests.Calculator -{ +using Amazon.JSII.Runtime.Deputy; + +namespace Amazon.JSII.Tests.Calculator +{ /// Test fixture to verify that jsii modules can use the node standard library. - [JsiiClass(typeof(NodeStandardLibrary), "jsii-calc.NodeStandardLibrary", "[]")] - public class NodeStandardLibrary : DeputyBase - { - public NodeStandardLibrary(): base(new DeputyProps(new object[]{})) - { - } - - protected NodeStandardLibrary(ByRefValue reference): base(reference) - { - } - - protected NodeStandardLibrary(DeputyProps props): base(props) - { - } - + [JsiiClass(typeof(NodeStandardLibrary), "jsii-calc.NodeStandardLibrary", "[]")] + public class NodeStandardLibrary : DeputyBase + { + public NodeStandardLibrary(): base(new DeputyProps(new object[]{})) + { + } + + protected NodeStandardLibrary(ByRefValue reference): base(reference) + { + } + + protected NodeStandardLibrary(DeputyProps props): base(props) + { + } + /// Returns the current os.platform() from the "os" node module. - [JsiiProperty("osPlatform", "{\"primitive\":\"string\"}")] - public virtual string OsPlatform - { - get => GetInstanceProperty(); - } - - /// Reads a local resource file (resource.txt) asynchronously. + [JsiiProperty("osPlatform", "{\"primitive\":\"string\"}")] + public virtual string OsPlatform + { + get => GetInstanceProperty(); + } + + /// Reads a local resource file (resource.txt) asynchronously. /// "Hello, resource!" - [JsiiMethod("fsReadFile", "{\"primitive\":\"string\",\"promise\":true}", "[]")] - public virtual string FsReadFile() - { - return InvokeInstanceMethod(new object[]{}); - } - - /// Sync version of fsReadFile. + [JsiiMethod("fsReadFile", "{\"primitive\":\"string\",\"promise\":true}", "[]")] + public virtual string FsReadFile() + { + return InvokeInstanceMethod(new object[]{}); + } + + /// Sync version of fsReadFile. /// "Hello, resource! SYNC!" - [JsiiMethod("fsReadFileSync", "{\"primitive\":\"string\"}", "[]")] - public virtual string FsReadFileSync() - { - return InvokeInstanceMethod(new object[]{}); - } - - /// Uses node.js "crypto" module to calculate sha256 of a string. + [JsiiMethod("fsReadFileSync", "{\"primitive\":\"string\"}", "[]")] + public virtual string FsReadFileSync() + { + return InvokeInstanceMethod(new object[]{}); + } + + /// Uses node.js "crypto" module to calculate sha256 of a string. /// "6a2da20943931e9834fc12cfe5bb47bbd9ae43489a30726962b576f4e3993e50" - [JsiiMethod("cryptoSha256", "{\"primitive\":\"string\"}", "[]")] - public virtual string CryptoSha256() - { - return InvokeInstanceMethod(new object[]{}); - } - } + [JsiiMethod("cryptoSha256", "{\"primitive\":\"string\"}", "[]")] + public virtual string CryptoSha256() + { + return InvokeInstanceMethod(new object[]{}); + } + } } \ No newline at end of file diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/NumberGenerator.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/NumberGenerator.cs index 30a6614226..3d8f96c25d 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/NumberGenerator.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/NumberGenerator.cs @@ -1,43 +1,43 @@ -using Amazon.JSII.Runtime.Deputy; - -namespace Amazon.JSII.Tests.Calculator -{ - /// - /// This allows us to test that a reference can be stored for objects that +using Amazon.JSII.Runtime.Deputy; + +namespace Amazon.JSII.Tests.Calculator +{ + /// + /// This allows us to test that a reference can be stored for objects that /// implement interfaces. /// - [JsiiClass(typeof(NumberGenerator), "jsii-calc.NumberGenerator", "[{\"name\":\"generator\",\"type\":{\"fqn\":\"jsii-calc.IRandomNumberGenerator\"}}]")] - public class NumberGenerator : DeputyBase - { - public NumberGenerator(IIRandomNumberGenerator generator): base(new DeputyProps(new object[]{generator})) - { - } - - protected NumberGenerator(ByRefValue reference): base(reference) - { - } - - protected NumberGenerator(DeputyProps props): base(props) - { - } - - [JsiiProperty("generator", "{\"fqn\":\"jsii-calc.IRandomNumberGenerator\"}")] - public virtual IIRandomNumberGenerator Generator - { - get => GetInstanceProperty(); - set => SetInstanceProperty(value); - } - - [JsiiMethod("nextTimes100", "{\"primitive\":\"number\"}", "[]")] - public virtual double NextTimes100() - { - return InvokeInstanceMethod(new object[]{}); - } - - [JsiiMethod("isSameGenerator", "{\"primitive\":\"boolean\"}", "[{\"name\":\"gen\",\"type\":{\"fqn\":\"jsii-calc.IRandomNumberGenerator\"}}]")] - public virtual bool IsSameGenerator(IIRandomNumberGenerator gen) - { - return InvokeInstanceMethod(new object[]{gen}); - } - } + [JsiiClass(typeof(NumberGenerator), "jsii-calc.NumberGenerator", "[{\"name\":\"generator\",\"type\":{\"fqn\":\"jsii-calc.IRandomNumberGenerator\"}}]")] + public class NumberGenerator : DeputyBase + { + public NumberGenerator(IIRandomNumberGenerator generator): base(new DeputyProps(new object[]{generator})) + { + } + + protected NumberGenerator(ByRefValue reference): base(reference) + { + } + + protected NumberGenerator(DeputyProps props): base(props) + { + } + + [JsiiProperty("generator", "{\"fqn\":\"jsii-calc.IRandomNumberGenerator\"}")] + public virtual IIRandomNumberGenerator Generator + { + get => GetInstanceProperty(); + set => SetInstanceProperty(value); + } + + [JsiiMethod("nextTimes100", "{\"primitive\":\"number\"}", "[]")] + public virtual double NextTimes100() + { + return InvokeInstanceMethod(new object[]{}); + } + + [JsiiMethod("isSameGenerator", "{\"primitive\":\"boolean\"}", "[{\"name\":\"gen\",\"type\":{\"fqn\":\"jsii-calc.IRandomNumberGenerator\"}}]")] + public virtual bool IsSameGenerator(IIRandomNumberGenerator gen) + { + return InvokeInstanceMethod(new object[]{gen}); + } + } } \ No newline at end of file diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/ObjectRefsInCollections.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/ObjectRefsInCollections.cs index 0c95c0fe39..b7a19ac532 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/ObjectRefsInCollections.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/ObjectRefsInCollections.cs @@ -1,37 +1,37 @@ -using Amazon.JSII.Runtime.Deputy; -using Amazon.JSII.Tests.Calculator.Lib; -using System.Collections.Generic; - -namespace Amazon.JSII.Tests.Calculator -{ +using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Tests.Calculator.Lib; +using System.Collections.Generic; + +namespace Amazon.JSII.Tests.Calculator +{ /// Verify that object references can be passed inside collections. - [JsiiClass(typeof(ObjectRefsInCollections), "jsii-calc.ObjectRefsInCollections", "[]")] - public class ObjectRefsInCollections : DeputyBase - { - public ObjectRefsInCollections(): base(new DeputyProps(new object[]{})) - { - } - - protected ObjectRefsInCollections(ByRefValue reference): base(reference) - { - } - - protected ObjectRefsInCollections(DeputyProps props): base(props) - { - } - + [JsiiClass(typeof(ObjectRefsInCollections), "jsii-calc.ObjectRefsInCollections", "[]")] + public class ObjectRefsInCollections : DeputyBase + { + public ObjectRefsInCollections(): base(new DeputyProps(new object[]{})) + { + } + + protected ObjectRefsInCollections(ByRefValue reference): base(reference) + { + } + + protected ObjectRefsInCollections(DeputyProps props): base(props) + { + } + /// Returns the sum of all values - [JsiiMethod("sumFromArray", "{\"primitive\":\"number\"}", "[{\"name\":\"values\",\"type\":{\"collection\":{\"kind\":\"array\",\"elementtype\":{\"fqn\":\"@scope/jsii-calc-lib.Value\"}}}}]")] - public virtual double SumFromArray(Value_[] values) - { - return InvokeInstanceMethod(new object[]{values}); - } - + [JsiiMethod("sumFromArray", "{\"primitive\":\"number\"}", "[{\"name\":\"values\",\"type\":{\"collection\":{\"kind\":\"array\",\"elementtype\":{\"fqn\":\"@scope/jsii-calc-lib.Value\"}}}}]")] + public virtual double SumFromArray(Value_[] values) + { + return InvokeInstanceMethod(new object[]{values}); + } + /// Returns the sum of all values in a map - [JsiiMethod("sumFromMap", "{\"primitive\":\"number\"}", "[{\"name\":\"values\",\"type\":{\"collection\":{\"kind\":\"map\",\"elementtype\":{\"fqn\":\"@scope/jsii-calc-lib.Value\"}}}}]")] - public virtual double SumFromMap(IDictionary values) - { - return InvokeInstanceMethod(new object[]{values}); - } - } + [JsiiMethod("sumFromMap", "{\"primitive\":\"number\"}", "[{\"name\":\"values\",\"type\":{\"collection\":{\"kind\":\"map\",\"elementtype\":{\"fqn\":\"@scope/jsii-calc-lib.Value\"}}}}]")] + public virtual double SumFromMap(IDictionary values) + { + return InvokeInstanceMethod(new object[]{values}); + } + } } \ No newline at end of file diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/OverrideReturnsObject.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/OverrideReturnsObject.cs index 8cac219987..aacfe784a0 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/OverrideReturnsObject.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/OverrideReturnsObject.cs @@ -1,26 +1,26 @@ -using Amazon.JSII.Runtime.Deputy; - -namespace Amazon.JSII.Tests.Calculator -{ - [JsiiClass(typeof(OverrideReturnsObject), "jsii-calc.OverrideReturnsObject", "[]")] - public class OverrideReturnsObject : DeputyBase - { - public OverrideReturnsObject(): base(new DeputyProps(new object[]{})) - { - } - - protected OverrideReturnsObject(ByRefValue reference): base(reference) - { - } - - protected OverrideReturnsObject(DeputyProps props): base(props) - { - } - - [JsiiMethod("test", "{\"primitive\":\"number\"}", "[{\"name\":\"obj\",\"type\":{\"fqn\":\"jsii-calc.ReturnsNumber\"}}]")] - public virtual double Test(IReturnsNumber obj) - { - return InvokeInstanceMethod(new object[]{obj}); - } - } +using Amazon.JSII.Runtime.Deputy; + +namespace Amazon.JSII.Tests.Calculator +{ + [JsiiClass(typeof(OverrideReturnsObject), "jsii-calc.OverrideReturnsObject", "[]")] + public class OverrideReturnsObject : DeputyBase + { + public OverrideReturnsObject(): base(new DeputyProps(new object[]{})) + { + } + + protected OverrideReturnsObject(ByRefValue reference): base(reference) + { + } + + protected OverrideReturnsObject(DeputyProps props): base(props) + { + } + + [JsiiMethod("test", "{\"primitive\":\"number\"}", "[{\"name\":\"obj\",\"type\":{\"fqn\":\"jsii-calc.ReturnsNumber\"}}]")] + public virtual double Test(IReturnsNumber obj) + { + return InvokeInstanceMethod(new object[]{obj}); + } + } } \ No newline at end of file diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/Polymorphism.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/Polymorphism.cs index 94fc656e26..4ce25ce1bc 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/Polymorphism.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/Polymorphism.cs @@ -1,27 +1,27 @@ -using Amazon.JSII.Runtime.Deputy; -using Amazon.JSII.Tests.Calculator.Lib; - -namespace Amazon.JSII.Tests.Calculator -{ - [JsiiClass(typeof(Polymorphism), "jsii-calc.Polymorphism", "[]")] - public class Polymorphism : DeputyBase - { - public Polymorphism(): base(new DeputyProps(new object[]{})) - { - } - - protected Polymorphism(ByRefValue reference): base(reference) - { - } - - protected Polymorphism(DeputyProps props): base(props) - { - } - - [JsiiMethod("sayHello", "{\"primitive\":\"string\"}", "[{\"name\":\"friendly\",\"type\":{\"fqn\":\"@scope/jsii-calc-lib.IFriendly\"}}]")] - public virtual string SayHello(IIFriendly friendly) - { - return InvokeInstanceMethod(new object[]{friendly}); - } - } +using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Tests.Calculator.Lib; + +namespace Amazon.JSII.Tests.Calculator +{ + [JsiiClass(typeof(Polymorphism), "jsii-calc.Polymorphism", "[]")] + public class Polymorphism : DeputyBase + { + public Polymorphism(): base(new DeputyProps(new object[]{})) + { + } + + protected Polymorphism(ByRefValue reference): base(reference) + { + } + + protected Polymorphism(DeputyProps props): base(props) + { + } + + [JsiiMethod("sayHello", "{\"primitive\":\"string\"}", "[{\"name\":\"friendly\",\"type\":{\"fqn\":\"@scope/jsii-calc-lib.IFriendly\"}}]")] + public virtual string SayHello(IIFriendly friendly) + { + return InvokeInstanceMethod(new object[]{friendly}); + } + } } \ No newline at end of file diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/Power.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/Power.cs index 2ad3237d4e..394f909b10 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/Power.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/Power.cs @@ -1,47 +1,47 @@ -using Amazon.JSII.Runtime.Deputy; -using Amazon.JSII.Tests.Calculator.composition; -using Amazon.JSII.Tests.Calculator.Lib; - -namespace Amazon.JSII.Tests.Calculator -{ +using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Tests.Calculator.composition; +using Amazon.JSII.Tests.Calculator.Lib; + +namespace Amazon.JSII.Tests.Calculator +{ /// The power operation. - [JsiiClass(typeof(Power), "jsii-calc.Power", "[{\"name\":\"base\",\"type\":{\"fqn\":\"@scope/jsii-calc-lib.Value\"}},{\"name\":\"pow\",\"type\":{\"fqn\":\"@scope/jsii-calc-lib.Value\"}}]")] - public class Power : CompositeOperation - { - public Power(Value_ @base, Value_ pow): base(new DeputyProps(new object[]{@base, pow})) - { - } - - protected Power(ByRefValue reference): base(reference) - { - } - - protected Power(DeputyProps props): base(props) - { - } - + [JsiiClass(typeof(Power), "jsii-calc.Power", "[{\"name\":\"base\",\"type\":{\"fqn\":\"@scope/jsii-calc-lib.Value\"}},{\"name\":\"pow\",\"type\":{\"fqn\":\"@scope/jsii-calc-lib.Value\"}}]")] + public class Power : CompositeOperation + { + public Power(Value_ @base, Value_ pow): base(new DeputyProps(new object[]{@base, pow})) + { + } + + protected Power(ByRefValue reference): base(reference) + { + } + + protected Power(DeputyProps props): base(props) + { + } + /// The base of the power - [JsiiProperty("base", "{\"fqn\":\"@scope/jsii-calc-lib.Value\"}")] - public virtual Value_ Base - { - get => GetInstanceProperty(); - } - + [JsiiProperty("base", "{\"fqn\":\"@scope/jsii-calc-lib.Value\"}")] + public virtual Value_ Base + { + get => GetInstanceProperty(); + } + /// The number of times to multiply - [JsiiProperty("pow", "{\"fqn\":\"@scope/jsii-calc-lib.Value\"}")] - public virtual Value_ Pow - { - get => GetInstanceProperty(); - } - - /// - /// The expression that this operation consists of. + [JsiiProperty("pow", "{\"fqn\":\"@scope/jsii-calc-lib.Value\"}")] + public virtual Value_ Pow + { + get => GetInstanceProperty(); + } + + /// + /// The expression that this operation consists of. /// Must be implemented by derived classes. /// - [JsiiProperty("expression", "{\"fqn\":\"@scope/jsii-calc-lib.Value\"}")] - public override Value_ Expression - { - get => GetInstanceProperty(); - } - } + [JsiiProperty("expression", "{\"fqn\":\"@scope/jsii-calc-lib.Value\"}")] + public override Value_ Expression + { + get => GetInstanceProperty(); + } + } } \ No newline at end of file diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/ReturnsNumberProxy.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/ReturnsNumberProxy.cs index ce76153f67..9efcdd6965 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/ReturnsNumberProxy.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/ReturnsNumberProxy.cs @@ -1,24 +1,24 @@ -using Amazon.JSII.Runtime.Deputy; - -namespace Amazon.JSII.Tests.Calculator -{ - [JsiiInterfaceProxy(typeof(IReturnsNumber), "jsii-calc.ReturnsNumber")] - internal class ReturnsNumberProxy : DeputyBase, IReturnsNumber - { - private ReturnsNumberProxy(ByRefValue reference): base(reference) - { - } - - [JsiiProperty("numberProp", "{\"primitive\":\"number\"}")] - public virtual double NumberProp - { - get => GetInstanceProperty(); - } - - [JsiiMethod("obtainNumber", "{\"primitive\":\"number\"}", "[]")] - public virtual double ObtainNumber() - { - return InvokeInstanceMethod(new object[]{}); - } - } +using Amazon.JSII.Runtime.Deputy; + +namespace Amazon.JSII.Tests.Calculator +{ + [JsiiInterfaceProxy(typeof(IReturnsNumber), "jsii-calc.ReturnsNumber")] + internal class ReturnsNumberProxy : DeputyBase, IReturnsNumber + { + private ReturnsNumberProxy(ByRefValue reference): base(reference) + { + } + + [JsiiProperty("numberProp", "{\"primitive\":\"number\"}")] + public virtual double NumberProp + { + get => GetInstanceProperty(); + } + + [JsiiMethod("obtainNumber", "{\"primitive\":\"number\"}", "[]")] + public virtual double ObtainNumber() + { + return InvokeInstanceMethod(new object[]{}); + } + } } \ No newline at end of file diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/RuntimeTypeChecking.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/RuntimeTypeChecking.cs index 17a35d16b9..24f65215e7 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/RuntimeTypeChecking.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/RuntimeTypeChecking.cs @@ -1,28 +1,28 @@ -using Amazon.JSII.Runtime.Deputy; -using System; - -namespace Amazon.JSII.Tests.Calculator -{ - [JsiiClass(typeof(RuntimeTypeChecking), "jsii-calc.RuntimeTypeChecking", "[]")] - public class RuntimeTypeChecking : DeputyBase - { - public RuntimeTypeChecking(): base(new DeputyProps(new object[]{})) - { - } - - protected RuntimeTypeChecking(ByRefValue reference): base(reference) - { - } - - protected RuntimeTypeChecking(DeputyProps props): base(props) - { - } - +using Amazon.JSII.Runtime.Deputy; +using System; + +namespace Amazon.JSII.Tests.Calculator +{ + [JsiiClass(typeof(RuntimeTypeChecking), "jsii-calc.RuntimeTypeChecking", "[]")] + public class RuntimeTypeChecking : DeputyBase + { + public RuntimeTypeChecking(): base(new DeputyProps(new object[]{})) + { + } + + protected RuntimeTypeChecking(ByRefValue reference): base(reference) + { + } + + protected RuntimeTypeChecking(DeputyProps props): base(props) + { + } + /// Used to verify verification of number of method arguments. - [JsiiMethod("methodWithOptionalArguments", null, "[{\"name\":\"arg1\",\"type\":{\"primitive\":\"number\"}},{\"name\":\"arg2\",\"type\":{\"primitive\":\"string\"}},{\"name\":\"arg3\",\"type\":{\"primitive\":\"date\",\"optional\":true}}]")] - public virtual void MethodWithOptionalArguments(double arg1, string arg2, DateTime? arg3) - { - InvokeInstanceVoidMethod(new object[]{arg1, arg2, arg3}); - } - } + [JsiiMethod("methodWithOptionalArguments", null, "[{\"name\":\"arg1\",\"type\":{\"primitive\":\"number\"}},{\"name\":\"arg2\",\"type\":{\"primitive\":\"string\"}},{\"name\":\"arg3\",\"type\":{\"primitive\":\"date\",\"optional\":true}}]")] + public virtual void MethodWithOptionalArguments(double arg1, string arg2, DateTime? arg3) + { + InvokeInstanceVoidMethod(new object[]{arg1, arg2, arg3}); + } + } } \ No newline at end of file diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/Statics.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/Statics.cs index 52bf3ea73b..1ba665fd35 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/Statics.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/Statics.cs @@ -1,90 +1,90 @@ -using Amazon.JSII.Runtime.Deputy; -using System.Collections.Generic; - -namespace Amazon.JSII.Tests.Calculator -{ - [JsiiClass(typeof(Statics), "jsii-calc.Statics", "[{\"name\":\"value\",\"type\":{\"primitive\":\"string\"}}]")] - public class Statics : DeputyBase - { - public Statics(string value): base(new DeputyProps(new object[]{value})) - { - } - - protected Statics(ByRefValue reference): base(reference) - { - } - - protected Statics(DeputyProps props): base(props) - { - } - - [JsiiProperty("value", "{\"primitive\":\"string\"}")] - public virtual string Value - { - get => GetInstanceProperty(); - } - +using Amazon.JSII.Runtime.Deputy; +using System.Collections.Generic; + +namespace Amazon.JSII.Tests.Calculator +{ + [JsiiClass(typeof(Statics), "jsii-calc.Statics", "[{\"name\":\"value\",\"type\":{\"primitive\":\"string\"}}]")] + public class Statics : DeputyBase + { + public Statics(string value): base(new DeputyProps(new object[]{value})) + { + } + + protected Statics(ByRefValue reference): base(reference) + { + } + + protected Statics(DeputyProps props): base(props) + { + } + + [JsiiProperty("value", "{\"primitive\":\"string\"}")] + public virtual string Value + { + get => GetInstanceProperty(); + } + /// Jsdocs for static property. - [JsiiProperty("Foo", "{\"primitive\":\"string\"}")] - public static string Foo - { - get; - } - - = GetStaticProperty(typeof(Statics)); + [JsiiProperty("Foo", "{\"primitive\":\"string\"}")] + public static string Foo + { + get; + } + + = GetStaticProperty(typeof(Statics)); /// Constants may also use all-caps. - [JsiiProperty("BAR", "{\"primitive\":\"number\"}")] - public static double BAR - { - get; - } - - = GetStaticProperty(typeof(Statics)); + [JsiiProperty("BAR", "{\"primitive\":\"number\"}")] + public static double BAR + { + get; + } + + = GetStaticProperty(typeof(Statics)); /// Constants can also use camelCase. - [JsiiProperty("zooBar", "{\"collection\":{\"kind\":\"map\",\"elementtype\":{\"primitive\":\"string\"}}}")] - public static IDictionary ZooBar - { - get; - } - - = GetStaticProperty>(typeof(Statics)); - /// - /// Jsdocs for static getter. + [JsiiProperty("zooBar", "{\"collection\":{\"kind\":\"map\",\"elementtype\":{\"primitive\":\"string\"}}}")] + public static IDictionary ZooBar + { + get; + } + + = GetStaticProperty>(typeof(Statics)); + /// + /// Jsdocs for static getter. /// Jsdocs for static setter. /// - [JsiiProperty("instance", "{\"fqn\":\"jsii-calc.Statics\"}")] - public static Statics Instance - { - get => GetStaticProperty(typeof(Statics)); - set => SetStaticProperty(typeof(Statics), value); - } - - [JsiiProperty("nonConstStatic", "{\"primitive\":\"number\"}")] - public static double NonConstStatic - { - get => GetStaticProperty(typeof(Statics)); - set => SetStaticProperty(typeof(Statics), value); - } - - [JsiiProperty("ConstObj", "{\"fqn\":\"jsii-calc.DoubleTrouble\"}")] - public static DoubleTrouble ConstObj - { - get; - } - - = GetStaticProperty(typeof(Statics)); - /// Jsdocs for static method + [JsiiProperty("instance", "{\"fqn\":\"jsii-calc.Statics\"}")] + public static Statics Instance + { + get => GetStaticProperty(typeof(Statics)); + set => SetStaticProperty(typeof(Statics), value); + } + + [JsiiProperty("nonConstStatic", "{\"primitive\":\"number\"}")] + public static double NonConstStatic + { + get => GetStaticProperty(typeof(Statics)); + set => SetStaticProperty(typeof(Statics), value); + } + + [JsiiProperty("ConstObj", "{\"fqn\":\"jsii-calc.DoubleTrouble\"}")] + public static DoubleTrouble ConstObj + { + get; + } + + = GetStaticProperty(typeof(Statics)); + /// Jsdocs for static method /// The name of the person to say hello to - [JsiiMethod("staticMethod", "{\"primitive\":\"string\"}", "[{\"name\":\"name\",\"type\":{\"primitive\":\"string\"}}]")] - public static string StaticMethod(string name) - { - return InvokeStaticMethod(typeof(Statics), new object[]{name}); - } - - [JsiiMethod("justMethod", "{\"primitive\":\"string\"}", "[]")] - public virtual string JustMethod() - { - return InvokeInstanceMethod(new object[]{}); - } - } + [JsiiMethod("staticMethod", "{\"primitive\":\"string\"}", "[{\"name\":\"name\",\"type\":{\"primitive\":\"string\"}}]")] + public static string StaticMethod(string name) + { + return InvokeStaticMethod(typeof(Statics), new object[]{name}); + } + + [JsiiMethod("justMethod", "{\"primitive\":\"string\"}", "[]")] + public virtual string JustMethod() + { + return InvokeInstanceMethod(new object[]{}); + } + } } \ No newline at end of file diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/StringEnum.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/StringEnum.cs index 4f27f6207f..076820f21a 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/StringEnum.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/StringEnum.cs @@ -1,15 +1,15 @@ -using Amazon.JSII.Runtime.Deputy; - -namespace Amazon.JSII.Tests.Calculator -{ - [JsiiEnum(typeof(StringEnum), "jsii-calc.StringEnum")] - public enum StringEnum - { - [JsiiEnumMember("A")] - A, - [JsiiEnumMember("B")] - B, - [JsiiEnumMember("C")] - C - } +using Amazon.JSII.Runtime.Deputy; + +namespace Amazon.JSII.Tests.Calculator +{ + [JsiiEnum(typeof(StringEnum), "jsii-calc.StringEnum")] + public enum StringEnum + { + [JsiiEnumMember("A")] + A, + [JsiiEnumMember("B")] + B, + [JsiiEnumMember("C")] + C + } } \ No newline at end of file diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/Sum.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/Sum.cs index d35c054a15..4fd9da8f99 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/Sum.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/Sum.cs @@ -1,41 +1,41 @@ -using Amazon.JSII.Runtime.Deputy; -using Amazon.JSII.Tests.Calculator.composition; -using Amazon.JSII.Tests.Calculator.Lib; - -namespace Amazon.JSII.Tests.Calculator -{ +using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Tests.Calculator.composition; +using Amazon.JSII.Tests.Calculator.Lib; + +namespace Amazon.JSII.Tests.Calculator +{ /// An operation that sums multiple values. - [JsiiClass(typeof(Sum), "jsii-calc.Sum", "[]")] - public class Sum : CompositeOperation - { - public Sum(): base(new DeputyProps(new object[]{})) - { - } - - protected Sum(ByRefValue reference): base(reference) - { - } - - protected Sum(DeputyProps props): base(props) - { - } - + [JsiiClass(typeof(Sum), "jsii-calc.Sum", "[]")] + public class Sum : CompositeOperation + { + public Sum(): base(new DeputyProps(new object[]{})) + { + } + + protected Sum(ByRefValue reference): base(reference) + { + } + + protected Sum(DeputyProps props): base(props) + { + } + /// The parts to sum. - [JsiiProperty("parts", "{\"collection\":{\"kind\":\"array\",\"elementtype\":{\"fqn\":\"@scope/jsii-calc-lib.Value\"}}}")] - public virtual Value_[] Parts - { - get => GetInstanceProperty(); - set => SetInstanceProperty(value); - } - - /// - /// The expression that this operation consists of. + [JsiiProperty("parts", "{\"collection\":{\"kind\":\"array\",\"elementtype\":{\"fqn\":\"@scope/jsii-calc-lib.Value\"}}}")] + public virtual Value_[] Parts + { + get => GetInstanceProperty(); + set => SetInstanceProperty(value); + } + + /// + /// The expression that this operation consists of. /// Must be implemented by derived classes. /// - [JsiiProperty("expression", "{\"fqn\":\"@scope/jsii-calc-lib.Value\"}")] - public override Value_ Expression - { - get => GetInstanceProperty(); - } - } + [JsiiProperty("expression", "{\"fqn\":\"@scope/jsii-calc-lib.Value\"}")] + public override Value_ Expression + { + get => GetInstanceProperty(); + } + } } \ No newline at end of file diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/SyncVirtualMethods.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/SyncVirtualMethods.cs index e76a0eff40..f20bee8430 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/SyncVirtualMethods.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/SyncVirtualMethods.cs @@ -1,121 +1,121 @@ -using Amazon.JSII.Runtime.Deputy; - -namespace Amazon.JSII.Tests.Calculator -{ - [JsiiClass(typeof(SyncVirtualMethods), "jsii-calc.SyncVirtualMethods", "[]")] - public class SyncVirtualMethods : DeputyBase - { - public SyncVirtualMethods(): base(new DeputyProps(new object[]{})) - { - } - - protected SyncVirtualMethods(ByRefValue reference): base(reference) - { - } - - protected SyncVirtualMethods(DeputyProps props): base(props) - { - } - - [JsiiProperty("callerIsProperty", "{\"primitive\":\"number\"}")] - public virtual double CallerIsProperty - { - get => GetInstanceProperty(); - set => SetInstanceProperty(value); - } - - [JsiiProperty("theProperty", "{\"primitive\":\"string\"}")] - public virtual string TheProperty - { - get => GetInstanceProperty(); - set => SetInstanceProperty(value); - } - - [JsiiProperty("readonlyProperty", "{\"primitive\":\"string\"}")] - public virtual string ReadonlyProperty - { - get => GetInstanceProperty(); - } - - [JsiiProperty("otherProperty", "{\"primitive\":\"string\"}")] - public virtual string OtherProperty - { - get => GetInstanceProperty(); - set => SetInstanceProperty(value); - } - - [JsiiProperty("valueOfOtherProperty", "{\"primitive\":\"string\"}")] - public virtual string ValueOfOtherProperty - { - get => GetInstanceProperty(); - set => SetInstanceProperty(value); - } - - [JsiiProperty("a", "{\"primitive\":\"number\"}")] - public virtual double A - { - get => GetInstanceProperty(); - set => SetInstanceProperty(value); - } - - [JsiiMethod("callerIsMethod", "{\"primitive\":\"number\"}", "[]")] - public virtual double CallerIsMethod() - { - return InvokeInstanceMethod(new object[]{}); - } - - [JsiiMethod("callerIsAsync", "{\"primitive\":\"number\",\"promise\":true}", "[]")] - public virtual double CallerIsAsync() - { - return InvokeInstanceMethod(new object[]{}); - } - - [JsiiMethod("virtualMethod", "{\"primitive\":\"number\"}", "[{\"name\":\"n\",\"type\":{\"primitive\":\"number\"}}]")] - public virtual double VirtualMethod(double n) - { - return InvokeInstanceMethod(new object[]{n}); - } - - [JsiiMethod("modifyValueOfTheProperty", null, "[{\"name\":\"value\",\"type\":{\"primitive\":\"string\"}}]")] - public virtual void ModifyValueOfTheProperty(string value) - { - InvokeInstanceVoidMethod(new object[]{value}); - } - - [JsiiMethod("retrieveValueOfTheProperty", "{\"primitive\":\"string\"}", "[]")] - public virtual string RetrieveValueOfTheProperty() - { - return InvokeInstanceMethod(new object[]{}); - } - - [JsiiMethod("retrieveReadOnlyProperty", "{\"primitive\":\"string\"}", "[]")] - public virtual string RetrieveReadOnlyProperty() - { - return InvokeInstanceMethod(new object[]{}); - } - - [JsiiMethod("modifyOtherProperty", null, "[{\"name\":\"value\",\"type\":{\"primitive\":\"string\"}}]")] - public virtual void ModifyOtherProperty(string value) - { - InvokeInstanceVoidMethod(new object[]{value}); - } - - [JsiiMethod("retrieveOtherProperty", "{\"primitive\":\"string\"}", "[]")] - public virtual string RetrieveOtherProperty() - { - return InvokeInstanceMethod(new object[]{}); - } - - [JsiiMethod("readA", "{\"primitive\":\"number\"}", "[]")] - public virtual double ReadA() - { - return InvokeInstanceMethod(new object[]{}); - } - - [JsiiMethod("writeA", null, "[{\"name\":\"value\",\"type\":{\"primitive\":\"number\"}}]")] - public virtual void WriteA(double value) - { - InvokeInstanceVoidMethod(new object[]{value}); - } - } +using Amazon.JSII.Runtime.Deputy; + +namespace Amazon.JSII.Tests.Calculator +{ + [JsiiClass(typeof(SyncVirtualMethods), "jsii-calc.SyncVirtualMethods", "[]")] + public class SyncVirtualMethods : DeputyBase + { + public SyncVirtualMethods(): base(new DeputyProps(new object[]{})) + { + } + + protected SyncVirtualMethods(ByRefValue reference): base(reference) + { + } + + protected SyncVirtualMethods(DeputyProps props): base(props) + { + } + + [JsiiProperty("callerIsProperty", "{\"primitive\":\"number\"}")] + public virtual double CallerIsProperty + { + get => GetInstanceProperty(); + set => SetInstanceProperty(value); + } + + [JsiiProperty("theProperty", "{\"primitive\":\"string\"}")] + public virtual string TheProperty + { + get => GetInstanceProperty(); + set => SetInstanceProperty(value); + } + + [JsiiProperty("readonlyProperty", "{\"primitive\":\"string\"}")] + public virtual string ReadonlyProperty + { + get => GetInstanceProperty(); + } + + [JsiiProperty("otherProperty", "{\"primitive\":\"string\"}")] + public virtual string OtherProperty + { + get => GetInstanceProperty(); + set => SetInstanceProperty(value); + } + + [JsiiProperty("valueOfOtherProperty", "{\"primitive\":\"string\"}")] + public virtual string ValueOfOtherProperty + { + get => GetInstanceProperty(); + set => SetInstanceProperty(value); + } + + [JsiiProperty("a", "{\"primitive\":\"number\"}")] + public virtual double A + { + get => GetInstanceProperty(); + set => SetInstanceProperty(value); + } + + [JsiiMethod("callerIsMethod", "{\"primitive\":\"number\"}", "[]")] + public virtual double CallerIsMethod() + { + return InvokeInstanceMethod(new object[]{}); + } + + [JsiiMethod("callerIsAsync", "{\"primitive\":\"number\",\"promise\":true}", "[]")] + public virtual double CallerIsAsync() + { + return InvokeInstanceMethod(new object[]{}); + } + + [JsiiMethod("virtualMethod", "{\"primitive\":\"number\"}", "[{\"name\":\"n\",\"type\":{\"primitive\":\"number\"}}]")] + public virtual double VirtualMethod(double n) + { + return InvokeInstanceMethod(new object[]{n}); + } + + [JsiiMethod("modifyValueOfTheProperty", null, "[{\"name\":\"value\",\"type\":{\"primitive\":\"string\"}}]")] + public virtual void ModifyValueOfTheProperty(string value) + { + InvokeInstanceVoidMethod(new object[]{value}); + } + + [JsiiMethod("retrieveValueOfTheProperty", "{\"primitive\":\"string\"}", "[]")] + public virtual string RetrieveValueOfTheProperty() + { + return InvokeInstanceMethod(new object[]{}); + } + + [JsiiMethod("retrieveReadOnlyProperty", "{\"primitive\":\"string\"}", "[]")] + public virtual string RetrieveReadOnlyProperty() + { + return InvokeInstanceMethod(new object[]{}); + } + + [JsiiMethod("modifyOtherProperty", null, "[{\"name\":\"value\",\"type\":{\"primitive\":\"string\"}}]")] + public virtual void ModifyOtherProperty(string value) + { + InvokeInstanceVoidMethod(new object[]{value}); + } + + [JsiiMethod("retrieveOtherProperty", "{\"primitive\":\"string\"}", "[]")] + public virtual string RetrieveOtherProperty() + { + return InvokeInstanceMethod(new object[]{}); + } + + [JsiiMethod("readA", "{\"primitive\":\"number\"}", "[]")] + public virtual double ReadA() + { + return InvokeInstanceMethod(new object[]{}); + } + + [JsiiMethod("writeA", null, "[{\"name\":\"value\",\"type\":{\"primitive\":\"number\"}}]")] + public virtual void WriteA(double value) + { + InvokeInstanceVoidMethod(new object[]{value}); + } + } } \ No newline at end of file diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/Thrower.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/Thrower.cs index ef677c217a..75dfd2e725 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/Thrower.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/Thrower.cs @@ -1,26 +1,26 @@ -using Amazon.JSII.Runtime.Deputy; - -namespace Amazon.JSII.Tests.Calculator -{ - [JsiiClass(typeof(Thrower), "jsii-calc.Thrower", "[]")] - public class Thrower : DeputyBase - { - public Thrower(): base(new DeputyProps(new object[]{})) - { - } - - protected Thrower(ByRefValue reference): base(reference) - { - } - - protected Thrower(DeputyProps props): base(props) - { - } - - [JsiiMethod("throwError", null, "[]")] - public virtual void ThrowError() - { - InvokeInstanceVoidMethod(new object[]{}); - } - } +using Amazon.JSII.Runtime.Deputy; + +namespace Amazon.JSII.Tests.Calculator +{ + [JsiiClass(typeof(Thrower), "jsii-calc.Thrower", "[]")] + public class Thrower : DeputyBase + { + public Thrower(): base(new DeputyProps(new object[]{})) + { + } + + protected Thrower(ByRefValue reference): base(reference) + { + } + + protected Thrower(DeputyProps props): base(props) + { + } + + [JsiiMethod("throwError", null, "[]")] + public virtual void ThrowError() + { + InvokeInstanceVoidMethod(new object[]{}); + } + } } \ No newline at end of file diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/UnaryOperation.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/UnaryOperation.cs index 4341082e2d..9825fc649b 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/UnaryOperation.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/UnaryOperation.cs @@ -1,28 +1,28 @@ -using Amazon.JSII.Runtime.Deputy; -using Amazon.JSII.Tests.Calculator.Lib; - -namespace Amazon.JSII.Tests.Calculator -{ +using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Tests.Calculator.Lib; + +namespace Amazon.JSII.Tests.Calculator +{ /// An operation on a single operand. - [JsiiClass(typeof(UnaryOperation), "jsii-calc.UnaryOperation", "[{\"name\":\"operand\",\"type\":{\"fqn\":\"@scope/jsii-calc-lib.Value\"}}]")] - public abstract class UnaryOperation : Operation - { - protected UnaryOperation(Value_ operand): base(new DeputyProps(new object[]{operand})) - { - } - - protected UnaryOperation(ByRefValue reference): base(reference) - { - } - - protected UnaryOperation(DeputyProps props): base(props) - { - } - - [JsiiProperty("operand", "{\"fqn\":\"@scope/jsii-calc-lib.Value\"}")] - public virtual Value_ Operand - { - get => GetInstanceProperty(); - } - } + [JsiiClass(typeof(UnaryOperation), "jsii-calc.UnaryOperation", "[{\"name\":\"operand\",\"type\":{\"fqn\":\"@scope/jsii-calc-lib.Value\"}}]")] + public abstract class UnaryOperation : Operation + { + protected UnaryOperation(Value_ operand): base(new DeputyProps(new object[]{operand})) + { + } + + protected UnaryOperation(ByRefValue reference): base(reference) + { + } + + protected UnaryOperation(DeputyProps props): base(props) + { + } + + [JsiiProperty("operand", "{\"fqn\":\"@scope/jsii-calc-lib.Value\"}")] + public virtual Value_ Operand + { + get => GetInstanceProperty(); + } + } } \ No newline at end of file diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/UnionProperties.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/UnionProperties.cs index 7636e8e2ba..b94576af4b 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/UnionProperties.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/UnionProperties.cs @@ -1,20 +1,20 @@ -using Amazon.JSII.Runtime.Deputy; - -namespace Amazon.JSII.Tests.Calculator -{ - public class UnionProperties : DeputyBase, IUnionProperties - { - [JsiiProperty("foo", "{\"union\":{\"types\":[{\"primitive\":\"string\"},{\"primitive\":\"number\"}]},\"optional\":true}", true)] - public object Foo - { - get; - set; - } - - [JsiiProperty("bar", "{\"union\":{\"types\":[{\"primitive\":\"string\"},{\"primitive\":\"number\"},{\"fqn\":\"jsii-calc.AllTypes\"}]}}", true)] - public object Bar - { - get; - } - } +using Amazon.JSII.Runtime.Deputy; + +namespace Amazon.JSII.Tests.Calculator +{ + public class UnionProperties : DeputyBase, IUnionProperties + { + [JsiiProperty("foo", "{\"union\":{\"types\":[{\"primitive\":\"string\"},{\"primitive\":\"number\"}]},\"optional\":true}", true)] + public object Foo + { + get; + set; + } + + [JsiiProperty("bar", "{\"union\":{\"types\":[{\"primitive\":\"string\"},{\"primitive\":\"number\"},{\"fqn\":\"jsii-calc.AllTypes\"}]}}", true)] + public object Bar + { + get; + } + } } \ No newline at end of file diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/UnionPropertiesProxy.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/UnionPropertiesProxy.cs index ac6b9361f6..6aecc5d06b 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/UnionPropertiesProxy.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/UnionPropertiesProxy.cs @@ -1,25 +1,25 @@ -using Amazon.JSII.Runtime.Deputy; - -namespace Amazon.JSII.Tests.Calculator -{ - [JsiiInterfaceProxy(typeof(IUnionProperties), "jsii-calc.UnionProperties")] - internal class UnionPropertiesProxy : DeputyBase, IUnionProperties - { - private UnionPropertiesProxy(ByRefValue reference): base(reference) - { - } - - [JsiiProperty("foo", "{\"union\":{\"types\":[{\"primitive\":\"string\"},{\"primitive\":\"number\"}]},\"optional\":true}")] - public virtual object Foo - { - get => GetInstanceProperty(); - set => SetInstanceProperty(value); - } - - [JsiiProperty("bar", "{\"union\":{\"types\":[{\"primitive\":\"string\"},{\"primitive\":\"number\"},{\"fqn\":\"jsii-calc.AllTypes\"}]}}")] - public virtual object Bar - { - get => GetInstanceProperty(); - } - } +using Amazon.JSII.Runtime.Deputy; + +namespace Amazon.JSII.Tests.Calculator +{ + [JsiiInterfaceProxy(typeof(IUnionProperties), "jsii-calc.UnionProperties")] + internal class UnionPropertiesProxy : DeputyBase, IUnionProperties + { + private UnionPropertiesProxy(ByRefValue reference): base(reference) + { + } + + [JsiiProperty("foo", "{\"union\":{\"types\":[{\"primitive\":\"string\"},{\"primitive\":\"number\"}]},\"optional\":true}")] + public virtual object Foo + { + get => GetInstanceProperty(); + set => SetInstanceProperty(value); + } + + [JsiiProperty("bar", "{\"union\":{\"types\":[{\"primitive\":\"string\"},{\"primitive\":\"number\"},{\"fqn\":\"jsii-calc.AllTypes\"}]}}")] + public virtual object Bar + { + get => GetInstanceProperty(); + } + } } \ No newline at end of file diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/UseBundledDependency.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/UseBundledDependency.cs index 3f59795d03..b16f053dc9 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/UseBundledDependency.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/UseBundledDependency.cs @@ -1,26 +1,26 @@ -using Amazon.JSII.Runtime.Deputy; - -namespace Amazon.JSII.Tests.Calculator -{ - [JsiiClass(typeof(UseBundledDependency), "jsii-calc.UseBundledDependency", "[]")] - public class UseBundledDependency : DeputyBase - { - public UseBundledDependency(): base(new DeputyProps(new object[]{})) - { - } - - protected UseBundledDependency(ByRefValue reference): base(reference) - { - } - - protected UseBundledDependency(DeputyProps props): base(props) - { - } - - [JsiiMethod("value", "{\"primitive\":\"any\"}", "[]")] - public virtual object Value() - { - return InvokeInstanceMethod(new object[]{}); - } - } +using Amazon.JSII.Runtime.Deputy; + +namespace Amazon.JSII.Tests.Calculator +{ + [JsiiClass(typeof(UseBundledDependency), "jsii-calc.UseBundledDependency", "[]")] + public class UseBundledDependency : DeputyBase + { + public UseBundledDependency(): base(new DeputyProps(new object[]{})) + { + } + + protected UseBundledDependency(ByRefValue reference): base(reference) + { + } + + protected UseBundledDependency(DeputyProps props): base(props) + { + } + + [JsiiMethod("value", "{\"primitive\":\"any\"}", "[]")] + public virtual object Value() + { + return InvokeInstanceMethod(new object[]{}); + } + } } \ No newline at end of file diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/UseCalcBase.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/UseCalcBase.cs index 2c75c20a56..d15020528e 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/UseCalcBase.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/UseCalcBase.cs @@ -1,28 +1,28 @@ -using Amazon.JSII.Runtime.Deputy; -using Amazon.JSII.Tests.Calculator.Base; - -namespace Amazon.JSII.Tests.Calculator -{ +using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Tests.Calculator.Base; + +namespace Amazon.JSII.Tests.Calculator +{ /// Depend on a type from jsii-calc-base as a test for awslabs/jsii#128 - [JsiiClass(typeof(UseCalcBase), "jsii-calc.UseCalcBase", "[]")] - public class UseCalcBase : DeputyBase - { - public UseCalcBase(): base(new DeputyProps(new object[]{})) - { - } - - protected UseCalcBase(ByRefValue reference): base(reference) - { - } - - protected UseCalcBase(DeputyProps props): base(props) - { - } - - [JsiiMethod("hello", "{\"fqn\":\"@scope/jsii-calc-base.Base\"}", "[]")] - public virtual Base_ Hello() - { - return InvokeInstanceMethod(new object[]{}); - } - } + [JsiiClass(typeof(UseCalcBase), "jsii-calc.UseCalcBase", "[]")] + public class UseCalcBase : DeputyBase + { + public UseCalcBase(): base(new DeputyProps(new object[]{})) + { + } + + protected UseCalcBase(ByRefValue reference): base(reference) + { + } + + protected UseCalcBase(DeputyProps props): base(props) + { + } + + [JsiiMethod("hello", "{\"fqn\":\"@scope/jsii-calc-base.Base\"}", "[]")] + public virtual Base_ Hello() + { + return InvokeInstanceMethod(new object[]{}); + } + } } \ No newline at end of file diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/UsesInterfaceWithProperties.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/UsesInterfaceWithProperties.cs index 1e9dba72d5..32ed9916e0 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/UsesInterfaceWithProperties.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/UsesInterfaceWithProperties.cs @@ -1,44 +1,44 @@ -using Amazon.JSII.Runtime.Deputy; - -namespace Amazon.JSII.Tests.Calculator -{ - [JsiiClass(typeof(UsesInterfaceWithProperties), "jsii-calc.UsesInterfaceWithProperties", "[{\"name\":\"obj\",\"type\":{\"fqn\":\"jsii-calc.IInterfaceWithProperties\"}}]")] - public class UsesInterfaceWithProperties : DeputyBase - { - public UsesInterfaceWithProperties(IIInterfaceWithProperties obj): base(new DeputyProps(new object[]{obj})) - { - } - - protected UsesInterfaceWithProperties(ByRefValue reference): base(reference) - { - } - - protected UsesInterfaceWithProperties(DeputyProps props): base(props) - { - } - - [JsiiProperty("obj", "{\"fqn\":\"jsii-calc.IInterfaceWithProperties\"}")] - public virtual IIInterfaceWithProperties Obj - { - get => GetInstanceProperty(); - } - - [JsiiMethod("justRead", "{\"primitive\":\"string\"}", "[]")] - public virtual string JustRead() - { - return InvokeInstanceMethod(new object[]{}); - } - - [JsiiMethod("writeAndRead", "{\"primitive\":\"string\"}", "[{\"name\":\"value\",\"type\":{\"primitive\":\"string\"}}]")] - public virtual string WriteAndRead(string value) - { - return InvokeInstanceMethod(new object[]{value}); - } - - [JsiiMethod("readStringAndNumber", "{\"primitive\":\"string\"}", "[{\"name\":\"ext\",\"type\":{\"fqn\":\"jsii-calc.IInterfaceWithPropertiesExtension\"}}]")] - public virtual string ReadStringAndNumber(IIInterfaceWithPropertiesExtension ext) - { - return InvokeInstanceMethod(new object[]{ext}); - } - } +using Amazon.JSII.Runtime.Deputy; + +namespace Amazon.JSII.Tests.Calculator +{ + [JsiiClass(typeof(UsesInterfaceWithProperties), "jsii-calc.UsesInterfaceWithProperties", "[{\"name\":\"obj\",\"type\":{\"fqn\":\"jsii-calc.IInterfaceWithProperties\"}}]")] + public class UsesInterfaceWithProperties : DeputyBase + { + public UsesInterfaceWithProperties(IIInterfaceWithProperties obj): base(new DeputyProps(new object[]{obj})) + { + } + + protected UsesInterfaceWithProperties(ByRefValue reference): base(reference) + { + } + + protected UsesInterfaceWithProperties(DeputyProps props): base(props) + { + } + + [JsiiProperty("obj", "{\"fqn\":\"jsii-calc.IInterfaceWithProperties\"}")] + public virtual IIInterfaceWithProperties Obj + { + get => GetInstanceProperty(); + } + + [JsiiMethod("justRead", "{\"primitive\":\"string\"}", "[]")] + public virtual string JustRead() + { + return InvokeInstanceMethod(new object[]{}); + } + + [JsiiMethod("writeAndRead", "{\"primitive\":\"string\"}", "[{\"name\":\"value\",\"type\":{\"primitive\":\"string\"}}]")] + public virtual string WriteAndRead(string value) + { + return InvokeInstanceMethod(new object[]{value}); + } + + [JsiiMethod("readStringAndNumber", "{\"primitive\":\"string\"}", "[{\"name\":\"ext\",\"type\":{\"fqn\":\"jsii-calc.IInterfaceWithPropertiesExtension\"}}]")] + public virtual string ReadStringAndNumber(IIInterfaceWithPropertiesExtension ext) + { + return InvokeInstanceMethod(new object[]{ext}); + } + } } \ No newline at end of file diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/VariadicMethod.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/VariadicMethod.cs index 4259fddb4b..cfab17985c 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/VariadicMethod.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/VariadicMethod.cs @@ -1,28 +1,28 @@ -using Amazon.JSII.Runtime.Deputy; - -namespace Amazon.JSII.Tests.Calculator -{ - [JsiiClass(typeof(VariadicMethod), "jsii-calc.VariadicMethod", "[{\"name\":\"prefix\",\"type\":{\"primitive\":\"number\"}}]")] - public class VariadicMethod : DeputyBase - { - public VariadicMethod(double prefix): base(new DeputyProps(new object[]{prefix})) - { - } - - protected VariadicMethod(ByRefValue reference): base(reference) - { - } - - protected VariadicMethod(DeputyProps props): base(props) - { - } - - /// the first element of the array to be returned (after the ``prefix`` provided at construction time). +using Amazon.JSII.Runtime.Deputy; + +namespace Amazon.JSII.Tests.Calculator +{ + [JsiiClass(typeof(VariadicMethod), "jsii-calc.VariadicMethod", "[{\"name\":\"prefix\",\"type\":{\"primitive\":\"number\"}}]")] + public class VariadicMethod : DeputyBase + { + public VariadicMethod(double prefix): base(new DeputyProps(new object[]{prefix})) + { + } + + protected VariadicMethod(ByRefValue reference): base(reference) + { + } + + protected VariadicMethod(DeputyProps props): base(props) + { + } + + /// the first element of the array to be returned (after the ``prefix`` provided at construction time). /// other elements to be included in the array. - [JsiiMethod("asArray", "{\"collection\":{\"kind\":\"array\",\"elementtype\":{\"primitive\":\"number\"}}}", "[{\"name\":\"first\",\"type\":{\"primitive\":\"number\"}},{\"name\":\"others\",\"type\":{\"primitive\":\"number\"}}]")] - public virtual double[] AsArray(double first, double others) - { - return InvokeInstanceMethod(new object[]{first, others}); - } - } + [JsiiMethod("asArray", "{\"collection\":{\"kind\":\"array\",\"elementtype\":{\"primitive\":\"number\"}}}", "[{\"name\":\"first\",\"type\":{\"primitive\":\"number\"}},{\"name\":\"others\",\"type\":{\"primitive\":\"number\"}}]")] + public virtual double[] AsArray(double first, double others) + { + return InvokeInstanceMethod(new object[]{first, others}); + } + } } \ No newline at end of file diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/VirtualMethodPlayground.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/VirtualMethodPlayground.cs index 3fbfe05c86..10b32f5296 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/VirtualMethodPlayground.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/VirtualMethodPlayground.cs @@ -1,50 +1,50 @@ -using Amazon.JSII.Runtime.Deputy; - -namespace Amazon.JSII.Tests.Calculator -{ - [JsiiClass(typeof(VirtualMethodPlayground), "jsii-calc.VirtualMethodPlayground", "[]")] - public class VirtualMethodPlayground : DeputyBase - { - public VirtualMethodPlayground(): base(new DeputyProps(new object[]{})) - { - } - - protected VirtualMethodPlayground(ByRefValue reference): base(reference) - { - } - - protected VirtualMethodPlayground(DeputyProps props): base(props) - { - } - - [JsiiMethod("serialSumAsync", "{\"primitive\":\"number\",\"promise\":true}", "[{\"name\":\"count\",\"type\":{\"primitive\":\"number\"}}]")] - public virtual double SerialSumAsync(double count) - { - return InvokeInstanceMethod(new object[]{count}); - } - - [JsiiMethod("parallelSumAsync", "{\"primitive\":\"number\",\"promise\":true}", "[{\"name\":\"count\",\"type\":{\"primitive\":\"number\"}}]")] - public virtual double ParallelSumAsync(double count) - { - return InvokeInstanceMethod(new object[]{count}); - } - - [JsiiMethod("sumSync", "{\"primitive\":\"number\"}", "[{\"name\":\"count\",\"type\":{\"primitive\":\"number\"}}]")] - public virtual double SumSync(double count) - { - return InvokeInstanceMethod(new object[]{count}); - } - - [JsiiMethod("overrideMeAsync", "{\"primitive\":\"number\",\"promise\":true}", "[{\"name\":\"index\",\"type\":{\"primitive\":\"number\"}}]")] - public virtual double OverrideMeAsync(double index) - { - return InvokeInstanceMethod(new object[]{index}); - } - - [JsiiMethod("overrideMeSync", "{\"primitive\":\"number\"}", "[{\"name\":\"index\",\"type\":{\"primitive\":\"number\"}}]")] - public virtual double OverrideMeSync(double index) - { - return InvokeInstanceMethod(new object[]{index}); - } - } +using Amazon.JSII.Runtime.Deputy; + +namespace Amazon.JSII.Tests.Calculator +{ + [JsiiClass(typeof(VirtualMethodPlayground), "jsii-calc.VirtualMethodPlayground", "[]")] + public class VirtualMethodPlayground : DeputyBase + { + public VirtualMethodPlayground(): base(new DeputyProps(new object[]{})) + { + } + + protected VirtualMethodPlayground(ByRefValue reference): base(reference) + { + } + + protected VirtualMethodPlayground(DeputyProps props): base(props) + { + } + + [JsiiMethod("serialSumAsync", "{\"primitive\":\"number\",\"promise\":true}", "[{\"name\":\"count\",\"type\":{\"primitive\":\"number\"}}]")] + public virtual double SerialSumAsync(double count) + { + return InvokeInstanceMethod(new object[]{count}); + } + + [JsiiMethod("parallelSumAsync", "{\"primitive\":\"number\",\"promise\":true}", "[{\"name\":\"count\",\"type\":{\"primitive\":\"number\"}}]")] + public virtual double ParallelSumAsync(double count) + { + return InvokeInstanceMethod(new object[]{count}); + } + + [JsiiMethod("sumSync", "{\"primitive\":\"number\"}", "[{\"name\":\"count\",\"type\":{\"primitive\":\"number\"}}]")] + public virtual double SumSync(double count) + { + return InvokeInstanceMethod(new object[]{count}); + } + + [JsiiMethod("overrideMeAsync", "{\"primitive\":\"number\",\"promise\":true}", "[{\"name\":\"index\",\"type\":{\"primitive\":\"number\"}}]")] + public virtual double OverrideMeAsync(double index) + { + return InvokeInstanceMethod(new object[]{index}); + } + + [JsiiMethod("overrideMeSync", "{\"primitive\":\"number\"}", "[{\"name\":\"index\",\"type\":{\"primitive\":\"number\"}}]")] + public virtual double OverrideMeSync(double index) + { + return InvokeInstanceMethod(new object[]{index}); + } + } } \ No newline at end of file diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/composition/CompositeOperation.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/composition/CompositeOperation.cs index 4719c9f8ee..07b3070acd 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/composition/CompositeOperation.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/composition/CompositeOperation.cs @@ -1,70 +1,70 @@ -using Amazon.JSII.Runtime.Deputy; -using Amazon.JSII.Tests.Calculator.Lib; - -namespace Amazon.JSII.Tests.Calculator.composition -{ +using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Tests.Calculator.Lib; + +namespace Amazon.JSII.Tests.Calculator.composition +{ /// Abstract operation composed from an expression of other operations. - [JsiiClass(typeof(CompositeOperation), "jsii-calc.composition.CompositeOperation", "[]")] - public abstract class CompositeOperation : Operation - { - protected CompositeOperation(): base(new DeputyProps(new object[]{})) - { - } - - protected CompositeOperation(ByRefValue reference): base(reference) - { - } - - protected CompositeOperation(DeputyProps props): base(props) - { - } - + [JsiiClass(typeof(CompositeOperation), "jsii-calc.composition.CompositeOperation", "[]")] + public abstract class CompositeOperation : Operation + { + protected CompositeOperation(): base(new DeputyProps(new object[]{})) + { + } + + protected CompositeOperation(ByRefValue reference): base(reference) + { + } + + protected CompositeOperation(DeputyProps props): base(props) + { + } + /// The .toString() style. - [JsiiProperty("stringStyle", "{\"fqn\":\"jsii-calc.composition.CompositionStringStyle\"}")] - public virtual CompositionStringStyle StringStyle - { - get => GetInstanceProperty(); - set => SetInstanceProperty(value); - } - + [JsiiProperty("stringStyle", "{\"fqn\":\"jsii-calc.composition.CompositionStringStyle\"}")] + public virtual CompositionStringStyle StringStyle + { + get => GetInstanceProperty(); + set => SetInstanceProperty(value); + } + /// A set of prefixes to include in a decorated .toString(). - [JsiiProperty("decorationPrefixes", "{\"collection\":{\"kind\":\"array\",\"elementtype\":{\"primitive\":\"string\"}}}")] - public virtual string[] DecorationPrefixes - { - get => GetInstanceProperty(); - set => SetInstanceProperty(value); - } - + [JsiiProperty("decorationPrefixes", "{\"collection\":{\"kind\":\"array\",\"elementtype\":{\"primitive\":\"string\"}}}")] + public virtual string[] DecorationPrefixes + { + get => GetInstanceProperty(); + set => SetInstanceProperty(value); + } + /// A set of postfixes to include in a decorated .toString(). - [JsiiProperty("decorationPostfixes", "{\"collection\":{\"kind\":\"array\",\"elementtype\":{\"primitive\":\"string\"}}}")] - public virtual string[] DecorationPostfixes - { - get => GetInstanceProperty(); - set => SetInstanceProperty(value); - } - + [JsiiProperty("decorationPostfixes", "{\"collection\":{\"kind\":\"array\",\"elementtype\":{\"primitive\":\"string\"}}}")] + public virtual string[] DecorationPostfixes + { + get => GetInstanceProperty(); + set => SetInstanceProperty(value); + } + /// The value. - [JsiiProperty("value", "{\"primitive\":\"number\"}")] - public override double Value - { - get => GetInstanceProperty(); - } - - /// - /// The expression that this operation consists of. + [JsiiProperty("value", "{\"primitive\":\"number\"}")] + public override double Value + { + get => GetInstanceProperty(); + } + + /// + /// The expression that this operation consists of. /// Must be implemented by derived classes. /// - [JsiiProperty("expression", "{\"fqn\":\"@scope/jsii-calc-lib.Value\"}")] - public virtual Value_ Expression - { - get => GetInstanceProperty(); - } - + [JsiiProperty("expression", "{\"fqn\":\"@scope/jsii-calc-lib.Value\"}")] + public virtual Value_ Expression + { + get => GetInstanceProperty(); + } + /// String representation of the value. - [JsiiMethod("toString", "{\"primitive\":\"string\"}", "[]")] - public override string ToString() - { - return InvokeInstanceMethod(new object[]{}); - } - } + [JsiiMethod("toString", "{\"primitive\":\"string\"}", "[]")] + public override string ToString() + { + return InvokeInstanceMethod(new object[]{}); + } + } } \ No newline at end of file diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/composition/CompositionStringStyle.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/composition/CompositionStringStyle.cs index b7e9c2291a..41df36d709 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/composition/CompositionStringStyle.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/composition/CompositionStringStyle.cs @@ -1,14 +1,14 @@ -using Amazon.JSII.Runtime.Deputy; - -namespace Amazon.JSII.Tests.Calculator.composition -{ +using Amazon.JSII.Runtime.Deputy; + +namespace Amazon.JSII.Tests.Calculator.composition +{ /// Style of .toString() output for CompositeOperation. - [JsiiEnum(typeof(CompositionStringStyle), "jsii-calc.composition.CompositionStringStyle")] - public enum CompositionStringStyle - { - [JsiiEnumMember("Normal")] - Normal, - [JsiiEnumMember("Decorated")] - Decorated - } + [JsiiEnum(typeof(CompositionStringStyle), "jsii-calc.composition.CompositionStringStyle")] + public enum CompositionStringStyle + { + [JsiiEnumMember("Normal")] + Normal, + [JsiiEnumMember("Decorated")] + Decorated + } } \ No newline at end of file diff --git a/packages/jsii-ruby-runtime/package-lock.json b/packages/jsii-ruby-runtime/package-lock.json index 76b0a7a6bd..28d7099b97 100644 --- a/packages/jsii-ruby-runtime/package-lock.json +++ b/packages/jsii-ruby-runtime/package-lock.json @@ -3,9 +3,9 @@ "lockfileVersion": 1, "dependencies": { "@types/node": { - "version": "9.6.25", - "resolved": "https://registry.npmjs.org/@types/node/-/node-9.6.25.tgz", - "integrity": "sha512-uZpzO9MKSHy7zBiTtziA3JgZP3upcAvLTASkKgheLj6/rNZmRX4UyvsFYaY2kbYcmmh8bNZ2T0eocBRCfZdGvQ==" + "version": "9.6.26", + "resolved": "https://registry.npmjs.org/@types/node/-/node-9.6.26.tgz", + "integrity": "sha512-3LKKscYUZdZreOuvnly8oWsCA1TOWtmkV3mbcUnV34f+nqDWJic+4SGjRi1C/sPHnZcSs/x209O+Dgy8aWHt2A==" }, "typescript": { "version": "3.0.1", diff --git a/packages/jsii-runtime/package-lock.json b/packages/jsii-runtime/package-lock.json index dbc8983650..e2c829d2d4 100644 --- a/packages/jsii-runtime/package-lock.json +++ b/packages/jsii-runtime/package-lock.json @@ -3,30 +3,29 @@ "lockfileVersion": 1, "dependencies": { "@babel/code-frame": { - "version": "7.0.0-beta.51", - "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.0.0-beta.51.tgz", - "integrity": "sha1-vXHZsZKvl435FYKdOdQJRFZDmgw=", + "version": "7.0.0-beta.56", + "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.0.0-beta.56.tgz", + "integrity": "sha512-OBeGs8UXWpKl0oK2T5nUXNl2yu8RKxqL/7aUnMtKDXCU6VUrNP3npdrPivBA11HPB15TVI49nWf2lntTzoUuAg==", "requires": { - "@babel/highlight": "7.0.0-beta.51" + "@babel/highlight": "7.0.0-beta.56" } }, "@babel/core": { - "version": "7.0.0-beta.51", - "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.0.0-beta.51.tgz", - "integrity": "sha1-DlS9a2OHNrKuWTwxpH8JaeKyuW0=", - "requires": { - "@babel/code-frame": "7.0.0-beta.51", - "@babel/generator": "7.0.0-beta.51", - "@babel/helpers": "7.0.0-beta.51", - "@babel/parser": "7.0.0-beta.51", - "@babel/template": "7.0.0-beta.51", - "@babel/traverse": "7.0.0-beta.51", - "@babel/types": "7.0.0-beta.51", + "version": "7.0.0-beta.56", + "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.0.0-beta.56.tgz", + "integrity": "sha512-IsytpdHZqo5pgJj4FTcpEMKmfXK9TdvThLZo4yUOjbuVZCy8NAwoeBnojvKCNf+139L7xNIIosp3RVA0cMkbOg==", + "requires": { + "@babel/code-frame": "7.0.0-beta.56", + "@babel/generator": "7.0.0-beta.56", + "@babel/helpers": "7.0.0-beta.56", + "@babel/parser": "7.0.0-beta.56", + "@babel/template": "7.0.0-beta.56", + "@babel/traverse": "7.0.0-beta.56", + "@babel/types": "7.0.0-beta.56", "convert-source-map": "^1.1.0", "debug": "^3.1.0", "json5": "^0.5.0", - "lodash": "^4.17.5", - "micromatch": "^3.1.10", + "lodash": "^4.17.10", "resolve": "^1.3.2", "semver": "^5.4.1", "source-map": "^0.5.0" @@ -39,126 +38,109 @@ "requires": { "ms": "2.0.0" } + }, + "source-map": { + "version": "0.5.7", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", + "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=" } } }, "@babel/generator": { - "version": "7.0.0-beta.51", - "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.0.0-beta.51.tgz", - "integrity": "sha1-bHV1/952HQdIXgS67cA5LG2eMPY=", + "version": "7.0.0-beta.56", + "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.0.0-beta.56.tgz", + "integrity": "sha512-d+Ls/Vr5OU5FBDYQToXSqAluI3r2UaSoNZ41zD3sxdoVoaT8K5Bdh4So4eG4o//INGM7actValXGfb+5J1+r8w==", "requires": { - "@babel/types": "7.0.0-beta.51", + "@babel/types": "7.0.0-beta.56", "jsesc": "^2.5.1", - "lodash": "^4.17.5", + "lodash": "^4.17.10", "source-map": "^0.5.0", "trim-right": "^1.0.1" + }, + "dependencies": { + "source-map": { + "version": "0.5.7", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", + "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=" + } } }, "@babel/helper-function-name": { - "version": "7.0.0-beta.51", - "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.0.0-beta.51.tgz", - "integrity": "sha1-IbSHSiJ8+Z7K/MMKkDAtpaJkBWE=", + "version": "7.0.0-beta.56", + "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.0.0-beta.56.tgz", + "integrity": "sha512-Lq4nPOt1j3sUq+1GVrw57dKq6wBKAHplGjYzEG8dkytqo93i6uSKKKg3smYXx2qohEVD5ciAyJjgRJq7RQu4Lg==", "requires": { - "@babel/helper-get-function-arity": "7.0.0-beta.51", - "@babel/template": "7.0.0-beta.51", - "@babel/types": "7.0.0-beta.51" + "@babel/helper-get-function-arity": "7.0.0-beta.56", + "@babel/template": "7.0.0-beta.56", + "@babel/types": "7.0.0-beta.56" } }, "@babel/helper-get-function-arity": { - "version": "7.0.0-beta.51", - "resolved": "https://registry.npmjs.org/@babel/helper-get-function-arity/-/helper-get-function-arity-7.0.0-beta.51.tgz", - "integrity": "sha1-MoGy0EWvlcFyzpGyCCXYXqRnZBE=", + "version": "7.0.0-beta.56", + "resolved": "https://registry.npmjs.org/@babel/helper-get-function-arity/-/helper-get-function-arity-7.0.0-beta.56.tgz", + "integrity": "sha512-QU9EVlnDGTzBasgrdo/I4+RzZS7oqzz9YcetpYko3bp+VsRGokqsAQl3gIvxWTtxwibwboDEdBx+fGArtb2fhw==", "requires": { - "@babel/types": "7.0.0-beta.51" + "@babel/types": "7.0.0-beta.56" } }, "@babel/helper-split-export-declaration": { - "version": "7.0.0-beta.51", - "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.0.0-beta.51.tgz", - "integrity": "sha1-imw/ZsTSZTUvwHdIT59ugKUauXg=", + "version": "7.0.0-beta.56", + "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.0.0-beta.56.tgz", + "integrity": "sha512-j886mQJQg5HDF7X0qK/AfNdrpIYUcJHxRKwBJ9dUvhpO3eFqsTLbJJpitgLaJQjh9D7Db5Aiq8MRghj3+MH57g==", "requires": { - "@babel/types": "7.0.0-beta.51" + "@babel/types": "7.0.0-beta.56" } }, "@babel/helpers": { - "version": "7.0.0-beta.51", - "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.0.0-beta.51.tgz", - "integrity": "sha1-lScr4qtGNNaCBCX4klAxqSiRg5c=", + "version": "7.0.0-beta.56", + "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.0.0-beta.56.tgz", + "integrity": "sha512-KaNBuVlAGW6sFCEWjliN29dL8K4L/ff8ZUaR/D5ou/JsqOuxLRy34Rf8WXMru3Et2g4Czly6vJeSmaYyf3s0lA==", "requires": { - "@babel/template": "7.0.0-beta.51", - "@babel/traverse": "7.0.0-beta.51", - "@babel/types": "7.0.0-beta.51" + "@babel/template": "7.0.0-beta.56", + "@babel/traverse": "7.0.0-beta.56", + "@babel/types": "7.0.0-beta.56" } }, "@babel/highlight": { - "version": "7.0.0-beta.51", - "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.0.0-beta.51.tgz", - "integrity": "sha1-6IRK4loVlcz9QriWI7Q3bKBtIl0=", + "version": "7.0.0-beta.56", + "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.0.0-beta.56.tgz", + "integrity": "sha512-q4TfI+jJISul6vVpZJktzH4tupwRiVk6KXRhB8PHqJ7erl966I6ePDXl9mAbE8jMM7YswhnnB0j1SYP7LBVyhg==", "requires": { "chalk": "^2.0.0", "esutils": "^2.0.2", "js-tokens": "^3.0.0" - }, - "dependencies": { - "ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "requires": { - "color-convert": "^1.9.0" - } - }, - "chalk": { - "version": "2.4.1", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.1.tgz", - "integrity": "sha512-ObN6h1v2fTJSmUXoS3nMQ92LbDK9be4TV+6G+omQlGJFdcUX5heKi1LZ1YnRMIgwTLEj3E24bT6tYni50rlCfQ==", - "requires": { - "ansi-styles": "^3.2.1", - "escape-string-regexp": "^1.0.5", - "supports-color": "^5.3.0" - } - }, - "supports-color": { - "version": "5.4.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.4.0.tgz", - "integrity": "sha512-zjaXglF5nnWpsq470jSv6P9DwPvgLkuapYmfDm3JWOm0vkNTVF2tI4UrN2r6jH1qM/uc/WtxYY1hYoA2dOKj5w==", - "requires": { - "has-flag": "^3.0.0" - } - } } }, "@babel/parser": { - "version": "7.0.0-beta.51", - "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.0.0-beta.51.tgz", - "integrity": "sha1-J87C30Cd9gr1gnDtj2qlVAnqhvY=" + "version": "7.0.0-beta.56", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.0.0-beta.56.tgz", + "integrity": "sha512-JM0ughhbo+sPXw2Z+SUyowfYrAOhjanzjMshcLswBdXVelJCOeEKe/FqMqPWGVPQr7wByongXIn+MKdCpY7DBw==" }, "@babel/template": { - "version": "7.0.0-beta.51", - "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.0.0-beta.51.tgz", - "integrity": "sha1-lgKkCuvPNXrpZ34lMu9fyBD1+/8=", + "version": "7.0.0-beta.56", + "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.0.0-beta.56.tgz", + "integrity": "sha512-rsR9K18h0oiJTUmS/ICYREbV8qhPTic4SIqDSkzv9xOxupt7dKj8hWmZQLGPySO5x6cdn8py039o1wPQnsEGHg==", "requires": { - "@babel/code-frame": "7.0.0-beta.51", - "@babel/parser": "7.0.0-beta.51", - "@babel/types": "7.0.0-beta.51", - "lodash": "^4.17.5" + "@babel/code-frame": "7.0.0-beta.56", + "@babel/parser": "7.0.0-beta.56", + "@babel/types": "7.0.0-beta.56", + "lodash": "^4.17.10" } }, "@babel/traverse": { - "version": "7.0.0-beta.51", - "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.0.0-beta.51.tgz", - "integrity": "sha1-mB2vLOw0emIx06odnhgDsDqqpKg=", - "requires": { - "@babel/code-frame": "7.0.0-beta.51", - "@babel/generator": "7.0.0-beta.51", - "@babel/helper-function-name": "7.0.0-beta.51", - "@babel/helper-split-export-declaration": "7.0.0-beta.51", - "@babel/parser": "7.0.0-beta.51", - "@babel/types": "7.0.0-beta.51", + "version": "7.0.0-beta.56", + "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.0.0-beta.56.tgz", + "integrity": "sha512-9WTqtKP2Ll+jG68r+JEecXAbdH/kk5inN1VDSDaTgdYtZ82BYUS9XRWMVpc5HB9LJsu2ZEyUA1cGybID7eeOXA==", + "requires": { + "@babel/code-frame": "7.0.0-beta.56", + "@babel/generator": "7.0.0-beta.56", + "@babel/helper-function-name": "7.0.0-beta.56", + "@babel/helper-split-export-declaration": "7.0.0-beta.56", + "@babel/parser": "7.0.0-beta.56", + "@babel/types": "7.0.0-beta.56", "debug": "^3.1.0", "globals": "^11.1.0", - "invariant": "^2.2.0", - "lodash": "^4.17.5" + "lodash": "^4.17.10" }, "dependencies": { "debug": { @@ -172,28 +154,28 @@ } }, "@babel/types": { - "version": "7.0.0-beta.51", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.0.0-beta.51.tgz", - "integrity": "sha1-2AK3tUO1g2x3iqaReXq/APPZfqk=", + "version": "7.0.0-beta.56", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.0.0-beta.56.tgz", + "integrity": "sha512-fRIBeHtKxAD3D1E7hYSpG4MnLt0AfzHHs5gfVclOB0NlfLu3qiWU/IqdbK2ixTK61424iEkV1P/VAzndx6ungA==", "requires": { "esutils": "^2.0.2", - "lodash": "^4.17.5", + "lodash": "^4.17.10", "to-fast-properties": "^2.0.0" } }, "@types/node": { - "version": "9.6.18", - "resolved": "https://registry.npmjs.org/@types/node/-/node-9.6.18.tgz", - "integrity": "sha512-lywCnJQRSsu0kitHQ5nkb7Ay/ScdJPQjhWRtuf+G1DmNKJnPcdVyP0pYvdiDFKjzReC6NLWLgSyimno3kKfIig==" + "version": "9.6.26", + "resolved": "https://registry.npmjs.org/@types/node/-/node-9.6.26.tgz", + "integrity": "sha512-3LKKscYUZdZreOuvnly8oWsCA1TOWtmkV3mbcUnV34f+nqDWJic+4SGjRi1C/sPHnZcSs/x209O+Dgy8aWHt2A==" }, "@webassemblyjs/ast": { - "version": "1.5.12", - "resolved": "https://registry.npmjs.org/@webassemblyjs/ast/-/ast-1.5.12.tgz", - "integrity": "sha512-bmTBEKuuhSU6dC95QIW250xO769cdYGx9rWn3uBLTw2pUpud0Z5kVuMw9m9fqbNzGeuOU2HpyuZa+yUt2CTEDA==", + "version": "1.5.13", + "resolved": "https://registry.npmjs.org/@webassemblyjs/ast/-/ast-1.5.13.tgz", + "integrity": "sha512-49nwvW/Hx9i+OYHg+mRhKZfAlqThr11Dqz8TsrvqGKMhdI2ijy3KBJOun2Z4770TPjrIJhR6KxChQIDaz8clDA==", "requires": { - "@webassemblyjs/helper-module-context": "1.5.12", - "@webassemblyjs/helper-wasm-bytecode": "1.5.12", - "@webassemblyjs/wast-parser": "1.5.12", + "@webassemblyjs/helper-module-context": "1.5.13", + "@webassemblyjs/helper-wasm-bytecode": "1.5.13", + "@webassemblyjs/wast-parser": "1.5.13", "debug": "^3.1.0", "mamacro": "^0.0.3" }, @@ -209,19 +191,19 @@ } }, "@webassemblyjs/floating-point-hex-parser": { - "version": "1.5.12", - "resolved": "https://registry.npmjs.org/@webassemblyjs/floating-point-hex-parser/-/floating-point-hex-parser-1.5.12.tgz", - "integrity": "sha512-epTvkdwOIPpTE9edHS+V+shetYzpTbd91XOzUli1zAS0+NSgSe6ZsNggIqUNzhma1s4bN2f/m8c6B1NMdCERAg==" + "version": "1.5.13", + "resolved": "https://registry.npmjs.org/@webassemblyjs/floating-point-hex-parser/-/floating-point-hex-parser-1.5.13.tgz", + "integrity": "sha512-vrvvB18Kh4uyghSKb0NTv+2WZx871WL2NzwMj61jcq2bXkyhRC+8Q0oD7JGVf0+5i/fKQYQSBCNMMsDMRVAMqA==" }, "@webassemblyjs/helper-api-error": { - "version": "1.5.12", - "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-api-error/-/helper-api-error-1.5.12.tgz", - "integrity": "sha512-Goxag86JvLq8ucHLXFNSLYzf9wrR+CJr37DsESTAzSnGoqDTgw5eqiXSQVd/D9Biih7+DIn8UIQCxMs8emRRwg==" + "version": "1.5.13", + "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-api-error/-/helper-api-error-1.5.13.tgz", + "integrity": "sha512-dBh2CWYqjaDlvMmRP/kudxpdh30uXjIbpkLj9HQe+qtYlwvYjPRjdQXrq1cTAAOUSMTtzqbXIxEdEZmyKfcwsg==" }, "@webassemblyjs/helper-buffer": { - "version": "1.5.12", - "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-buffer/-/helper-buffer-1.5.12.tgz", - "integrity": "sha512-tJNUjttL5CxiiS/KLxT4/Zk0Nbl/poFhztFxktb46zoQEUWaGHR9ZJ0SnvE7DbFX5PY5JNJDMZ0Li4lm246fWw==", + "version": "1.5.13", + "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-buffer/-/helper-buffer-1.5.13.tgz", + "integrity": "sha512-v7igWf1mHcpJNbn4m7e77XOAWXCDT76Xe7Is1VQFXc4K5jRcFrl9D0NrqM4XifQ0bXiuTSkTKMYqDxu5MhNljA==", "requires": { "debug": "^3.1.0" }, @@ -237,22 +219,22 @@ } }, "@webassemblyjs/helper-code-frame": { - "version": "1.5.12", - "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-code-frame/-/helper-code-frame-1.5.12.tgz", - "integrity": "sha512-0FrJgiST+MQDMvPigzs+UIk1vslLIqGadkEWdn53Lr0NsUC2JbheG9QaO3Zf6ycK2JwsHiUpGaMFcHYXStTPMA==", + "version": "1.5.13", + "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-code-frame/-/helper-code-frame-1.5.13.tgz", + "integrity": "sha512-yN6ScQQDFCiAXnVctdVO/J5NQRbwyTbQzsGzEgXsAnrxhjp0xihh+nNHQTMrq5UhOqTb5LykpJAvEv9AT0jnAQ==", "requires": { - "@webassemblyjs/wast-printer": "1.5.12" + "@webassemblyjs/wast-printer": "1.5.13" } }, "@webassemblyjs/helper-fsm": { - "version": "1.5.12", - "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-fsm/-/helper-fsm-1.5.12.tgz", - "integrity": "sha512-QBHZ45VPUJ7UyYKvUFoaxrSS9H5hbkC9U7tdWgFHmnTMutkXSEgDg2gZg3I/QTsiKOCIwx4qJUJwPd7J4D5CNQ==" + "version": "1.5.13", + "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-fsm/-/helper-fsm-1.5.13.tgz", + "integrity": "sha512-hSIKzbXjVMRvy3Jzhgu+vDd/aswJ+UMEnLRCkZDdknZO3Z9e6rp1DAs0tdLItjCFqkz9+0BeOPK/mk3eYvVzZg==" }, "@webassemblyjs/helper-module-context": { - "version": "1.5.12", - "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-module-context/-/helper-module-context-1.5.12.tgz", - "integrity": "sha512-SCXR8hPI4JOG3cdy9HAO8W5/VQ68YXG/Hfs7qDf1cd64zWuMNshyEour5NYnLMVkrrtc0XzfVS/MdeV94woFHA==", + "version": "1.5.13", + "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-module-context/-/helper-module-context-1.5.13.tgz", + "integrity": "sha512-zxJXULGPLB7r+k+wIlvGlXpT4CYppRz8fLUM/xobGHc9Z3T6qlmJD9ySJ2jknuktuuiR9AjnNpKYDECyaiX+QQ==", "requires": { "debug": "^3.1.0", "mamacro": "^0.0.3" @@ -269,19 +251,19 @@ } }, "@webassemblyjs/helper-wasm-bytecode": { - "version": "1.5.12", - "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-wasm-bytecode/-/helper-wasm-bytecode-1.5.12.tgz", - "integrity": "sha512-0Gz5lQcyvElNVbOTKwjEmIxGwdWf+zpAW/WGzGo95B7IgMEzyyfZU+PrGHDwiSH9c0knol9G7smQnY0ljrSA6g==" + "version": "1.5.13", + "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-wasm-bytecode/-/helper-wasm-bytecode-1.5.13.tgz", + "integrity": "sha512-0n3SoNGLvbJIZPhtMFq0XmmnA/YmQBXaZKQZcW8maGKwLpVcgjNrxpFZHEOLKjXJYVN5Il8vSfG7nRX50Zn+aw==" }, "@webassemblyjs/helper-wasm-section": { - "version": "1.5.12", - "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-wasm-section/-/helper-wasm-section-1.5.12.tgz", - "integrity": "sha512-ge/CKVKBGpiJhFN9PIOQ7sPtGYJhxm/mW1Y3SpG1L6XBunfRz0YnLjW3TmhcOEFozIVyODPS1HZ9f7VR3GBGow==", - "requires": { - "@webassemblyjs/ast": "1.5.12", - "@webassemblyjs/helper-buffer": "1.5.12", - "@webassemblyjs/helper-wasm-bytecode": "1.5.12", - "@webassemblyjs/wasm-gen": "1.5.12", + "version": "1.5.13", + "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-wasm-section/-/helper-wasm-section-1.5.13.tgz", + "integrity": "sha512-IJ/goicOZ5TT1axZFSnlAtz4m8KEjYr12BNOANAwGFPKXM4byEDaMNXYowHMG0yKV9a397eU/NlibFaLwr1fbw==", + "requires": { + "@webassemblyjs/ast": "1.5.13", + "@webassemblyjs/helper-buffer": "1.5.13", + "@webassemblyjs/helper-wasm-bytecode": "1.5.13", + "@webassemblyjs/wasm-gen": "1.5.13", "debug": "^3.1.0" }, "dependencies": { @@ -296,39 +278,46 @@ } }, "@webassemblyjs/ieee754": { - "version": "1.5.12", - "resolved": "https://registry.npmjs.org/@webassemblyjs/ieee754/-/ieee754-1.5.12.tgz", - "integrity": "sha512-F+PEv9QBzPi1ThLBouUJbuxhEr+Sy/oua1ftXFKHiaYYS5Z9tKPvK/hgCxlSdq+RY4MSG15jU2JYb/K5pkoybg==", + "version": "1.5.13", + "resolved": "https://registry.npmjs.org/@webassemblyjs/ieee754/-/ieee754-1.5.13.tgz", + "integrity": "sha512-TseswvXEPpG5TCBKoLx9tT7+/GMACjC1ruo09j46ULRZWYm8XHpDWaosOjTnI7kr4SRJFzA6MWoUkAB+YCGKKg==", "requires": { "ieee754": "^1.1.11" } }, "@webassemblyjs/leb128": { - "version": "1.5.12", - "resolved": "https://registry.npmjs.org/@webassemblyjs/leb128/-/leb128-1.5.12.tgz", - "integrity": "sha512-cCOx/LVGiWyCwVrVlvGmTdnwHzIP4+zflLjGkZxWpYCpdNax9krVIJh1Pm7O86Ox/c5PrJpbvZU1cZLxndlPEw==", + "version": "1.5.13", + "resolved": "https://registry.npmjs.org/@webassemblyjs/leb128/-/leb128-1.5.13.tgz", + "integrity": "sha512-0NRMxrL+GG3eISGZBmLBLAVjphbN8Si15s7jzThaw1UE9e5BY1oH49/+MA1xBzxpf1OW5sf9OrPDOclk9wj2yg==", "requires": { - "leb": "^0.3.0" + "long": "4.0.0" + }, + "dependencies": { + "long": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/long/-/long-4.0.0.tgz", + "integrity": "sha512-XsP+KhQif4bjX1kbuSiySJFNAehNxgLb6hPRGJ9QsUr8ajHkuXGdrHmFUTUUXhDwVX2R5bY4JNZEwbUiMhV+MA==" + } } }, "@webassemblyjs/utf8": { - "version": "1.5.12", - "resolved": "https://registry.npmjs.org/@webassemblyjs/utf8/-/utf8-1.5.12.tgz", - "integrity": "sha512-FX8NYQMiTRU0TfK/tJVntsi9IEKsedSsna8qtsndWVE0x3zLndugiApxdNMIOoElBV9o4j0BUqR+iwU58QfPxQ==" + "version": "1.5.13", + "resolved": "https://registry.npmjs.org/@webassemblyjs/utf8/-/utf8-1.5.13.tgz", + "integrity": "sha512-Ve1ilU2N48Ew0lVGB8FqY7V7hXjaC4+PeZM+vDYxEd+R2iQ0q+Wb3Rw8v0Ri0+rxhoz6gVGsnQNb4FjRiEH/Ng==" }, "@webassemblyjs/wasm-edit": { - "version": "1.5.12", - "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-edit/-/wasm-edit-1.5.12.tgz", - "integrity": "sha512-r/oZAyC4EZl0ToOYJgvj+b0X6gVEKQMLT34pNNbtvWBehQOnaSXvVUA5FIYlH8ubWjFNAFqYaVGgQTjR1yuJdQ==", - "requires": { - "@webassemblyjs/ast": "1.5.12", - "@webassemblyjs/helper-buffer": "1.5.12", - "@webassemblyjs/helper-wasm-bytecode": "1.5.12", - "@webassemblyjs/helper-wasm-section": "1.5.12", - "@webassemblyjs/wasm-gen": "1.5.12", - "@webassemblyjs/wasm-opt": "1.5.12", - "@webassemblyjs/wasm-parser": "1.5.12", - "@webassemblyjs/wast-printer": "1.5.12", + "version": "1.5.13", + "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-edit/-/wasm-edit-1.5.13.tgz", + "integrity": "sha512-X7ZNW4+Hga4f2NmqENnHke2V/mGYK/xnybJSIXImt1ulxbCOEs/A+ZK/Km2jgihjyVxp/0z0hwIcxC6PrkWtgw==", + "requires": { + "@webassemblyjs/ast": "1.5.13", + "@webassemblyjs/helper-buffer": "1.5.13", + "@webassemblyjs/helper-wasm-bytecode": "1.5.13", + "@webassemblyjs/helper-wasm-section": "1.5.13", + "@webassemblyjs/wasm-gen": "1.5.13", + "@webassemblyjs/wasm-opt": "1.5.13", + "@webassemblyjs/wasm-parser": "1.5.13", + "@webassemblyjs/wast-printer": "1.5.13", "debug": "^3.1.0" }, "dependencies": { @@ -343,26 +332,26 @@ } }, "@webassemblyjs/wasm-gen": { - "version": "1.5.12", - "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-gen/-/wasm-gen-1.5.12.tgz", - "integrity": "sha512-LTu+cr1YRxGGiVIXWhei/35lXXEwTnQU18x4V/gE+qCSJN21QcVTMjJuasTUh8WtmBZtOlqJbOQIeN7fGnHWhg==", + "version": "1.5.13", + "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-gen/-/wasm-gen-1.5.13.tgz", + "integrity": "sha512-yfv94Se8R73zmr8GAYzezFHc3lDwE/lBXQddSiIZEKZFuqy7yWtm3KMwA1uGbv5G1WphimJxboXHR80IgX1hQA==", "requires": { - "@webassemblyjs/ast": "1.5.12", - "@webassemblyjs/helper-wasm-bytecode": "1.5.12", - "@webassemblyjs/ieee754": "1.5.12", - "@webassemblyjs/leb128": "1.5.12", - "@webassemblyjs/utf8": "1.5.12" + "@webassemblyjs/ast": "1.5.13", + "@webassemblyjs/helper-wasm-bytecode": "1.5.13", + "@webassemblyjs/ieee754": "1.5.13", + "@webassemblyjs/leb128": "1.5.13", + "@webassemblyjs/utf8": "1.5.13" } }, "@webassemblyjs/wasm-opt": { - "version": "1.5.12", - "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-opt/-/wasm-opt-1.5.12.tgz", - "integrity": "sha512-LBwG5KPA9u/uigZVyTsDpS3CVxx3AePCnTItVL+OPkRCp5LqmLsOp4a3/c5CQE0Lecm0Ss9hjUTDcbYFZkXlfQ==", - "requires": { - "@webassemblyjs/ast": "1.5.12", - "@webassemblyjs/helper-buffer": "1.5.12", - "@webassemblyjs/wasm-gen": "1.5.12", - "@webassemblyjs/wasm-parser": "1.5.12", + "version": "1.5.13", + "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-opt/-/wasm-opt-1.5.13.tgz", + "integrity": "sha512-IkXSkgzVhQ0QYAdIayuCWMmXSYx0dHGU8Ah/AxJf1gBvstMWVnzJnBwLsXLyD87VSBIcsqkmZ28dVb0mOC3oBg==", + "requires": { + "@webassemblyjs/ast": "1.5.13", + "@webassemblyjs/helper-buffer": "1.5.13", + "@webassemblyjs/wasm-gen": "1.5.13", + "@webassemblyjs/wasm-parser": "1.5.13", "debug": "^3.1.0" }, "dependencies": { @@ -377,83 +366,56 @@ } }, "@webassemblyjs/wasm-parser": { - "version": "1.5.12", - "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-parser/-/wasm-parser-1.5.12.tgz", - "integrity": "sha512-xset3+1AtoFYEfMg30nzCGBnhKmTBzbIKvMyLhqJT06TvYV+kA884AOUpUvhSmP6XPF3G+HVZPm/PbCGxH4/VQ==", + "version": "1.5.13", + "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-parser/-/wasm-parser-1.5.13.tgz", + "integrity": "sha512-XnYoIcu2iqq8/LrtmdnN3T+bRjqYFjRHqWbqK3osD/0r/Fcv4d9ecRzjVtC29ENEuNTK4mQ9yyxCBCbK8S/cpg==", "requires": { - "@webassemblyjs/ast": "1.5.12", - "@webassemblyjs/helper-api-error": "1.5.12", - "@webassemblyjs/helper-wasm-bytecode": "1.5.12", - "@webassemblyjs/ieee754": "1.5.12", - "@webassemblyjs/leb128": "1.5.12", - "@webassemblyjs/utf8": "1.5.12" + "@webassemblyjs/ast": "1.5.13", + "@webassemblyjs/helper-api-error": "1.5.13", + "@webassemblyjs/helper-wasm-bytecode": "1.5.13", + "@webassemblyjs/ieee754": "1.5.13", + "@webassemblyjs/leb128": "1.5.13", + "@webassemblyjs/utf8": "1.5.13" } }, "@webassemblyjs/wast-parser": { - "version": "1.5.12", - "resolved": "https://registry.npmjs.org/@webassemblyjs/wast-parser/-/wast-parser-1.5.12.tgz", - "integrity": "sha512-QWUtzhvfY7Ue9GlJ3HeOB6w5g9vNYUUnG+Y96TWPkFHJTxZlcvGfNrUoACCw6eDb9gKaHrjt77aPq41a7y8svg==", - "requires": { - "@webassemblyjs/ast": "1.5.12", - "@webassemblyjs/floating-point-hex-parser": "1.5.12", - "@webassemblyjs/helper-api-error": "1.5.12", - "@webassemblyjs/helper-code-frame": "1.5.12", - "@webassemblyjs/helper-fsm": "1.5.12", + "version": "1.5.13", + "resolved": "https://registry.npmjs.org/@webassemblyjs/wast-parser/-/wast-parser-1.5.13.tgz", + "integrity": "sha512-Lbz65T0LQ1LgzKiUytl34CwuhMNhaCLgrh0JW4rJBN6INnBB8NMwUfQM+FxTnLY9qJ+lHJL/gCM5xYhB9oWi4A==", + "requires": { + "@webassemblyjs/ast": "1.5.13", + "@webassemblyjs/floating-point-hex-parser": "1.5.13", + "@webassemblyjs/helper-api-error": "1.5.13", + "@webassemblyjs/helper-code-frame": "1.5.13", + "@webassemblyjs/helper-fsm": "1.5.13", "long": "^3.2.0", "mamacro": "^0.0.3" } }, "@webassemblyjs/wast-printer": { - "version": "1.5.12", - "resolved": "https://registry.npmjs.org/@webassemblyjs/wast-printer/-/wast-printer-1.5.12.tgz", - "integrity": "sha512-XF9RTeckFgDyl196uRKZWHFFfbkzsMK96QTXp+TC0R9gsV9DMiDGMSIllgy/WdrZ3y3dsQp4fTA5r4GoaOBchA==", + "version": "1.5.13", + "resolved": "https://registry.npmjs.org/@webassemblyjs/wast-printer/-/wast-printer-1.5.13.tgz", + "integrity": "sha512-QcwogrdqcBh8Z+eUF8SG+ag5iwQSXxQJELBEHmLkk790wgQgnIMmntT2sMAMw53GiFNckArf5X0bsCA44j3lWQ==", "requires": { - "@webassemblyjs/ast": "1.5.12", - "@webassemblyjs/wast-parser": "1.5.12", + "@webassemblyjs/ast": "1.5.13", + "@webassemblyjs/wast-parser": "1.5.13", "long": "^3.2.0" } }, "@webpack-contrib/config-loader": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/@webpack-contrib/config-loader/-/config-loader-1.1.3.tgz", - "integrity": "sha512-lOliuisjrh24MfhOYE5ljqyFlKfzyWGFrn3bbR0KlXQHY90j3pXWfFtEl4gNvqz69tJsM+1s7PUGJrK9CF46ng==", + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/@webpack-contrib/config-loader/-/config-loader-1.2.1.tgz", + "integrity": "sha512-C7XsS6bXft0aRlyt7YCLg+fm97Mb3tWd+i5fVVlEl0NW5HKy8LoXVKj3mB7ECcEHNEEdHhgzg8gxP+Or8cMj8Q==", "requires": { "@webpack-contrib/schema-utils": "^1.0.0-beta.0", "chalk": "^2.1.0", "cosmiconfig": "^5.0.2", + "is-plain-obj": "^1.1.0", "loud-rejection": "^1.6.0", "merge-options": "^1.0.1", "minimist": "^1.2.0", "resolve": "^1.6.0", "webpack-log": "^1.1.2" - }, - "dependencies": { - "ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "requires": { - "color-convert": "^1.9.0" - } - }, - "chalk": { - "version": "2.4.1", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.1.tgz", - "integrity": "sha512-ObN6h1v2fTJSmUXoS3nMQ92LbDK9be4TV+6G+omQlGJFdcUX5heKi1LZ1YnRMIgwTLEj3E24bT6tYni50rlCfQ==", - "requires": { - "ansi-styles": "^3.2.1", - "escape-string-regexp": "^1.0.5", - "supports-color": "^5.3.0" - } - }, - "supports-color": { - "version": "5.4.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.4.0.tgz", - "integrity": "sha512-zjaXglF5nnWpsq470jSv6P9DwPvgLkuapYmfDm3JWOm0vkNTVF2tI4UrN2r6jH1qM/uc/WtxYY1hYoA2dOKj5w==", - "requires": { - "has-flag": "^3.0.0" - } - } } }, "@webpack-contrib/schema-utils": { @@ -469,28 +431,31 @@ "webpack-log": "^1.1.2" }, "dependencies": { + "ajv": { + "version": "6.5.2", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.5.2.tgz", + "integrity": "sha512-hOs7GfvI6tUI1LfZddH82ky6mOMyTuY0mk7kE2pWpmhhUSkumzaTO5vbVwij39MdwPQWCV4Zv57Eo06NtL/GVA==", + "requires": { + "fast-deep-equal": "^2.0.1", + "fast-json-stable-stringify": "^2.0.0", + "json-schema-traverse": "^0.4.1", + "uri-js": "^4.2.1" + } + }, "ansi-regex": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-3.0.0.tgz", "integrity": "sha1-7QMXwyIGT3lGbAKWa922Bas32Zg=" }, - "ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "requires": { - "color-convert": "^1.9.0" - } + "fast-deep-equal": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-2.0.1.tgz", + "integrity": "sha1-ewUhjd+WZ79/Nwv3/bLLFf3Qqkk=" }, - "chalk": { - "version": "2.4.1", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.1.tgz", - "integrity": "sha512-ObN6h1v2fTJSmUXoS3nMQ92LbDK9be4TV+6G+omQlGJFdcUX5heKi1LZ1YnRMIgwTLEj3E24bT6tYni50rlCfQ==", - "requires": { - "ansi-styles": "^3.2.1", - "escape-string-regexp": "^1.0.5", - "supports-color": "^5.3.0" - } + "json-schema-traverse": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", + "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==" }, "strip-ansi": { "version": "4.0.0", @@ -499,21 +464,13 @@ "requires": { "ansi-regex": "^3.0.0" } - }, - "supports-color": { - "version": "5.4.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.4.0.tgz", - "integrity": "sha512-zjaXglF5nnWpsq470jSv6P9DwPvgLkuapYmfDm3JWOm0vkNTVF2tI4UrN2r6jH1qM/uc/WtxYY1hYoA2dOKj5w==", - "requires": { - "has-flag": "^3.0.0" - } } } }, "acorn": { - "version": "5.6.2", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-5.6.2.tgz", - "integrity": "sha512-zUzo1E5dI2Ey8+82egfnttyMlMZ2y0D8xOCO3PNPPlYXpl8NZvF6Qk9L9BEtJs+43FqEmfBViDqc5d1ckRDguw==" + "version": "5.7.1", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-5.7.1.tgz", + "integrity": "sha512-d+nbxBUGKg7Arpsvbnlq61mc12ek3EY8EQldM3GPAhWJ1UVxC6TDGbIvUMNU6obBX3i1+ptCIzV4vq0gFPEGVQ==" }, "acorn-dynamic-import": { "version": "3.0.0", @@ -524,14 +481,14 @@ } }, "ajv": { - "version": "6.5.1", - "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.5.1.tgz", - "integrity": "sha512-pgZos1vgOHDiC7gKNbZW8eKvCnNXARv2oqrGQT7Hzbq5Azp7aZG6DJzADnkuSq7RH6qkXp4J/m68yPX/2uBHyQ==", + "version": "5.5.2", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-5.5.2.tgz", + "integrity": "sha1-c7Xuyj+rZT49P5Qis0GtQiBdyWU=", "requires": { - "fast-deep-equal": "^2.0.1", + "co": "^4.6.0", + "fast-deep-equal": "^1.0.0", "fast-json-stable-stringify": "^2.0.0", - "json-schema-traverse": "^0.4.1", - "uri-js": "^4.2.1" + "json-schema-traverse": "^0.3.0" } }, "ajv-keywords": { @@ -553,9 +510,12 @@ "integrity": "sha1-w7M6te42DYbg5ijwRorn7yfWVN8=" }, "ansi-styles": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz", - "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=" + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", + "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "requires": { + "color-convert": "^1.9.0" + } }, "anymatch": { "version": "2.0.0", @@ -610,9 +570,12 @@ "integrity": "sha1-iYUI2iIm84DfkEcoRWhJwVAaSw0=" }, "asn1": { - "version": "0.2.3", - "resolved": "https://registry.npmjs.org/asn1/-/asn1-0.2.3.tgz", - "integrity": "sha1-2sh4dxPJlmhJ/IGAd36+nB3fO4Y=" + "version": "0.2.4", + "resolved": "https://registry.npmjs.org/asn1/-/asn1-0.2.4.tgz", + "integrity": "sha512-jxwzQpLQjSmWXgwaCZE9Nz+glAG01yF1QnWgbhGwHI5A6FRIEY6IVqtHhIepHqI7/kyEyQEagBC5mBEFlIYvdg==", + "requires": { + "safer-buffer": "~2.1.0" + } }, "asn1.js": { "version": "4.10.1", @@ -648,9 +611,9 @@ } }, "assert-plus": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/assert-plus/-/assert-plus-0.2.0.tgz", - "integrity": "sha1-104bh+ev/A24qttwIfP+SBAasjQ=" + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz", + "integrity": "sha1-8S4PPF13sLHN2RRpQuTpbB5N1SU=" }, "assign-symbols": { "version": "1.0.0", @@ -673,14 +636,14 @@ "integrity": "sha1-ri1acpR38onWDdf5amMUoi3Wwio=" }, "aws-sign2": { - "version": "0.6.0", - "resolved": "https://registry.npmjs.org/aws-sign2/-/aws-sign2-0.6.0.tgz", - "integrity": "sha1-FDQt0428yU0OW4fXY81jYSwOeU8=" + "version": "0.7.0", + "resolved": "https://registry.npmjs.org/aws-sign2/-/aws-sign2-0.7.0.tgz", + "integrity": "sha1-tG6JCTSpWR8tL2+G1+ap8bP+dqg=" }, "aws4": { - "version": "1.7.0", - "resolved": "https://registry.npmjs.org/aws4/-/aws4-1.7.0.tgz", - "integrity": "sha512-32NDda82rhwD9/JBCCkB+MRYDp0oSvlo2IL6rQWA10PQi7tDUM3eqMSltXmY+Oyl/7N3P3qNtAlv7X0d9bI28w==" + "version": "1.8.0", + "resolved": "https://registry.npmjs.org/aws4/-/aws4-1.8.0.tgz", + "integrity": "sha512-ReZxvNHIOv88FlT7rxcXIIC0fPt4KZqZbOlivyWtXLt8ESx84zd3kMC6iK5jVeS2qt+g7ftS7ye4fi06X5rtRQ==" }, "babylon": { "version": "7.0.0-beta.47", @@ -748,9 +711,9 @@ "integrity": "sha512-ccav/yGvoa80BQDljCxsmmQ3Xvx60/UpBIij5QN21W3wBi/hhIC9OoO+KLpu9IJTS9j4DRVJ3aDDF9cMSoa2lw==" }, "bcrypt-pbkdf": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/bcrypt-pbkdf/-/bcrypt-pbkdf-1.0.1.tgz", - "integrity": "sha1-Y7xdy2EzG5K8Bf1SiVPDNGKgb40=", + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/bcrypt-pbkdf/-/bcrypt-pbkdf-1.0.2.tgz", + "integrity": "sha1-pDAdOJtqQ/m2f/PKEaP2Y342Dp4=", "optional": true, "requires": { "tweetnacl": "^0.14.3" @@ -767,9 +730,9 @@ "integrity": "sha1-RqoXUftqL5PuXmibsQh9SxTGwgU=" }, "bind-obj-methods": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/bind-obj-methods/-/bind-obj-methods-1.0.0.tgz", - "integrity": "sha1-T1l5ysFXk633DkiBYeRj4gnKUJw=" + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/bind-obj-methods/-/bind-obj-methods-2.0.0.tgz", + "integrity": "sha512-3/qRXczDi2Cdbz6jE+W3IflJOutRVica8frpBn14de1mBOkzDo+6tY33kNhvkw54Kn3PzRRD2VnGbGPcTAk4sw==" }, "bluebird": { "version": "3.5.1", @@ -781,14 +744,6 @@ "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.11.8.tgz", "integrity": "sha512-ItfYfPLkWHUjckQCk8xC+LwxgK8NYcXywGigJgSwOP8Y2iyWT4f2vsZnoOXTTbo+o5yXmIUJ4gn5538SO5S3gA==" }, - "boom": { - "version": "2.10.1", - "resolved": "https://registry.npmjs.org/boom/-/boom-2.10.1.tgz", - "integrity": "sha1-OciRjO/1eZ+D+UkqhI9iWt0Mdm8=", - "requires": { - "hoek": "2.x.x" - } - }, "boxen": { "version": "1.3.0", "resolved": "https://registry.npmjs.org/boxen/-/boxen-1.3.0.tgz", @@ -803,36 +758,10 @@ "widest-line": "^2.0.0" }, "dependencies": { - "ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "requires": { - "color-convert": "^1.9.0" - } - }, "camelcase": { "version": "4.1.0", "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-4.1.0.tgz", "integrity": "sha1-1UVjW+HjPFQmScaRc+Xeas+uNN0=" - }, - "chalk": { - "version": "2.4.1", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.1.tgz", - "integrity": "sha512-ObN6h1v2fTJSmUXoS3nMQ92LbDK9be4TV+6G+omQlGJFdcUX5heKi1LZ1YnRMIgwTLEj3E24bT6tYni50rlCfQ==", - "requires": { - "ansi-styles": "^3.2.1", - "escape-string-regexp": "^1.0.5", - "supports-color": "^5.3.0" - } - }, - "supports-color": { - "version": "5.4.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.4.0.tgz", - "integrity": "sha512-zjaXglF5nnWpsq470jSv6P9DwPvgLkuapYmfDm3JWOm0vkNTVF2tI4UrN2r6jH1qM/uc/WtxYY1hYoA2dOKj5w==", - "requires": { - "has-flag": "^3.0.0" - } } } }, @@ -901,13 +830,14 @@ } }, "browserify-des": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/browserify-des/-/browserify-des-1.0.1.tgz", - "integrity": "sha512-zy0Cobe3hhgpiOM32Tj7KQ3Vl91m0njwsjzZQK1L+JDf11dzP9qIvjreVinsvXrgfjhStXwUWAEpB9D7Gwmayw==", + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/browserify-des/-/browserify-des-1.0.2.tgz", + "integrity": "sha512-BioO1xf3hFwz4kc6iBhI3ieDFompMhrMlnDFC4/0/vd5MokpuAc3R+LYbwTA9A5Yc9pq9UYPqffKpW2ObuwX5A==", "requires": { "cipher-base": "^1.0.1", "des.js": "^1.0.0", - "inherits": "^2.0.1" + "inherits": "^2.0.1", + "safe-buffer": "^5.1.2" } }, "browserify-rsa": { @@ -952,9 +882,9 @@ } }, "buffer-from": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.0.0.tgz", - "integrity": "sha512-83apNb8KK0Se60UE1+4Ukbe3HbfELJ6UlI4ldtOGs7So4KD26orJM8hIY9lxdzP+UpItH1Yh/Y8GUvNFWFFRxA==" + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.1.tgz", + "integrity": "sha512-MQcXEUbCKtEo7bhqEs6560Hyd4XaovZlO/k9V3hjVUF/zwW7KBVdSK4gIt/bzwS9MbR5qob+F5jusZsb0YQK2A==" }, "buffer-xor": { "version": "1.0.3", @@ -1035,39 +965,38 @@ "integrity": "sha1-Sm+gc5nCa7pH8LJJa00PtAjFVQ0=" }, "caseless": { - "version": "0.11.0", - "resolved": "https://registry.npmjs.org/caseless/-/caseless-0.11.0.tgz", - "integrity": "sha1-cVuW6phBWTzDMGeSP17GDr2k99c=" + "version": "0.12.0", + "resolved": "https://registry.npmjs.org/caseless/-/caseless-0.12.0.tgz", + "integrity": "sha1-G2gcIf+EAzyCZUMJBolCDRhxUdw=" }, "chalk": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz", - "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=", + "version": "2.4.1", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.1.tgz", + "integrity": "sha512-ObN6h1v2fTJSmUXoS3nMQ92LbDK9be4TV+6G+omQlGJFdcUX5heKi1LZ1YnRMIgwTLEj3E24bT6tYni50rlCfQ==", "requires": { - "ansi-styles": "^2.2.1", - "escape-string-regexp": "^1.0.2", - "has-ansi": "^2.0.0", - "strip-ansi": "^3.0.0", - "supports-color": "^2.0.0" + "ansi-styles": "^3.2.1", + "escape-string-regexp": "^1.0.5", + "supports-color": "^5.3.0" } }, "chokidar": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-2.0.3.tgz", - "integrity": "sha512-zW8iXYZtXMx4kux/nuZVXjkLP+CyIK5Al5FHnj1OgTKGZfp4Oy6/ymtMSKFv3GD8DviEmUPmJg9eFdJ/JzudMg==", + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-2.0.4.tgz", + "integrity": "sha512-z9n7yt9rOvIJrMhvDtDictKrkFHeihkNl6uWMmZlmL6tJtX9Cs+87oK+teBx+JIgzvbX3yZHT3eF8vpbDxHJXQ==", "requires": { "anymatch": "^2.0.0", "async-each": "^1.0.0", "braces": "^2.3.0", - "fsevents": "^1.1.2", + "fsevents": "^1.2.2", "glob-parent": "^3.1.0", "inherits": "^2.0.1", "is-binary-path": "^1.0.0", "is-glob": "^4.0.0", + "lodash.debounce": "^4.0.8", "normalize-path": "^2.1.1", "path-is-absolute": "^1.0.0", "readdirp": "^2.0.0", - "upath": "^1.0.0" + "upath": "^1.0.5" } }, "chownr": { @@ -1146,6 +1075,11 @@ "resolved": "https://registry.npmjs.org/clone/-/clone-1.0.4.tgz", "integrity": "sha1-2jCcwmPfFZlMaIypAheco8fNfH4=" }, + "co": { + "version": "4.6.0", + "resolved": "https://registry.npmjs.org/co/-/co-4.6.0.tgz", + "integrity": "sha1-bqa989hTrlTMuOR7+gvz+QMfsYQ=" + }, "collection-visit": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/collection-visit/-/collection-visit-1.0.0.tgz", @@ -1182,9 +1116,9 @@ } }, "commander": { - "version": "2.15.1", - "resolved": "https://registry.npmjs.org/commander/-/commander-2.15.1.tgz", - "integrity": "sha512-VlfT9F3V0v+jr4yxPc5gg9s62/fIVWsd2Bk2iD435um1NlGMYdVCq+MjcXnhYq2icNOizHr1kK+5TI6H0Hy0ag==" + "version": "2.13.0", + "resolved": "https://registry.npmjs.org/commander/-/commander-2.13.0.tgz", + "integrity": "sha512-MVuS359B+YzaWqjCL/c+22gfryv+mCBPHAv3zyVI2GN8EY6IRP8VwtasXn8jyyhvvq84R4ImN1OKRtcbIasjYA==" }, "commondir": { "version": "1.0.1", @@ -1277,26 +1211,16 @@ } }, "coveralls": { - "version": "2.13.3", - "resolved": "https://registry.npmjs.org/coveralls/-/coveralls-2.13.3.tgz", - "integrity": "sha512-iiAmn+l1XqRwNLXhW8Rs5qHZRFMYp9ZIPjEOVRpC/c4so6Y/f4/lFi0FfR5B9cCqgyhkJ5cZmbvcVRfP8MHchw==", - "requires": { - "js-yaml": "3.6.1", - "lcov-parse": "0.0.10", - "log-driver": "1.2.5", - "minimist": "1.2.0", - "request": "2.79.0" - }, - "dependencies": { - "js-yaml": { - "version": "3.6.1", - "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.6.1.tgz", - "integrity": "sha1-bl/mfYsgXOTSL60Ft3geja3MSzA=", - "requires": { - "argparse": "^1.0.7", - "esprima": "^2.6.0" - } - } + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/coveralls/-/coveralls-3.0.2.tgz", + "integrity": "sha512-Tv0LKe/MkBOilH2v7WBiTBdudg2ChfGbdXafc/s330djpF3zKOmuehTeRwjXWc7pzfj9FrDUTA7tEx6Div8NFw==", + "requires": { + "growl": "~> 1.10.0", + "js-yaml": "^3.11.0", + "lcov-parse": "^0.0.10", + "log-driver": "^1.2.7", + "minimist": "^1.2.0", + "request": "^2.85.0" } }, "create-ecdh": { @@ -1350,14 +1274,6 @@ "which": "^1.2.9" } }, - "cryptiles": { - "version": "2.0.5", - "resolved": "https://registry.npmjs.org/cryptiles/-/cryptiles-2.0.5.tgz", - "integrity": "sha1-O9/s3GCBR8HGcgL6KR59ylnqo7g=", - "requires": { - "boom": "2.x.x" - } - }, "crypto-browserify": { "version": "3.12.0", "resolved": "https://registry.npmjs.org/crypto-browserify/-/crypto-browserify-3.12.0.tgz", @@ -1408,13 +1324,6 @@ "integrity": "sha1-hTz6D3y+L+1d4gMmuN1YEDX24vA=", "requires": { "assert-plus": "^1.0.0" - }, - "dependencies": { - "assert-plus": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz", - "integrity": "sha1-8S4PPF13sLHN2RRpQuTpbB5N1SU=" - } } }, "date-now": { @@ -1582,12 +1491,13 @@ } }, "ecc-jsbn": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/ecc-jsbn/-/ecc-jsbn-0.1.1.tgz", - "integrity": "sha1-D8c6ntXw1Tw4GTOYUj735UN3dQU=", + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/ecc-jsbn/-/ecc-jsbn-0.1.2.tgz", + "integrity": "sha1-OoOpBOVDUyh4dMVkt1SThoSamMk=", "optional": true, "requires": { - "jsbn": "~0.1.0" + "jsbn": "~0.1.0", + "safer-buffer": "^2.1.0" } }, "ejs": { @@ -1623,9 +1533,9 @@ } }, "enhanced-resolve": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-4.0.0.tgz", - "integrity": "sha512-jox/62b2GofV1qTUQTMPEJSDIGycS43evqYzD/KVtEb9OCoki9cnacUPxCrZa7JfPzZSYOCZhu9O9luaMxAX8g==", + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-4.1.0.tgz", + "integrity": "sha512-F/7vkyTtyc/llOIn8oWclcB25KdRaiPBpZYDgJHgh/UHtpgT2p2eldQgtQnLtUvfMKPKxbRaQM/hHkvLHt1Vng==", "requires": { "graceful-fs": "^4.1.2", "memory-fs": "^0.4.0", @@ -1641,9 +1551,9 @@ } }, "error-ex": { - "version": "1.3.1", - "resolved": "https://registry.npmjs.org/error-ex/-/error-ex-1.3.1.tgz", - "integrity": "sha1-+FWobOYa3E6GIcPNoh56dhLDqNw=", + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/error-ex/-/error-ex-1.3.2.tgz", + "integrity": "sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==", "requires": { "is-arrayish": "^0.2.1" } @@ -1705,18 +1615,18 @@ "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=" }, "eslint-scope": { - "version": "3.7.1", - "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-3.7.1.tgz", - "integrity": "sha1-PWPD7f2gLgbgGkUq2IyqzHzctug=", + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-4.0.0.tgz", + "integrity": "sha512-1G6UTDi7Jc1ELFwnR58HV4fK9OQK4S6N985f166xqXxpjU6plxFISJa2Ba9KCQuFa8RCnj/lSFJbHo7UFDBnUA==", "requires": { "esrecurse": "^4.1.0", "estraverse": "^4.1.1" } }, "esprima": { - "version": "2.7.3", - "resolved": "https://registry.npmjs.org/esprima/-/esprima-2.7.3.tgz", - "integrity": "sha1-luO3DVd59q1JzQMmc9HDEnZ7pYE=" + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz", + "integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==" }, "esrecurse": { "version": "4.2.1", @@ -1814,9 +1724,9 @@ } }, "extend": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/extend/-/extend-3.0.1.tgz", - "integrity": "sha1-p1Xqe8Gt/MWjHOfnYtuq3F5jZEQ=" + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/extend/-/extend-3.0.2.tgz", + "integrity": "sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g==" }, "extend-shallow": { "version": "3.0.2", @@ -1902,9 +1812,9 @@ "integrity": "sha1-lpGEQOMEGnpBT4xS48V06zw+HgU=" }, "fast-deep-equal": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-2.0.1.tgz", - "integrity": "sha1-ewUhjd+WZ79/Nwv3/bLLFf3Qqkk=" + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-1.1.0.tgz", + "integrity": "sha1-wFNHeBfIa1HaqFPIHgWbcz0CNhQ=" }, "fast-json-stable-stringify": { "version": "2.0.0", @@ -1984,12 +1894,12 @@ "integrity": "sha1-+8cfDEGt6zf5bFd60e1C2P2sypE=" }, "form-data": { - "version": "2.1.4", - "resolved": "https://registry.npmjs.org/form-data/-/form-data-2.1.4.tgz", - "integrity": "sha1-M8GDrPGTJ27KqYFDpp6Uv+4XUNE=", + "version": "2.3.2", + "resolved": "https://registry.npmjs.org/form-data/-/form-data-2.3.2.tgz", + "integrity": "sha1-SXBJi+YEwgwAXU9cI67NIda0kJk=", "requires": { "asynckit": "^0.4.0", - "combined-stream": "^1.0.5", + "combined-stream": "1.0.6", "mime-types": "^2.1.12" } }, @@ -2503,19 +2413,6 @@ "resolved": "https://registry.npmjs.org/function-loop/-/function-loop-1.0.1.tgz", "integrity": "sha1-gHa7MF6OajzO7ikgdl8zDRkPNAw=" }, - "generate-function": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/generate-function/-/generate-function-2.0.0.tgz", - "integrity": "sha1-aFj+fAlpt9TpCTM3ZHrHn2DfvnQ=" - }, - "generate-object-property": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/generate-object-property/-/generate-object-property-1.2.0.tgz", - "integrity": "sha1-nA4cQDCM6AT0eDYYuTf6iPmdUNA=", - "requires": { - "is-property": "^1.0.0" - } - }, "get-stream": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-3.0.0.tgz", @@ -2532,13 +2429,6 @@ "integrity": "sha1-Xv+OPmhNVprkyysSgmBOi6YhSfo=", "requires": { "assert-plus": "^1.0.0" - }, - "dependencies": { - "assert-plus": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz", - "integrity": "sha1-8S4PPF13sLHN2RRpQuTpbB5N1SU=" - } } }, "glob": { @@ -2582,9 +2472,9 @@ } }, "globals": { - "version": "11.5.0", - "resolved": "https://registry.npmjs.org/globals/-/globals-11.5.0.tgz", - "integrity": "sha512-hYyf+kI8dm3nORsiiXUQigOU62hDLfJ9G01uyGMxhc6BKsircrUhC4uJPQPUSuq2GrTmiiEt7ewxlMdBewfmKQ==" + "version": "11.7.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-11.7.0.tgz", + "integrity": "sha512-K8BNSPySfeShBQXsahYB/AbbWruVOTyVpgoIDnl8odPpeSfP2J5QO2oLFFdl2j7GfDCtZj2bMKar2T49itTPCg==" }, "got": { "version": "6.7.1", @@ -2609,15 +2499,23 @@ "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.1.11.tgz", "integrity": "sha1-Dovf5NHduIVNZOBOp8AOKgJuVlg=" }, + "growl": { + "version": "1.10.5", + "resolved": "https://registry.npmjs.org/growl/-/growl-1.10.5.tgz", + "integrity": "sha512-qBr4OuELkhPenW6goKVXiv47US3clb3/IbuWF9KNKEijAy9oeHxU9IgzjvJhHkUzhaj7rOUD7+YGWqUjLp5oSA==" + }, + "har-schema": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/har-schema/-/har-schema-2.0.0.tgz", + "integrity": "sha1-qUwiJOvKwEeCoNkDVSHyRzW37JI=" + }, "har-validator": { - "version": "2.0.6", - "resolved": "https://registry.npmjs.org/har-validator/-/har-validator-2.0.6.tgz", - "integrity": "sha1-zcvAgYgmWtEZtqWnyKtw7s+10n0=", + "version": "5.0.3", + "resolved": "https://registry.npmjs.org/har-validator/-/har-validator-5.0.3.tgz", + "integrity": "sha1-ukAsJmGU8VlW7xXg/PJCmT9qff0=", "requires": { - "chalk": "^1.1.1", - "commander": "^2.9.0", - "is-my-json-valid": "^2.12.4", - "pinkie-promise": "^2.0.0" + "ajv": "^5.1.0", + "har-schema": "^2.0.0" } }, "has": { @@ -2628,14 +2526,6 @@ "function-bind": "^1.1.1" } }, - "has-ansi": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/has-ansi/-/has-ansi-2.0.0.tgz", - "integrity": "sha1-NPUEnOHs3ysGSa8+8k5F7TVBbZE=", - "requires": { - "ansi-regex": "^2.0.0" - } - }, "has-flag": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", @@ -2685,23 +2575,12 @@ } }, "hash.js": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/hash.js/-/hash.js-1.1.4.tgz", - "integrity": "sha512-A6RlQvvZEtFS5fLU43IDu0QUmBy+fDO9VMdTXvufKwIkt/rFfvICAViCax5fbDO4zdNzaC3/27ZhKUok5bAJyw==", + "version": "1.1.5", + "resolved": "https://registry.npmjs.org/hash.js/-/hash.js-1.1.5.tgz", + "integrity": "sha512-eWI5HG9Np+eHV1KQhisXWwM+4EPPYe5dFX1UZZH7k/E3JzDEazVH+VGlZi6R94ZqImq+A3D1mCEtrFIfg/E7sA==", "requires": { "inherits": "^2.0.3", - "minimalistic-assert": "^1.0.0" - } - }, - "hawk": { - "version": "3.1.3", - "resolved": "https://registry.npmjs.org/hawk/-/hawk-3.1.3.tgz", - "integrity": "sha1-B4REvXwWQLD+VA0sm3PVlnjo4cQ=", - "requires": { - "boom": "2.x.x", - "cryptiles": "2.x.x", - "hoek": "2.x.x", - "sntp": "1.x.x" + "minimalistic-assert": "^1.0.1" } }, "hmac-drbg": { @@ -2714,22 +2593,17 @@ "minimalistic-crypto-utils": "^1.0.1" } }, - "hoek": { - "version": "2.16.3", - "resolved": "https://registry.npmjs.org/hoek/-/hoek-2.16.3.tgz", - "integrity": "sha1-ILt0A9POo5jpHcRxCo/xuCdKJe0=" - }, "hosted-git-info": { - "version": "2.6.0", - "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.6.0.tgz", - "integrity": "sha512-lIbgIIQA3lz5XaB6vxakj6sDHADJiZadYEJB+FgA+C4nubM1NwcuvUr9EJPmnH1skZqpqUzWborWo8EIUi0Sdw==" + "version": "2.7.1", + "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.7.1.tgz", + "integrity": "sha512-7T/BxH19zbcCTa8XkMlbK5lTo1WtgkFi3GvdWEyNuc4Vex7/9Dqbnpsf4JMydcfj9HCg4zUWFTL3Za6lapg5/w==" }, "http-signature": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/http-signature/-/http-signature-1.1.1.tgz", - "integrity": "sha1-33LiZwZs0Kxn+3at+OE0qPvPkb8=", + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/http-signature/-/http-signature-1.2.0.tgz", + "integrity": "sha1-muzZJRFHcvPZW2WmCruPfBj7rOE=", "requires": { - "assert-plus": "^0.2.0", + "assert-plus": "^1.0.0", "jsprim": "^1.2.2", "sshpk": "^1.7.0" } @@ -2797,14 +2671,6 @@ "resolved": "https://registry.npmjs.org/ini/-/ini-1.3.5.tgz", "integrity": "sha512-RZY5huIKCMRWDUqZlEi72f/lmXKMvuszcMBduliQ3nnWbx9X/ZBQO7DijMEYS9EhHBb2qacRUMtC7svLwe0lcw==" }, - "invariant": { - "version": "2.2.4", - "resolved": "https://registry.npmjs.org/invariant/-/invariant-2.2.4.tgz", - "integrity": "sha512-phJfQVBuaJM5raOpJjSfkiD6BpbCE4Ns//LaXl6wGYtUBY83nWS6Rf9tXm2e8VaK60JEjYldbPif/A2B1C2gNA==", - "requires": { - "loose-envify": "^1.0.0" - } - }, "irregular-plurals": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/irregular-plurals/-/irregular-plurals-2.0.0.tgz", @@ -2855,9 +2721,9 @@ } }, "is-callable": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.1.3.tgz", - "integrity": "sha1-hut1OSgF3cM69xySoO7fdO52BLI=" + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.1.4.tgz", + "integrity": "sha512-r5p9sxJjYnArLjObpjA4xu5EKI3CuKHkJXMhT7kwbpUyIFD1n5PMAsoPvWnvtZiNz7LjkYDRZhd7FlI0eMijEA==" }, "is-ci": { "version": "1.1.0", @@ -2944,23 +2810,6 @@ "is-path-inside": "^1.0.0" } }, - "is-my-ip-valid": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-my-ip-valid/-/is-my-ip-valid-1.0.0.tgz", - "integrity": "sha512-gmh/eWXROncUzRnIa1Ubrt5b8ep/MGSnfAUI3aRp+sqTCs1tv1Isl8d8F6JmkN3dXKc3ehZMrtiPN9eL03NuaQ==" - }, - "is-my-json-valid": { - "version": "2.17.2", - "resolved": "https://registry.npmjs.org/is-my-json-valid/-/is-my-json-valid-2.17.2.tgz", - "integrity": "sha512-IBhBslgngMQN8DDSppmgDv7RNrlFotuuDsKcrCP3+HbFaVivIBU7u9oiiErw8sH4ynx3+gOGQ3q2otkgiSi6kg==", - "requires": { - "generate-function": "^2.0.0", - "generate-object-property": "^1.1.0", - "is-my-ip-valid": "^1.0.0", - "jsonpointer": "^4.0.0", - "xtend": "^4.0.0" - } - }, "is-npm": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/is-npm/-/is-npm-1.0.0.tgz", @@ -2989,21 +2838,6 @@ "resolved": "https://registry.npmjs.org/is-obj/-/is-obj-1.0.1.tgz", "integrity": "sha1-PkcprB9f3gJc19g6iW2rn09n2w8=" }, - "is-odd": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/is-odd/-/is-odd-2.0.0.tgz", - "integrity": "sha512-OTiixgpZAT1M4NHgS5IguFp/Vz2VI3U7Goh4/HA1adtwyLtSBrxYlcSYkhpAE07s4fKEcjrFxyvtQBND4vFQyQ==", - "requires": { - "is-number": "^4.0.0" - }, - "dependencies": { - "is-number": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/is-number/-/is-number-4.0.0.tgz", - "integrity": "sha512-rSklcAIlf1OmFdyAqbnWTLVelsQ58uvZ66S/ZyawjWqIviTWCjg2PzVGw8WUA+nNuPTqb4wgA+NszrJ+08LlgQ==" - } - } - }, "is-path-inside": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/is-path-inside/-/is-path-inside-1.0.1.tgz", @@ -3025,11 +2859,6 @@ "isobject": "^3.0.1" } }, - "is-property": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/is-property/-/is-property-1.0.2.tgz", - "integrity": "sha1-V/4cTkhHTt1lsJkR8msc1Ald2oQ=" - }, "is-redirect": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/is-redirect/-/is-redirect-1.0.0.tgz", @@ -3099,19 +2928,12 @@ "integrity": "sha1-mGbfOVECEw449/mWvOtlRDIJwls=" }, "js-yaml": { - "version": "3.11.0", - "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.11.0.tgz", - "integrity": "sha512-saJstZWv7oNeOyBh3+Dx1qWzhW0+e6/8eDzo7p5rDFqxntSztloLtuKu+Ejhtq82jsilwOIZYsCz+lIjthg1Hw==", + "version": "3.12.0", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.12.0.tgz", + "integrity": "sha512-PIt2cnwmPfL4hKNwqeiuz4bKfnzHTBv6HyVgjahA6mPLwPDzjDWrplJBMjHUFxku/N3FlmrbyPclad+I+4mJ3A==", "requires": { "argparse": "^1.0.7", "esprima": "^4.0.0" - }, - "dependencies": { - "esprima": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.0.tgz", - "integrity": "sha512-oftTcaMu/EGrEIu904mWteKIv8vMuOgGYo7EhVJJN00R/EED9DCua/xxHRdYnKtcECzVg7xOWhflvJMnqcFZjw==" - } } }, "jsbn": { @@ -3136,9 +2958,9 @@ "integrity": "sha1-tIDIkuWaLwWVTOcnvT8qTogvnhM=" }, "json-schema-traverse": { - "version": "0.4.1", - "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", - "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==" + "version": "0.3.1", + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.3.1.tgz", + "integrity": "sha1-NJptRMU6Ud6JtAgFxdXlm0F9M0A=" }, "json-stringify-safe": { "version": "5.0.1", @@ -3150,11 +2972,6 @@ "resolved": "https://registry.npmjs.org/json5/-/json5-0.5.1.tgz", "integrity": "sha1-Hq3nrMASA0rYTiOWdn6tn6VJWCE=" }, - "jsonpointer": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/jsonpointer/-/jsonpointer-4.0.1.tgz", - "integrity": "sha1-T9kss04OnbPInIYi7PUfm5eMbLk=" - }, "jsprim": { "version": "1.4.1", "resolved": "https://registry.npmjs.org/jsprim/-/jsprim-1.4.1.tgz", @@ -3164,13 +2981,6 @@ "extsprintf": "1.3.0", "json-schema": "0.2.3", "verror": "1.10.0" - }, - "dependencies": { - "assert-plus": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz", - "integrity": "sha1-8S4PPF13sLHN2RRpQuTpbB5N1SU=" - } } }, "kind-of": { @@ -3191,11 +3001,6 @@ "resolved": "https://registry.npmjs.org/lcov-parse/-/lcov-parse-0.0.10.tgz", "integrity": "sha1-GwuP+ayceIklBYK3C3ExXZ2m2aM=" }, - "leb": { - "version": "0.3.0", - "resolved": "https://registry.npmjs.org/leb/-/leb-0.3.0.tgz", - "integrity": "sha1-Mr7p+tFoMo1q6oUi2DP0GA7tHaM=" - }, "load-json-file": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/load-json-file/-/load-json-file-4.0.0.tgz", @@ -3236,10 +3041,15 @@ "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.10.tgz", "integrity": "sha512-UejweD1pDoXu+AD825lWwp4ZGtSwgnpZxb3JDViD7StjQz+Nb/6l093lx4OQ0foGWNRoc19mWy7BzL+UAK2iVg==" }, + "lodash.debounce": { + "version": "4.0.8", + "resolved": "https://registry.npmjs.org/lodash.debounce/-/lodash.debounce-4.0.8.tgz", + "integrity": "sha1-gteb/zCmfEAF/9XiUVMArZyk168=" + }, "log-driver": { - "version": "1.2.5", - "resolved": "https://registry.npmjs.org/log-driver/-/log-driver-1.2.5.tgz", - "integrity": "sha1-euTsJXMC/XkNVXyxDJcQDYV7AFY=" + "version": "1.2.7", + "resolved": "https://registry.npmjs.org/log-driver/-/log-driver-1.2.7.tgz", + "integrity": "sha512-U7KCmLdqsGHBLeWqYlFA0V0Sl6P08EE1ZrmA9cxjUE0WVqT9qnyVDPz1kzpFEP0jdJuFnasWIfSd7fsaNXkpbg==" }, "log-symbols": { "version": "2.2.0", @@ -3247,34 +3057,6 @@ "integrity": "sha512-VeIAFslyIerEJLXHziedo2basKbMKtTw3vfn5IzG0XTjhAVEJyNHnL2p7vc+wBDSdQuUpNw3M2u6xb9QsAY5Eg==", "requires": { "chalk": "^2.0.1" - }, - "dependencies": { - "ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "requires": { - "color-convert": "^1.9.0" - } - }, - "chalk": { - "version": "2.4.1", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.1.tgz", - "integrity": "sha512-ObN6h1v2fTJSmUXoS3nMQ92LbDK9be4TV+6G+omQlGJFdcUX5heKi1LZ1YnRMIgwTLEj3E24bT6tYni50rlCfQ==", - "requires": { - "ansi-styles": "^3.2.1", - "escape-string-regexp": "^1.0.5", - "supports-color": "^5.3.0" - } - }, - "supports-color": { - "version": "5.4.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.4.0.tgz", - "integrity": "sha512-zjaXglF5nnWpsq470jSv6P9DwPvgLkuapYmfDm3JWOm0vkNTVF2tI4UrN2r6jH1qM/uc/WtxYY1hYoA2dOKj5w==", - "requires": { - "has-flag": "^3.0.0" - } - } } }, "loglevelnext": { @@ -3291,14 +3073,6 @@ "resolved": "https://registry.npmjs.org/long/-/long-3.2.0.tgz", "integrity": "sha1-2CG3E4yhy1gcFymQ7xTbIAtcR0s=" }, - "loose-envify": { - "version": "1.3.1", - "resolved": "https://registry.npmjs.org/loose-envify/-/loose-envify-1.3.1.tgz", - "integrity": "sha1-0aitM/qc4OcT1l/dCsi3SNR4yEg=", - "requires": { - "js-tokens": "^3.0.0" - } - }, "loud-rejection": { "version": "1.6.0", "resolved": "https://registry.npmjs.org/loud-rejection/-/loud-rejection-1.6.0.tgz", @@ -3430,16 +3204,16 @@ } }, "mime-db": { - "version": "1.33.0", - "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.33.0.tgz", - "integrity": "sha512-BHJ/EKruNIqJf/QahvxwQZXKygOQ256myeN/Ew+THcAa5q+PjyTTMMeNQC4DZw5AwfvelsUrA6B67NKMqXDbzQ==" + "version": "1.35.0", + "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.35.0.tgz", + "integrity": "sha512-JWT/IcCTsB0Io3AhWUMjRqucrHSPsSf2xKLaRldJVULioggvkJvggZ3VXNNSRkCddE6D+BUI4HEIZIA2OjwIvg==" }, "mime-types": { - "version": "2.1.18", - "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.18.tgz", - "integrity": "sha512-lc/aahn+t4/SWV/qcmumYjymLsWfN3ELhpmVuUFjgsORruuZPVSwAQryq+HHGvO/SI2KVX26bx+En+zhM8g8hQ==", + "version": "2.1.19", + "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.19.tgz", + "integrity": "sha512-P1tKYHVSZ6uFo26mtnve4HQFE3koh1UWVkp8YUC+ESBHe945xWSoXuHHiGarDqcEZ+whpCDnlNw5LON0kLo+sw==", "requires": { - "mime-db": "~1.33.0" + "mime-db": "~1.35.0" } }, "mimic-fn": { @@ -3479,6 +3253,22 @@ "is-plain-obj": "^1.1.0" } }, + "minipass": { + "version": "2.3.3", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-2.3.3.tgz", + "integrity": "sha512-/jAn9/tEX4gnpyRATxgHEOV6xbcyxgT7iUnxo9Y3+OB0zX00TgKIv/2FZCf5brBbICcwbLqVv2ImjvWWrQMSYw==", + "requires": { + "safe-buffer": "^5.1.2", + "yallist": "^3.0.0" + }, + "dependencies": { + "yallist": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-3.0.2.tgz", + "integrity": "sha1-hFK0u36Dx8GI2AQcGoN8dz1ti7k=" + } + } + }, "mississippi": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/mississippi/-/mississippi-2.0.0.tgz", @@ -3555,16 +3345,15 @@ "optional": true }, "nanomatch": { - "version": "1.2.9", - "resolved": "https://registry.npmjs.org/nanomatch/-/nanomatch-1.2.9.tgz", - "integrity": "sha512-n8R9bS8yQ6eSXaV6jHUpKzD8gLsin02w1HSFiegwrs9E098Ylhw5jdyKPaYqvHknHaSCKTPp7C8dGCQ0q9koXA==", + "version": "1.2.13", + "resolved": "https://registry.npmjs.org/nanomatch/-/nanomatch-1.2.13.tgz", + "integrity": "sha512-fpoe2T0RbHwBTBUOftAfBPaDEi06ufaUai0mE6Yn1kacc3SnTErfb/h+X94VXzI64rKFHYImXSvdwGGCmwOqCA==", "requires": { "arr-diff": "^4.0.0", "array-unique": "^0.3.2", "define-property": "^2.0.2", "extend-shallow": "^3.0.2", "fragment-cache": "^0.2.1", - "is-odd": "^2.0.0", "is-windows": "^1.0.2", "kind-of": "^6.0.2", "object.pick": "^1.3.0", @@ -3614,12 +3403,12 @@ } }, "nodeunit": { - "version": "0.11.2", - "resolved": "https://registry.npmjs.org/nodeunit/-/nodeunit-0.11.2.tgz", - "integrity": "sha512-rlr0Fgd66nLmWwgVFj40TZp5jo47/YqaPQtoHG78mt+DVQhaLhA8EJJYCf2lozgYplPv+jJMLt8bCP34zo05mQ==", + "version": "0.11.3", + "resolved": "https://registry.npmjs.org/nodeunit/-/nodeunit-0.11.3.tgz", + "integrity": "sha512-gDNxrDWpx07BxYNO/jn1UrGI1vNhDQZrIFphbHMcTCDc5mrrqQBWfQMXPHJ5WSgbFwD1D6bv4HOsqtTrPG03AA==", "requires": { "ejs": "^2.5.2", - "tap": "^10.0.2" + "tap": "^12.0.1" } }, "normalize-package-data": { @@ -3650,9 +3439,9 @@ } }, "nyc": { - "version": "11.8.0", - "resolved": "https://registry.npmjs.org/nyc/-/nyc-11.8.0.tgz", - "integrity": "sha512-PUFq1PSsx5OinSk5g5aaZygcDdI3QQT5XUlbR9QRMihtMS6w0Gm8xj4BxmKeeAlpQXC5M2DIhH16Y+KejceivQ==", + "version": "11.9.0", + "resolved": "https://registry.npmjs.org/nyc/-/nyc-11.9.0.tgz", + "integrity": "sha512-w8OdJAhXL5izerzZMdqzYKMj/pgHJyY3qEPYBjLLxrhcVoHEY9pU5ENIiZyCgG9OR7x3VcUMoD40o6PtVpfR4g==", "requires": { "archy": "^1.0.0", "arrify": "^1.0.1", @@ -5986,9 +5775,9 @@ } }, "object-keys": { - "version": "1.0.11", - "resolved": "https://registry.npmjs.org/object-keys/-/object-keys-1.0.11.tgz", - "integrity": "sha1-xUYBd4rVYPEULODgG8yotW0TQm0=" + "version": "1.0.12", + "resolved": "https://registry.npmjs.org/object-keys/-/object-keys-1.0.12.tgz", + "integrity": "sha512-FTMyFUm2wBcGHnH2eXmz7tC6IwlqQZ6mVZ+6dm6vZ4IQIHjs6FdNsQBuKGPuUUUY6NfJw2PshC08Tn6LzLDOag==" }, "object-visit": { "version": "1.0.1", @@ -6075,24 +5864,6 @@ "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-3.0.0.tgz", "integrity": "sha1-7QMXwyIGT3lGbAKWa922Bas32Zg=" }, - "ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "requires": { - "color-convert": "^1.9.0" - } - }, - "chalk": { - "version": "2.4.1", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.1.tgz", - "integrity": "sha512-ObN6h1v2fTJSmUXoS3nMQ92LbDK9be4TV+6G+omQlGJFdcUX5heKi1LZ1YnRMIgwTLEj3E24bT6tYni50rlCfQ==", - "requires": { - "ansi-styles": "^3.2.1", - "escape-string-regexp": "^1.0.5", - "supports-color": "^5.3.0" - } - }, "strip-ansi": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-4.0.0.tgz", @@ -6100,14 +5871,6 @@ "requires": { "ansi-regex": "^3.0.0" } - }, - "supports-color": { - "version": "5.4.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.4.0.tgz", - "integrity": "sha512-zjaXglF5nnWpsq470jSv6P9DwPvgLkuapYmfDm3JWOm0vkNTVF2tI4UrN2r6jH1qM/uc/WtxYY1hYoA2dOKj5w==", - "requires": { - "has-flag": "^3.0.0" - } } } }, @@ -6243,9 +6006,9 @@ "integrity": "sha1-QRyttXTFoUDTpLGRDUDYDMn0C0A=" }, "path-parse": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.5.tgz", - "integrity": "sha1-PBrfhx6pzWyUMbbqK9dKD/BVxME=" + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.6.tgz", + "integrity": "sha512-GSmOT2EbHrINBf9SR7CDELwlJ8AENk3Qn7OikK4nFYAu3Ote2+JYNVvkpAEQm3/TLNEJFD/xZJjzyxg3KBWOzw==" }, "path-type": { "version": "3.0.0", @@ -6267,24 +6030,16 @@ "sha.js": "^2.4.8" } }, + "performance-now": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/performance-now/-/performance-now-2.1.0.tgz", + "integrity": "sha1-Ywn04OX6kT7BxpMHrjZLSzd8nns=" + }, "pify": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/pify/-/pify-3.0.0.tgz", "integrity": "sha1-5aSs0sEB/fPZpNB/DbxNtJ3SgXY=" }, - "pinkie": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/pinkie/-/pinkie-2.0.4.tgz", - "integrity": "sha1-clVrgM+g1IqXToDnckjoDtT3+HA=" - }, - "pinkie-promise": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/pinkie-promise/-/pinkie-promise-2.0.1.tgz", - "integrity": "sha1-ITXW36ejWMBprJsXh3YogihFD/o=", - "requires": { - "pinkie": "^2.0.0" - } - }, "pkg-dir": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-2.0.0.tgz", @@ -6378,9 +6133,9 @@ "integrity": "sha1-wNWmOycYgArY4esPpSachN1BhF4=" }, "qs": { - "version": "6.3.2", - "resolved": "https://registry.npmjs.org/qs/-/qs-6.3.2.tgz", - "integrity": "sha1-51vV9uJoEioqDgvaYwslUMFmUCw=" + "version": "6.5.2", + "resolved": "https://registry.npmjs.org/qs/-/qs-6.5.2.tgz", + "integrity": "sha512-N5ZAX4/LxJmF+7wN74pUD6qAh9/wnvdQcjq9TZjevvXzSUo7bfmw91saqMjzGS2xq91/odN2dW/WOl7qQHNDGA==" }, "querystring": { "version": "0.2.0", @@ -6520,36 +6275,36 @@ "integrity": "sha1-jcrkcOHIirwtYA//Sndihtp15jc=" }, "request": { - "version": "2.79.0", - "resolved": "https://registry.npmjs.org/request/-/request-2.79.0.tgz", - "integrity": "sha1-Tf5b9r6LjNw3/Pk+BLZVd3InEN4=", + "version": "2.87.0", + "resolved": "https://registry.npmjs.org/request/-/request-2.87.0.tgz", + "integrity": "sha512-fcogkm7Az5bsS6Sl0sibkbhcKsnyon/jV1kF3ajGmF0c8HrttdKTPRT9hieOaQHA5HEq6r8OyWOo/o781C1tNw==", "requires": { - "aws-sign2": "~0.6.0", - "aws4": "^1.2.1", - "caseless": "~0.11.0", + "aws-sign2": "~0.7.0", + "aws4": "^1.6.0", + "caseless": "~0.12.0", "combined-stream": "~1.0.5", - "extend": "~3.0.0", + "extend": "~3.0.1", "forever-agent": "~0.6.1", - "form-data": "~2.1.1", - "har-validator": "~2.0.6", - "hawk": "~3.1.3", - "http-signature": "~1.1.0", + "form-data": "~2.3.1", + "har-validator": "~5.0.3", + "http-signature": "~1.2.0", "is-typedarray": "~1.0.0", "isstream": "~0.1.2", "json-stringify-safe": "~5.0.1", - "mime-types": "~2.1.7", - "oauth-sign": "~0.8.1", - "qs": "~6.3.0", - "stringstream": "~0.0.4", - "tough-cookie": "~2.3.0", - "tunnel-agent": "~0.4.1", - "uuid": "^3.0.0" + "mime-types": "~2.1.17", + "oauth-sign": "~0.8.2", + "performance-now": "^2.1.0", + "qs": "~6.5.1", + "safe-buffer": "^5.1.1", + "tough-cookie": "~2.3.3", + "tunnel-agent": "^0.6.0", + "uuid": "^3.1.0" } }, "resolve": { - "version": "1.7.1", - "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.7.1.tgz", - "integrity": "sha512-c7rwLofp8g1U+h1KNyHL/jicrKg1Ek4q+Lr33AL65uZTinUZHe30D5HlyN5V9NW0JX1D5dXQ4jqW5l7Sy/kGfw==", + "version": "1.8.1", + "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.8.1.tgz", + "integrity": "sha512-AicPrAC7Qu1JxPCZ9ZgCZlY35QgFnNqc+0LtbRNxnVw4TXvjQ72wnuL9JQcEBgXkI9JM8MsT9kaQoHcpCRJOYA==", "requires": { "path-parse": "^1.0.5" } @@ -6624,13 +6379,41 @@ "ret": "~0.1.10" } }, + "safer-buffer": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", + "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==" + }, "schema-utils": { - "version": "0.4.5", - "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-0.4.5.tgz", - "integrity": "sha512-yYrjb9TX2k/J1Y5UNy3KYdZq10xhYcF8nMpAW6o3hy6Q8WSIEf9lJHG/ePnOBfziPM3fvQwfOwa13U/Fh8qTfA==", + "version": "0.4.7", + "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-0.4.7.tgz", + "integrity": "sha512-v/iwU6wvwGK8HbU9yi3/nhGzP0yGSuhQMzL6ySiec1FSrZZDkhm4noOSWzrNFo/jEc+SJY6jRTwuwbSXJPDUnQ==", "requires": { "ajv": "^6.1.0", "ajv-keywords": "^3.1.0" + }, + "dependencies": { + "ajv": { + "version": "6.5.2", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.5.2.tgz", + "integrity": "sha512-hOs7GfvI6tUI1LfZddH82ky6mOMyTuY0mk7kE2pWpmhhUSkumzaTO5vbVwij39MdwPQWCV4Zv57Eo06NtL/GVA==", + "requires": { + "fast-deep-equal": "^2.0.1", + "fast-json-stable-stringify": "^2.0.0", + "json-schema-traverse": "^0.4.1", + "uri-js": "^4.2.1" + } + }, + "fast-deep-equal": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-2.0.1.tgz", + "integrity": "sha1-ewUhjd+WZ79/Nwv3/bLLFf3Qqkk=" + }, + "json-schema-traverse": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", + "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==" + } } }, "semver": { @@ -6739,6 +6522,11 @@ "requires": { "is-extendable": "^0.1.0" } + }, + "source-map": { + "version": "0.5.7", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", + "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=" } } }, @@ -6806,23 +6594,15 @@ } } }, - "sntp": { - "version": "1.0.9", - "resolved": "https://registry.npmjs.org/sntp/-/sntp-1.0.9.tgz", - "integrity": "sha1-ZUEYTMkK7qbG57NeJlkIJEPGYZg=", - "requires": { - "hoek": "2.x.x" - } - }, "source-list-map": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/source-list-map/-/source-list-map-2.0.0.tgz", "integrity": "sha512-I2UmuJSRr/T8jisiROLU3A3ltr+swpniSmNPI4Ml3ZCX6tVnDsuZzK7F2hl5jTqbZBWCEKlj5HRQiPExXLgE8A==" }, "source-map": { - "version": "0.5.7", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", - "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=" + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==" }, "source-map-resolve": { "version": "0.5.2", @@ -6836,6 +6616,15 @@ "urix": "^0.1.0" } }, + "source-map-support": { + "version": "0.5.6", + "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.6.tgz", + "integrity": "sha512-N4KXEz7jcKqPf2b2vZF11lQIz9W5ZMuUcIOGj243lduidkf2fjkVKJS9vNxVWn3u/uxX38AcE8U9nnH9FPcq+g==", + "requires": { + "buffer-from": "^1.0.0", + "source-map": "^0.6.0" + } + }, "source-map-url": { "version": "0.4.0", "resolved": "https://registry.npmjs.org/source-map-url/-/source-map-url-0.4.0.tgz", @@ -6883,9 +6672,9 @@ "integrity": "sha1-BOaSb2YolTVPPdAVIDYzuFcpfiw=" }, "sshpk": { - "version": "1.14.1", - "resolved": "https://registry.npmjs.org/sshpk/-/sshpk-1.14.1.tgz", - "integrity": "sha1-Ew9Zde3a2WPx1W+SuaxsUfqfg+s=", + "version": "1.14.2", + "resolved": "https://registry.npmjs.org/sshpk/-/sshpk-1.14.2.tgz", + "integrity": "sha1-xvxhZIo9nE52T9P8306hBeSSupg=", "requires": { "asn1": "~0.2.3", "assert-plus": "^1.0.0", @@ -6894,14 +6683,8 @@ "ecc-jsbn": "~0.1.1", "getpass": "^0.1.1", "jsbn": "~0.1.0", + "safer-buffer": "^2.0.2", "tweetnacl": "~0.14.0" - }, - "dependencies": { - "assert-plus": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz", - "integrity": "sha1-8S4PPF13sLHN2RRpQuTpbB5N1SU=" - } } }, "ssri": { @@ -6946,9 +6729,9 @@ } }, "stream-each": { - "version": "1.2.2", - "resolved": "https://registry.npmjs.org/stream-each/-/stream-each-1.2.2.tgz", - "integrity": "sha512-mc1dbFhGBxvTM3bIWmAAINbqiuAk9TATcfIQC8P+/+HJefgaiTlMn2dHvkX8qlI12KeYKSQ1Ua9RrIqrn1VPoA==", + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/stream-each/-/stream-each-1.2.3.tgz", + "integrity": "sha512-vlMC2f8I2u/bZGqkdfLQW/13Zihpej/7PmSiMQsbYddxuTsJp8vRe2x2FvVExZg7FaOds43ROAuFJwPR4MTZLw==", "requires": { "end-of-stream": "^1.1.0", "stream-shift": "^1.0.0" @@ -7003,11 +6786,6 @@ "safe-buffer": "~5.1.0" } }, - "stringstream": { - "version": "0.0.6", - "resolved": "https://registry.npmjs.org/stringstream/-/stringstream-0.0.6.tgz", - "integrity": "sha512-87GEBAkegbBcweToUrdzf3eLhWNg06FJTebl4BVJz/JgWy8CvEr9dRtX5qWphiynMSQlxxi+QqN0z5T32SLlhA==" - }, "strip-ansi": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz", @@ -7037,51 +6815,47 @@ "integrity": "sha1-PFMZQukIwml8DsNEhYwobHygpgo=" }, "supports-color": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz", - "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=" + "version": "5.4.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.4.0.tgz", + "integrity": "sha512-zjaXglF5nnWpsq470jSv6P9DwPvgLkuapYmfDm3JWOm0vkNTVF2tI4UrN2r6jH1qM/uc/WtxYY1hYoA2dOKj5w==", + "requires": { + "has-flag": "^3.0.0" + } }, "tap": { - "version": "10.7.3", - "resolved": "https://registry.npmjs.org/tap/-/tap-10.7.3.tgz", - "integrity": "sha512-oS/FIq+tcmxVgYn5usKtLsX+sOHNEj+G7JIQE9SBjO5mVYB1rbaEJJiDbnYp8k0ZqY2Pe4HbYEpkvzm9jfLDyw==", + "version": "12.0.1", + "resolved": "https://registry.npmjs.org/tap/-/tap-12.0.1.tgz", + "integrity": "sha512-iEJytWaZy8risvfRjuV4+ST+Lrrui/MW2ZCWn01ZaMn0NKFej4+PpBy6bXGOg9+cEGNmI7d3Sdka/zTUZUGidA==", "requires": { - "bind-obj-methods": "^1.0.0", + "bind-obj-methods": "^2.0.0", "bluebird": "^3.5.1", "clean-yaml-object": "^0.1.0", "color-support": "^1.1.0", - "coveralls": "^2.13.3", + "coveralls": "^3.0.1", "foreground-child": "^1.3.3", "fs-exists-cached": "^1.0.0", "function-loop": "^1.0.1", "glob": "^7.0.0", "isexe": "^2.0.0", - "js-yaml": "^3.10.0", - "nyc": "^11.3.0", + "js-yaml": "^3.11.0", + "minipass": "^2.3.0", + "mkdirp": "^0.5.1", + "nyc": "^11.8.0", "opener": "^1.4.1", "os-homedir": "^1.0.2", "own-or": "^1.0.0", - "own-or-env": "^1.0.0", - "readable-stream": "^2.3.2", + "own-or-env": "^1.0.1", + "rimraf": "^2.6.2", "signal-exit": "^3.0.0", - "source-map-support": "^0.4.18", + "source-map-support": "^0.5.6", "stack-utils": "^1.0.0", - "tap-mocha-reporter": "^3.0.6", - "tap-parser": "^5.3.1", - "tmatch": "^3.1.0", + "tap-mocha-reporter": "^3.0.7", + "tap-parser": "^7.0.0", + "tmatch": "^4.0.0", "trivial-deferred": "^1.0.1", - "tsame": "^1.1.2", + "tsame": "^2.0.0", + "write-file-atomic": "^2.3.0", "yapool": "^1.0.0" - }, - "dependencies": { - "source-map-support": { - "version": "0.4.18", - "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.4.18.tgz", - "integrity": "sha512-try0/JqxPLF9nOjvSta7tVondkP5dwgyLDjVoyMDlmjugT2lRZ1OfsrYTkCd2hkDnJTKRbO/Rl3orm8vlsUzbA==", - "requires": { - "source-map": "^0.5.6" - } - } } }, "tap-mocha-reporter": { @@ -7098,16 +6872,28 @@ "readable-stream": "^2.1.5", "tap-parser": "^5.1.0", "unicode-length": "^1.0.0" + }, + "dependencies": { + "tap-parser": { + "version": "5.4.0", + "resolved": "https://registry.npmjs.org/tap-parser/-/tap-parser-5.4.0.tgz", + "integrity": "sha512-BIsIaGqv7uTQgTW1KLTMNPSEQf4zDDPgYOBRdgOfuB+JFOLRBfEu6cLa/KvMvmqggu1FKXDfitjLwsq4827RvA==", + "requires": { + "events-to-array": "^1.0.1", + "js-yaml": "^3.2.7", + "readable-stream": "^2" + } + } } }, "tap-parser": { - "version": "5.4.0", - "resolved": "https://registry.npmjs.org/tap-parser/-/tap-parser-5.4.0.tgz", - "integrity": "sha512-BIsIaGqv7uTQgTW1KLTMNPSEQf4zDDPgYOBRdgOfuB+JFOLRBfEu6cLa/KvMvmqggu1FKXDfitjLwsq4827RvA==", + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/tap-parser/-/tap-parser-7.0.0.tgz", + "integrity": "sha512-05G8/LrzqOOFvZhhAk32wsGiPZ1lfUrl+iV7+OkKgfofZxiceZWMHkKmow71YsyVQ8IvGBP2EjcIjE5gL4l5lA==", "requires": { "events-to-array": "^1.0.1", "js-yaml": "^3.2.7", - "readable-stream": "^2" + "minipass": "^2.2.0" } }, "tapable": { @@ -7156,9 +6942,9 @@ "integrity": "sha512-rUwGDruKq1gX+FFHbTl5qjI7teVO7eOe+C8IcQ7QT+1BK3eEUXJqbZcBOeaRP4FwSC/C1A5jDoIVta0nIQ9yew==" }, "tmatch": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/tmatch/-/tmatch-3.1.0.tgz", - "integrity": "sha512-W3MSATOCN4pVu2qFxmJLIArSifeSOFqnfx9hiUaVgOmeRoI2NbU7RNga+6G+L8ojlFeQge+ZPCclWyUpQ8UeNQ==" + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/tmatch/-/tmatch-4.0.0.tgz", + "integrity": "sha512-Ynn2Gsp+oCvYScQXeV+cCs7citRDilq0qDXA6tuvFwDgiYyyaq7D5vKUlAPezzZR5NDobc/QMeN6e5guOYmvxg==" }, "to-arraybuffer": { "version": "1.0.1", @@ -7232,14 +7018,14 @@ "integrity": "sha1-N21NKdlR1jaKb3oK6FwvTV4GWPM=" }, "tsame": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/tsame/-/tsame-1.1.2.tgz", - "integrity": "sha512-ovCs24PGjmByVPr9tSIOs/yjUX9sJl0grEmOsj9dZA/UknQkgPOKcUqM84aSCvt9awHuhc/boMzTg3BHFalxWw==" + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/tsame/-/tsame-2.0.0.tgz", + "integrity": "sha512-dAuzcnOPdqZYojylFQzEes95UDjve3HqKrlTCeLZKSDPMTsn3smzHZqsJj/sWD8wOUkg0RD++B11evyLn2+bIw==" }, "tslib": { - "version": "1.9.2", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.9.2.tgz", - "integrity": "sha512-AVP5Xol3WivEr7hnssHDsaM+lVrVXWUvd1cfXTRkTj80b//6g2wIFEH6hZG0muGZRnHGrfttpdzRk3YlBkWjKw==" + "version": "1.9.3", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.9.3.tgz", + "integrity": "sha512-4krF8scpejhaOgqzBEcGM7yDIEfi0/8+8zDRZhNZZ2kjmHJ4hv3zCbQWxoJGz1iw5U0Jl0nma13xzHXcncMavQ==" }, "tty-browserify": { "version": "0.0.0", @@ -7247,9 +7033,12 @@ "integrity": "sha1-oVe6QC2iTpv5V/mqadUk7tQpAaY=" }, "tunnel-agent": { - "version": "0.4.3", - "resolved": "https://registry.npmjs.org/tunnel-agent/-/tunnel-agent-0.4.3.tgz", - "integrity": "sha1-Y3PbdpCf5XDgjXNYM2Xtgop07us=" + "version": "0.6.0", + "resolved": "https://registry.npmjs.org/tunnel-agent/-/tunnel-agent-0.6.0.tgz", + "integrity": "sha1-J6XeoGs2sEoKmWZ3SykIaPD8QP0=", + "requires": { + "safe-buffer": "^5.0.1" + } }, "tweetnacl": { "version": "0.14.5", @@ -7274,24 +7063,12 @@ "requires": { "commander": "~2.13.0", "source-map": "~0.6.1" - }, - "dependencies": { - "commander": { - "version": "2.13.0", - "resolved": "https://registry.npmjs.org/commander/-/commander-2.13.0.tgz", - "integrity": "sha512-MVuS359B+YzaWqjCL/c+22gfryv+mCBPHAv3zyVI2GN8EY6IRP8VwtasXn8jyyhvvq84R4ImN1OKRtcbIasjYA==" - }, - "source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==" - } } }, "uglifyjs-webpack-plugin": { - "version": "1.2.5", - "resolved": "https://registry.npmjs.org/uglifyjs-webpack-plugin/-/uglifyjs-webpack-plugin-1.2.5.tgz", - "integrity": "sha512-hIQJ1yxAPhEA2yW/i7Fr+SXZVMp+VEI3d42RTHBgQd2yhp/1UdBcR3QEWPV5ahBxlqQDMEMTuTEvDHSFINfwSw==", + "version": "1.2.7", + "resolved": "https://registry.npmjs.org/uglifyjs-webpack-plugin/-/uglifyjs-webpack-plugin-1.2.7.tgz", + "integrity": "sha512-1VicfKhCYHLS8m1DCApqBhoulnASsEoJ/BvpUpP4zoNAPpKzdH+ghk0olGJMmwX2/jprK2j3hAHdUbczBSy2FA==", "requires": { "cacache": "^10.0.4", "find-cache-dir": "^1.0.0", @@ -7301,13 +7078,6 @@ "uglify-es": "^3.3.4", "webpack-sources": "^1.1.0", "worker-farm": "^1.5.2" - }, - "dependencies": { - "source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==" - } } }, "unicode-length": { @@ -7436,34 +7206,6 @@ "latest-version": "^3.0.0", "semver-diff": "^2.0.0", "xdg-basedir": "^3.0.0" - }, - "dependencies": { - "ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "requires": { - "color-convert": "^1.9.0" - } - }, - "chalk": { - "version": "2.4.1", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.1.tgz", - "integrity": "sha512-ObN6h1v2fTJSmUXoS3nMQ92LbDK9be4TV+6G+omQlGJFdcUX5heKi1LZ1YnRMIgwTLEj3E24bT6tYni50rlCfQ==", - "requires": { - "ansi-styles": "^3.2.1", - "escape-string-regexp": "^1.0.5", - "supports-color": "^5.3.0" - } - }, - "supports-color": { - "version": "5.4.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.4.0.tgz", - "integrity": "sha512-zjaXglF5nnWpsq470jSv6P9DwPvgLkuapYmfDm3JWOm0vkNTVF2tI4UrN2r6jH1qM/uc/WtxYY1hYoA2dOKj5w==", - "requires": { - "has-flag": "^3.0.0" - } - } } }, "uri-js": { @@ -7511,12 +7253,9 @@ } }, "use": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/use/-/use-3.1.0.tgz", - "integrity": "sha512-6UJEQM/L+mzC3ZJNM56Q4DFGLX/evKGRg15UJHGB9X5j5Z3AFbgZvjUh2yq/UJUY4U5dh7Fal++XbNg1uzpRAw==", - "requires": { - "kind-of": "^6.0.2" - } + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/use/-/use-3.1.1.tgz", + "integrity": "sha512-cwESVXlO3url9YWlFW/TA9cshCEhtu7IKJ/p5soJ/gGpj7vbvFrAY/eIioQ6Dw23KjZhYgiIo8HOs1nQ2vr/oQ==" }, "util": { "version": "0.10.4", @@ -7532,19 +7271,19 @@ "integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8=" }, "uuid": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/uuid/-/uuid-3.2.1.tgz", - "integrity": "sha512-jZnMwlb9Iku/O3smGWvZhauCf6cvvpKi4BKRiliS3cxnI+Gz9j5MEpTz2UFuXiKPJocb7gnsLHwiS05ige5BEA==" + "version": "3.3.2", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-3.3.2.tgz", + "integrity": "sha512-yXJmeNaw3DnnKAOKJE51sL/ZaYfWJRl1pK9dr19YFCu0ObS231AB1/LbqTKRAQ5kw8A90rA6fr4riOUpTZvQZA==" }, "v8-compile-cache": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/v8-compile-cache/-/v8-compile-cache-2.0.0.tgz", - "integrity": "sha512-qNdTUMaCjPs4eEnM3W9H94R3sU70YCuT+/ST7nUf+id1bVOrdjrpUaeZLqPBPRph3hsgn4a4BvwpxhHZx+oSDg==" + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/v8-compile-cache/-/v8-compile-cache-2.0.2.tgz", + "integrity": "sha512-1wFuMUIM16MDJRCrpbpuEPTUGmM5QMUg0cr3KFwra2XgOgFcPGDQHDh3CszSCD2Zewc/dh/pamNEW8CbfDebUw==" }, "validate-npm-package-license": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/validate-npm-package-license/-/validate-npm-package-license-3.0.3.tgz", - "integrity": "sha512-63ZOUnL4SIXj4L0NixR3L1lcjO38crAbgrTpl28t8jjrfuiOBL5Iygm+60qPs/KsZGzPNg6Smnc/oY16QTjF0g==", + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/validate-npm-package-license/-/validate-npm-package-license-3.0.4.tgz", + "integrity": "sha512-DpKm2Ui/xN7/HQKCtpZxoRWBhZ9Z0kqtygG8XCgNQ8ZlDnxuQmWhj566j8fN4Cu3/JmbhsDo7fcAJq4s9h27Ew==", "requires": { "spdx-correct": "^3.0.0", "spdx-expression-parse": "^3.0.0" @@ -7558,13 +7297,6 @@ "assert-plus": "^1.0.0", "core-util-is": "1.0.2", "extsprintf": "^1.2.0" - }, - "dependencies": { - "assert-plus": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz", - "integrity": "sha1-8S4PPF13sLHN2RRpQuTpbB5N1SU=" - } } }, "vm-browserify": { @@ -7630,22 +7362,22 @@ } }, "webpack": { - "version": "4.12.0", - "resolved": "https://registry.npmjs.org/webpack/-/webpack-4.12.0.tgz", - "integrity": "sha512-EJj2FfhgtjrTbJbJaNulcVpDxi9vsQVvTahHN7xJvIv6W+k4r/E6Hxy4eyOrj+IAFWqYgaUtnpxmSGYP8MSZJw==", - "requires": { - "@webassemblyjs/ast": "1.5.12", - "@webassemblyjs/helper-module-context": "1.5.12", - "@webassemblyjs/wasm-edit": "1.5.12", - "@webassemblyjs/wasm-opt": "1.5.12", - "@webassemblyjs/wasm-parser": "1.5.12", + "version": "4.16.5", + "resolved": "https://registry.npmjs.org/webpack/-/webpack-4.16.5.tgz", + "integrity": "sha512-i5cHYHonzSc1zBuwB5MSzW4v9cScZFbprkHK8ZgzPDCRkQXGGpYzPmJhbus5bOrZ0tXTcQp+xyImRSvKb0b+Kw==", + "requires": { + "@webassemblyjs/ast": "1.5.13", + "@webassemblyjs/helper-module-context": "1.5.13", + "@webassemblyjs/wasm-edit": "1.5.13", + "@webassemblyjs/wasm-opt": "1.5.13", + "@webassemblyjs/wasm-parser": "1.5.13", "acorn": "^5.6.2", "acorn-dynamic-import": "^3.0.0", "ajv": "^6.1.0", "ajv-keywords": "^3.1.0", "chrome-trace-event": "^1.0.0", - "enhanced-resolve": "^4.0.0", - "eslint-scope": "^3.7.1", + "enhanced-resolve": "^4.1.0", + "eslint-scope": "^4.0.0", "json-parse-better-errors": "^1.0.2", "loader-runner": "^2.3.0", "loader-utils": "^1.1.0", @@ -7659,6 +7391,29 @@ "uglifyjs-webpack-plugin": "^1.2.4", "watchpack": "^1.5.0", "webpack-sources": "^1.0.1" + }, + "dependencies": { + "ajv": { + "version": "6.5.2", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.5.2.tgz", + "integrity": "sha512-hOs7GfvI6tUI1LfZddH82ky6mOMyTuY0mk7kE2pWpmhhUSkumzaTO5vbVwij39MdwPQWCV4Zv57Eo06NtL/GVA==", + "requires": { + "fast-deep-equal": "^2.0.1", + "fast-json-stable-stringify": "^2.0.0", + "json-schema-traverse": "^0.4.1", + "uri-js": "^4.2.1" + } + }, + "fast-deep-equal": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-2.0.1.tgz", + "integrity": "sha1-ewUhjd+WZ79/Nwv3/bLLFf3Qqkk=" + }, + "json-schema-traverse": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", + "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==" + } } }, "webpack-command": { @@ -7700,24 +7455,6 @@ "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-3.0.0.tgz", "integrity": "sha1-7QMXwyIGT3lGbAKWa922Bas32Zg=" }, - "ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "requires": { - "color-convert": "^1.9.0" - } - }, - "chalk": { - "version": "2.4.1", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.1.tgz", - "integrity": "sha512-ObN6h1v2fTJSmUXoS3nMQ92LbDK9be4TV+6G+omQlGJFdcUX5heKi1LZ1YnRMIgwTLEj3E24bT6tYni50rlCfQ==", - "requires": { - "ansi-styles": "^3.2.1", - "escape-string-regexp": "^1.0.5", - "supports-color": "^5.3.0" - } - }, "debug": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/debug/-/debug-3.1.0.tgz", @@ -7733,14 +7470,6 @@ "requires": { "ansi-regex": "^3.0.0" } - }, - "supports-color": { - "version": "5.4.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.4.0.tgz", - "integrity": "sha512-zjaXglF5nnWpsq470jSv6P9DwPvgLkuapYmfDm3JWOm0vkNTVF2tI4UrN2r6jH1qM/uc/WtxYY1hYoA2dOKj5w==", - "requires": { - "has-flag": "^3.0.0" - } } } }, @@ -7753,34 +7482,6 @@ "log-symbols": "^2.1.0", "loglevelnext": "^1.0.1", "uuid": "^3.1.0" - }, - "dependencies": { - "ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "requires": { - "color-convert": "^1.9.0" - } - }, - "chalk": { - "version": "2.4.1", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.1.tgz", - "integrity": "sha512-ObN6h1v2fTJSmUXoS3nMQ92LbDK9be4TV+6G+omQlGJFdcUX5heKi1LZ1YnRMIgwTLEj3E24bT6tYni50rlCfQ==", - "requires": { - "ansi-styles": "^3.2.1", - "escape-string-regexp": "^1.0.5", - "supports-color": "^5.3.0" - } - }, - "supports-color": { - "version": "5.4.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.4.0.tgz", - "integrity": "sha512-zjaXglF5nnWpsq470jSv6P9DwPvgLkuapYmfDm3JWOm0vkNTVF2tI4UrN2r6jH1qM/uc/WtxYY1hYoA2dOKj5w==", - "requires": { - "has-flag": "^3.0.0" - } - } } }, "webpack-sources": { @@ -7790,19 +7491,12 @@ "requires": { "source-list-map": "^2.0.0", "source-map": "~0.6.1" - }, - "dependencies": { - "source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==" - } } }, "which": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/which/-/which-1.3.0.tgz", - "integrity": "sha512-xcJpopdamTuY5duC/KnTTNBraPK54YwpenP4lzxU8H91GudWpFv38u0CKjclE1Wi2EH2EDz5LRcHcKbCIzqGyg==", + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/which/-/which-1.3.1.tgz", + "integrity": "sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ==", "requires": { "isexe": "^2.0.0" } @@ -7874,9 +7568,9 @@ "integrity": "sha1-9pPymjFbUNmp2iZGp6ZkXJaYW2o=" }, "yargs-parser": { - "version": "10.0.0", - "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-10.0.0.tgz", - "integrity": "sha512-+DHejWujTVYeMHLff8U96rLc4uE4Emncoftvn5AjhB1Jw1pWxLzgBUT/WYbPrHmy6YPEBTZQx5myHhVcuuu64g==", + "version": "10.1.0", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-10.1.0.tgz", + "integrity": "sha512-VCIyR1wJoEBZUqk5PA+oOBF6ypbwh5aNB3I50guxAL/quggdfs4TtNHQrSazFA3fYZ+tEqfs0zIGlv0c/rgjbQ==", "requires": { "camelcase": "^4.1.0" }, diff --git a/packages/jsii-spec/package-lock.json b/packages/jsii-spec/package-lock.json index e0551db997..6bfb88aa5f 100644 --- a/packages/jsii-spec/package-lock.json +++ b/packages/jsii-spec/package-lock.json @@ -11,9 +11,9 @@ } }, "@types/node": { - "version": "9.6.18", - "resolved": "https://registry.npmjs.org/@types/node/-/node-9.6.18.tgz", - "integrity": "sha512-lywCnJQRSsu0kitHQ5nkb7Ay/ScdJPQjhWRtuf+G1DmNKJnPcdVyP0pYvdiDFKjzReC6NLWLgSyimno3kKfIig==" + "version": "9.6.26", + "resolved": "https://registry.npmjs.org/@types/node/-/node-9.6.26.tgz", + "integrity": "sha512-3LKKscYUZdZreOuvnly8oWsCA1TOWtmkV3mbcUnV34f+nqDWJic+4SGjRi1C/sPHnZcSs/x209O+Dgy8aWHt2A==" }, "@types/nodeunit": { "version": "0.0.30", @@ -45,9 +45,12 @@ } }, "asn1": { - "version": "0.2.3", - "resolved": "https://registry.npmjs.org/asn1/-/asn1-0.2.3.tgz", - "integrity": "sha1-2sh4dxPJlmhJ/IGAd36+nB3fO4Y=" + "version": "0.2.4", + "resolved": "https://registry.npmjs.org/asn1/-/asn1-0.2.4.tgz", + "integrity": "sha512-jxwzQpLQjSmWXgwaCZE9Nz+glAG01yF1QnWgbhGwHI5A6FRIEY6IVqtHhIepHqI7/kyEyQEagBC5mBEFlIYvdg==", + "requires": { + "safer-buffer": "~2.1.0" + } }, "assert-plus": { "version": "1.0.0", @@ -65,9 +68,9 @@ "integrity": "sha1-tG6JCTSpWR8tL2+G1+ap8bP+dqg=" }, "aws4": { - "version": "1.7.0", - "resolved": "https://registry.npmjs.org/aws4/-/aws4-1.7.0.tgz", - "integrity": "sha512-32NDda82rhwD9/JBCCkB+MRYDp0oSvlo2IL6rQWA10PQi7tDUM3eqMSltXmY+Oyl/7N3P3qNtAlv7X0d9bI28w==" + "version": "1.8.0", + "resolved": "https://registry.npmjs.org/aws4/-/aws4-1.8.0.tgz", + "integrity": "sha512-ReZxvNHIOv88FlT7rxcXIIC0fPt4KZqZbOlivyWtXLt8ESx84zd3kMC6iK5jVeS2qt+g7ftS7ye4fi06X5rtRQ==" }, "balanced-match": { "version": "1.0.0", @@ -103,9 +106,9 @@ } }, "buffer-from": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.0.tgz", - "integrity": "sha512-c5mRlguI/Pe2dSZmpER62rSCu0ryKmWddzRYsuXc50U2/g8jMOulc31VZMa4mYx31U5xsmSOpDCgH88Vl9cDGQ==" + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.1.tgz", + "integrity": "sha512-MQcXEUbCKtEo7bhqEs6560Hyd4XaovZlO/k9V3hjVUF/zwW7KBVdSK4gIt/bzwS9MbR5qob+F5jusZsb0YQK2A==" }, "camelcase": { "version": "4.1.0", @@ -234,12 +237,13 @@ "integrity": "sha1-fyjS657nsVqX79ic5j3P2qPMur8=" }, "ecc-jsbn": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/ecc-jsbn/-/ecc-jsbn-0.1.1.tgz", - "integrity": "sha1-D8c6ntXw1Tw4GTOYUj735UN3dQU=", + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/ecc-jsbn/-/ecc-jsbn-0.1.2.tgz", + "integrity": "sha1-OoOpBOVDUyh4dMVkt1SThoSamMk=", "optional": true, "requires": { - "jsbn": "~0.1.0" + "jsbn": "~0.1.0", + "safer-buffer": "^2.1.0" } }, "ejs": { @@ -289,9 +293,9 @@ } }, "extend": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/extend/-/extend-3.0.1.tgz", - "integrity": "sha1-p1Xqe8Gt/MWjHOfnYtuq3F5jZEQ=" + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/extend/-/extend-3.0.2.tgz", + "integrity": "sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g==" }, "extsprintf": { "version": "1.3.0", diff --git a/packages/jsii/package-lock.json b/packages/jsii/package-lock.json index 08fd4fd488..442f02674b 100644 --- a/packages/jsii/package-lock.json +++ b/packages/jsii/package-lock.json @@ -41,9 +41,9 @@ "integrity": "sha512-tHq6qdbT9U1IRSGf14CL0pUlULksvY9OZ+5eEgl1N7t+OA3tGvNpxJCzuKQlsNgCVwbAs670L1vcVQi8j9HjnA==" }, "@types/node": { - "version": "9.6.23", - "resolved": "https://registry.npmjs.org/@types/node/-/node-9.6.23.tgz", - "integrity": "sha512-d2SJJpwkiPudEQ3+9ysANN2Nvz4QJKUPoe/WL5zyQzI0RaEeZWH5K5xjvUIGszTItHQpFPdH+u51f6G/LkS8Cg==" + "version": "9.6.26", + "resolved": "https://registry.npmjs.org/@types/node/-/node-9.6.26.tgz", + "integrity": "sha512-3LKKscYUZdZreOuvnly8oWsCA1TOWtmkV3mbcUnV34f+nqDWJic+4SGjRi1C/sPHnZcSs/x209O+Dgy8aWHt2A==" }, "@types/nodeunit": { "version": "0.0.30", @@ -51,9 +51,9 @@ "integrity": "sha1-SNLCcZoRjHcjuDMGw+gAsRor9ng=" }, "@types/yargs": { - "version": "11.1.0", - "resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-11.1.0.tgz", - "integrity": "sha512-bhNrCSpRNPKlIejjo+WavCrqmL4rUjOWdqGhO57nVB9vEUX6Xw4Dj//Jge7jFSz2r2yzKt74Ce+Xx5W2Ul2xNA==" + "version": "11.1.1", + "resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-11.1.1.tgz", + "integrity": "sha512-Awgju4dqD8kHXX3jc/B/LaryJC7MsyNfnbN62lIbFzTi0GewH64zrkh4bxo/YTgVEK6r9V3GNecxMhXTJw0+jA==" }, "ajv": { "version": "5.5.2", @@ -80,9 +80,12 @@ } }, "asn1": { - "version": "0.2.3", - "resolved": "https://registry.npmjs.org/asn1/-/asn1-0.2.3.tgz", - "integrity": "sha1-2sh4dxPJlmhJ/IGAd36+nB3fO4Y=" + "version": "0.2.4", + "resolved": "https://registry.npmjs.org/asn1/-/asn1-0.2.4.tgz", + "integrity": "sha512-jxwzQpLQjSmWXgwaCZE9Nz+glAG01yF1QnWgbhGwHI5A6FRIEY6IVqtHhIepHqI7/kyEyQEagBC5mBEFlIYvdg==", + "requires": { + "safer-buffer": "~2.1.0" + } }, "assert-plus": { "version": "1.0.0", @@ -108,9 +111,9 @@ "integrity": "sha1-tG6JCTSpWR8tL2+G1+ap8bP+dqg=" }, "aws4": { - "version": "1.7.0", - "resolved": "https://registry.npmjs.org/aws4/-/aws4-1.7.0.tgz", - "integrity": "sha512-32NDda82rhwD9/JBCCkB+MRYDp0oSvlo2IL6rQWA10PQi7tDUM3eqMSltXmY+Oyl/7N3P3qNtAlv7X0d9bI28w==" + "version": "1.8.0", + "resolved": "https://registry.npmjs.org/aws4/-/aws4-1.8.0.tgz", + "integrity": "sha512-ReZxvNHIOv88FlT7rxcXIIC0fPt4KZqZbOlivyWtXLt8ESx84zd3kMC6iK5jVeS2qt+g7ftS7ye4fi06X5rtRQ==" }, "balanced-match": { "version": "1.0.0", @@ -151,9 +154,9 @@ } }, "buffer-from": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.0.tgz", - "integrity": "sha512-c5mRlguI/Pe2dSZmpER62rSCu0ryKmWddzRYsuXc50U2/g8jMOulc31VZMa4mYx31U5xsmSOpDCgH88Vl9cDGQ==" + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.1.tgz", + "integrity": "sha512-MQcXEUbCKtEo7bhqEs6560Hyd4XaovZlO/k9V3hjVUF/zwW7KBVdSK4gIt/bzwS9MbR5qob+F5jusZsb0YQK2A==" }, "camelcase": { "version": "4.1.0", @@ -201,9 +204,9 @@ } }, "clone": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/clone/-/clone-2.1.1.tgz", - "integrity": "sha1-0hfR6WERjjrJpLi7oyhVU79kfNs=" + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/clone/-/clone-2.1.2.tgz", + "integrity": "sha1-G39Ln1kfHo+DZwQBYANFoCiHQ18=" }, "co": { "version": "4.6.0", @@ -307,12 +310,13 @@ "integrity": "sha1-fyjS657nsVqX79ic5j3P2qPMur8=" }, "ecc-jsbn": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/ecc-jsbn/-/ecc-jsbn-0.1.1.tgz", - "integrity": "sha1-D8c6ntXw1Tw4GTOYUj735UN3dQU=", + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/ecc-jsbn/-/ecc-jsbn-0.1.2.tgz", + "integrity": "sha1-OoOpBOVDUyh4dMVkt1SThoSamMk=", "optional": true, "requires": { - "jsbn": "~0.1.0" + "jsbn": "~0.1.0", + "safer-buffer": "^2.1.0" } }, "ejs": { @@ -331,9 +335,9 @@ "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=" }, "esprima": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.0.tgz", - "integrity": "sha512-oftTcaMu/EGrEIu904mWteKIv8vMuOgGYo7EhVJJN00R/EED9DCua/xxHRdYnKtcECzVg7xOWhflvJMnqcFZjw==" + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz", + "integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==" }, "events-to-array": { "version": "1.1.2", @@ -367,9 +371,9 @@ } }, "extend": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/extend/-/extend-3.0.1.tgz", - "integrity": "sha1-p1Xqe8Gt/MWjHOfnYtuq3F5jZEQ=" + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/extend/-/extend-3.0.2.tgz", + "integrity": "sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g==" }, "extsprintf": { "version": "1.3.0", @@ -444,9 +448,9 @@ "integrity": "sha1-gHa7MF6OajzO7ikgdl8zDRkPNAw=" }, "get-caller-file": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-1.0.2.tgz", - "integrity": "sha1-9wLmMSfn4jHBYKgMFVSstw1QR+U=" + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-1.0.3.tgz", + "integrity": "sha512-3t6rVToeoZfYSGd8YoLFR2DJkiQrIiUrGcjvFX2mDw3bn6k2OtwHN0TNCLbBO+w8qTvimhDkv+LSscbJY1vE6w==" }, "get-stream": { "version": "3.0.0", @@ -678,16 +682,16 @@ } }, "mime-db": { - "version": "1.33.0", - "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.33.0.tgz", - "integrity": "sha512-BHJ/EKruNIqJf/QahvxwQZXKygOQ256myeN/Ew+THcAa5q+PjyTTMMeNQC4DZw5AwfvelsUrA6B67NKMqXDbzQ==" + "version": "1.35.0", + "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.35.0.tgz", + "integrity": "sha512-JWT/IcCTsB0Io3AhWUMjRqucrHSPsSf2xKLaRldJVULioggvkJvggZ3VXNNSRkCddE6D+BUI4HEIZIA2OjwIvg==" }, "mime-types": { - "version": "2.1.18", - "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.18.tgz", - "integrity": "sha512-lc/aahn+t4/SWV/qcmumYjymLsWfN3ELhpmVuUFjgsORruuZPVSwAQryq+HHGvO/SI2KVX26bx+En+zhM8g8hQ==", + "version": "2.1.19", + "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.19.tgz", + "integrity": "sha512-P1tKYHVSZ6uFo26mtnve4HQFE3koh1UWVkp8YUC+ESBHe945xWSoXuHHiGarDqcEZ+whpCDnlNw5LON0kLo+sw==", "requires": { - "mime-db": "~1.33.0" + "mime-db": "~1.35.0" } }, "mimic-fn": {