From 26b426122335b5bf7db7a3fb7734c185f09f7fd2 Mon Sep 17 00:00:00 2001 From: Travis Payne Date: Thu, 6 May 2021 17:15:00 +0100 Subject: [PATCH] build(lint): start using cspell for grammar in code Utilsing cSpell to prevent common spelling mistakes in code. This is implemented as part of the npm lint script, which gets executed both on a commit and during the CI pipeline. Signed-off-by: Travis Payne Signed-off-by: Peter Somogyvari --- .cspell.json | 82 +++ .../library-scripts/common-debian.sh | 2 +- ...bon-accounting-app-dummy-infrastructure.ts | 4 +- .../admin-enroll-v1-endpoint.test.ts | 4 +- .../typescript/src/index.ts | 4 +- .../src/lib/utilityEmissionsFactor.ts | 8 +- .../src/main/json/openapi.json | 2 +- .../carbon-accounting-plugin.ts | 2 +- .../generated/openapi/typescript-axios/api.ts | 2 +- .../openapi/typescript-axios/base.ts | 2 +- .../openapi/typescript-axios/configuration.ts | 2 +- .../openapi/typescript-axios/index.ts | 2 +- .../model/converter/checkpoint-converter.ts | 6 +- .../src/main/typescript/supply-chain-app.ts | 2 +- .../src/main/json/openapi.json | 2 +- .../supply-chain-cactus-plugin.ts | 2 +- .../generated/openapi/typescript-axios/api.ts | 2 +- .../openapi/typescript-axios/base.ts | 2 +- .../openapi/typescript-axios/configuration.ts | 2 +- .../openapi/typescript-axios/index.ts | 2 +- .../converter/bamboo-harvest-converter.ts | 6 +- .../model/converter/bookshelf-converter.ts | 6 +- .../bamboo-harvest-detail.page.ts | 2 +- .../bamboo-harvest-list.page.ts | 2 +- .../bookshelf-detail/bookshelf-detail.page.ts | 2 +- .../bookshelf-list/bookshelf-list.page.ts | 2 +- .../shipment-detail/shipment-detail.page.ts | 2 +- .../shipment-list/shipment-list.page.ts | 2 +- package-lock.json | 580 +++++++++++++++--- package.json | 10 +- packages/cactus-api-client/README.md | 2 +- .../src/main/typescript/api-client.ts | 4 +- .../typescript/authzn/authorizer-factory.ts | 2 +- .../benchmark/artillery-api-benchmark.test.ts | 2 +- .../jwt-endpoint-authorization.test.ts | 2 +- ...t-endpoint-authz-scope-enforcement.test.ts | 2 +- .../certificates-work-for-mutual-tls-test.ts | 2 +- .../generates-working-certificates-test.ts | 2 +- .../typescript/unit/key-converter.test.ts | 6 +- .../typescript/unit/logging/logger.test.ts | 2 +- .../src/test/typescript/unit/servers.test.ts | 2 +- .../src/main/json/openapi.json | 12 +- .../generated/openapi/typescript-axios/api.ts | 8 +- .../openapi/typescript-axios/base.ts | 2 +- .../openapi/typescript-axios/configuration.ts | 2 +- .../openapi/typescript-axios/index.ts | 2 +- .../typescript/i-plugin-factory-options.ts | 2 +- .../plugin/keychain/i-plugin-keychain.ts | 2 +- .../i-plugin-ledger-connector.ts | 2 +- .../web-service/i-web-service-endpoint.ts | 2 +- .../main/typescript/consortium-repository.ts | 2 +- .../src/main/json/openapi.json | 2 +- .../generated/openapi/typescript-axios/api.ts | 2 +- .../openapi/typescript-axios/base.ts | 2 +- .../openapi/typescript-axios/configuration.ts | 2 +- .../openapi/typescript-axios/index.ts | 2 +- .../typescript/plugin-consortium-manual.ts | 4 +- .../src/main/json/openapi.json | 4 +- .../generated/openapi/typescript-axios/api.ts | 16 +- .../main/typescript/plugin-keychain-vault.ts | 2 +- .../src/main/json/openapi.json | 4 +- .../generated/openapi/typescript-axios/api.ts | 10 +- .../deploy-contract-from-json.test.ts | 4 +- .../deploy-contract-jars-endpoint.ts | 2 +- .../jvm-kotlin-spring-server.test.ts | 4 +- .../src/main/json/openapi.json | 2 +- .../generated/openapi/typescript-axios/api.ts | 2 +- .../chaincode-go/chaincode/smartcontract.go | 2 +- .../chaincode-javascript/lib/assetTransfer.js | 2 +- .../chaincode-typescript/src/assetTransfer.ts | 2 +- .../hello-world-contract-go-mod.ts | 2 + .../deploy-cc-from-golang-source.test.ts | 6 +- .../run-transaction-endpoint-v1.test.ts | 6 +- .../deploy-cc-from-golang-source.test.ts | 6 +- .../deploy-cc-from-javascript-source.test.ts | 6 +- .../deploy-cc-from-typescript-source.test.ts | 8 +- .../run-transaction-endpoint-v1.test.ts | 4 +- .../src/main/json/openapi.json | 2 +- .../generated/openapi/typescript-axios/api.ts | 8 +- .../deploy-contract-from-json.test.ts | 4 +- .../typescript/unit/model-type-guards.test.ts | 2 +- .../src/main/json/openapi.json | 4 +- .../generated/openapi/typescript-axios/api.ts | 10 +- .../deploy-contract-from-json-xdai.test.ts | 4 +- .../api-client-routing-node-to-node.test.ts | 4 +- .../sign-transaction-endpoint.test.ts | 6 +- .../deploy-contract-via-web-service.test.ts | 4 +- .../src/main/typescript/common/containers.ts | 4 +- .../typescript/quorum/quorum-test-ledger.ts | 2 +- tools/docker/fabric-all-in-one/README.md | 4 +- .../fabric-all-in-one/run-fabric-network.sh | 2 +- whitepaper/whitepaper.md | 2 +- 92 files changed, 736 insertions(+), 248 deletions(-) create mode 100644 .cspell.json diff --git a/.cspell.json b/.cspell.json new file mode 100644 index 0000000000..9af5b3ba12 --- /dev/null +++ b/.cspell.json @@ -0,0 +1,82 @@ +{ + "version": "0.1", + "language": "en", + "minWordLength": 4, + "allowCompoundWords": true, + "words": [ + "Besu", + "Corda", + "HyperLedger", + "DockerOde", + "Keychain", + "Keycloak", + "Cordapp", + "Healthcheck", + "uuidv", + "Xdai", + "OpenAPI", + "Errorf", + "Oidc", + "Authz", + "Bools", + "Secp", + "openethereum", + "NODETXPOOLACK", + "LEDGERBLOCKACK", + "GETHKEYCHAINPASSWORD", + "NETWORKSCOPEALLFORTX", + "tlsca", + "grpc", + "grpcs", + "MSPCONFIGPATH", + "LOCALMSPID", + "organisation", + "notok", + "txqueue", + "tlscacerts", + "dclm", + "SPDX", + "mychannel", + "gopath", + "myvolume", + "authzn", + "supervisord", + "ipaddress", + "MSPIDSCOPEALLFORTX", + "ANYFORTX", + "MSPIDSCOPEALLFORTX", + "NETWORKSCOPEANYFORTX", + "MSPIDSCOPEANYFORTX", + "MSPID", + "ALLFORTX", + "cccs", + "svcs", + "vscc", + "escc", + "faio", + "hashicorp", + "cafile", + "supervisorctl", + "onsi", + "Mtls", + "APIV", + "Nerc", + "ccid", + "adminpw", + "caio", + "protos", + "Unmarshal", + "myroot", + "ealen", + "approveformyorg", + "jboss", + "Sprintf" + ], + "dictionaries": [ + "typescript,node,npm,go" + ], + "ignorePaths": [ + "node_modules/**", + "**/build/**" + ] +} \ No newline at end of file diff --git a/.devcontainer/library-scripts/common-debian.sh b/.devcontainer/library-scripts/common-debian.sh index 1bb6a238a4..cdbafcf42f 100644 --- a/.devcontainer/library-scripts/common-debian.sh +++ b/.devcontainer/library-scripts/common-debian.sh @@ -354,7 +354,7 @@ if [ "${INSTALL_ZSH}" = "true" ]; then fi # Adapted, simplified inline Oh My Zsh! install steps that adds, defaults to a codespaces theme. - # See https://github.com/ohmyzsh/ohmyzsh/blob/master/tools/install.sh for offical script. + # See https://github.com/ohmyzsh/ohmyzsh/blob/master/tools/install.sh for official script. OH_MY_INSTALL_DIR="${USER_RC_PATH}/.oh-my-zsh" if [ ! -d "${OH_MY_INSTALL_DIR}" ] && [ "${INSTALL_OH_MYS}" = "true" ]; then TEMPLATE_PATH="${OH_MY_INSTALL_DIR}/templates/zshrc.zsh-template" diff --git a/examples/cactus-example-carbon-accounting-backend/src/main/typescript/infrastructure/carbon-accounting-app-dummy-infrastructure.ts b/examples/cactus-example-carbon-accounting-backend/src/main/typescript/infrastructure/carbon-accounting-app-dummy-infrastructure.ts index 11f3706953..ff2284543e 100644 --- a/examples/cactus-example-carbon-accounting-backend/src/main/typescript/infrastructure/carbon-accounting-app-dummy-infrastructure.ts +++ b/examples/cactus-example-carbon-accounting-backend/src/main/typescript/infrastructure/carbon-accounting-app-dummy-infrastructure.ts @@ -410,7 +410,7 @@ export class CarbonAccountingAppDummyInfrastructure { this.log.info(`Deploying ${contractName}...`); const timelockAccount = await this.xdai.createEthTestAccount(2000000); - const dclm8Accunt = await this.xdai.createEthTestAccount(2000000); + const dclm8Account = await this.xdai.createEthTestAccount(2000000); const guardianAccount = await this.xdai.createEthTestAccount(2000000); const res = await besuPlugin.deployContract({ contractName, @@ -420,7 +420,7 @@ export class CarbonAccountingAppDummyInfrastructure { // address timelock_, address dclm8_, address guardian_ constructorArgs: [ timelockAccount.address, - dclm8Accunt.address, + dclm8Account.address, guardianAccount.address, ], gas: 8000000, diff --git a/examples/cactus-example-carbon-accounting-backend/src/test/typescript/integration/admin-enroll-v1-endpoint.test.ts b/examples/cactus-example-carbon-accounting-backend/src/test/typescript/integration/admin-enroll-v1-endpoint.test.ts index b571c8e53e..96771c981a 100644 --- a/examples/cactus-example-carbon-accounting-backend/src/test/typescript/integration/admin-enroll-v1-endpoint.test.ts +++ b/examples/cactus-example-carbon-accounting-backend/src/test/typescript/integration/admin-enroll-v1-endpoint.test.ts @@ -39,7 +39,7 @@ const log = LoggerProvider.getOrCreate({ test("BEFORE " + testCase, async (t: Test) => { const pruning = pruneDockerAllIfGithubAction({ logLevel }); - await t.doesNotReject(pruning, "Pruning didnt throw OK"); + await t.doesNotReject(pruning, "Pruning didn't throw OK"); t.end(); }); @@ -163,6 +163,6 @@ test(testCase, async (t: Test) => { test("AFTER " + testCase, async (t: Test) => { const pruning = pruneDockerAllIfGithubAction({ logLevel }); - await t.doesNotReject(pruning, "Pruning didnt throw OK"); + await t.doesNotReject(pruning, "Pruning didn't throw OK"); t.end(); }); diff --git a/examples/cactus-example-carbon-accounting-backend/src/utility-emissions-channel/typescript/src/index.ts b/examples/cactus-example-carbon-accounting-backend/src/utility-emissions-channel/typescript/src/index.ts index 51ec129d55..7e0f75089f 100644 --- a/examples/cactus-example-carbon-accounting-backend/src/utility-emissions-channel/typescript/src/index.ts +++ b/examples/cactus-example-carbon-accounting-backend/src/utility-emissions-channel/typescript/src/index.ts @@ -408,7 +408,7 @@ class EmissionsChaincode { args: string[], ): Promise { logger.info(`importUtilityIdentifier method called with args : ${args}`); - // uuid is required for importing utility identifer + // uuid is required for importing utility identifier if (args.length < 1) { logger.error( `${ErrInvalidNumberOfArgument} : importUtilityIdentifier method requires at-least 1 argument, but got ${args.length}`, @@ -469,7 +469,7 @@ class EmissionsChaincode { args: string[], ): Promise { logger.info(`updateUtilityIdentifier method called with args : ${args}`); - // uuid is required for importing utility identifer + // uuid is required for importing utility identifier if (args.length < 1) { logger.error( `${ErrInvalidNumberOfArgument} : updateUtilityIdentifier method requires at-least 1 argument, but got ${args.length}`, diff --git a/examples/cactus-example-carbon-accounting-backend/src/utility-emissions-channel/typescript/src/lib/utilityEmissionsFactor.ts b/examples/cactus-example-carbon-accounting-backend/src/utility-emissions-channel/typescript/src/lib/utilityEmissionsFactor.ts index c6807e7477..866265ef3e 100644 --- a/examples/cactus-example-carbon-accounting-backend/src/utility-emissions-channel/typescript/src/lib/utilityEmissionsFactor.ts +++ b/examples/cactus-example-carbon-accounting-backend/src/utility-emissions-channel/typescript/src/lib/utilityEmissionsFactor.ts @@ -15,7 +15,7 @@ import { QueryResult, WorldState } from "../util/worldstate"; import { getYearFromDate } from "./emissions-calc"; import { UtilityLookupItemInterface } from "./utilityLookupItem"; -const UTILITY_EMISSIONS_FACTOR_CLASS_IDENTIFER = +const UTILITY_EMISSIONS_FACTOR_CLASS_IDENTIFIER = "org.hyperledger.blockchain-carbon-accounting.utilityemissionsfactoritem"; export interface UtilityEmissionsFactorInterface { @@ -47,7 +47,7 @@ export class UtilityEmissionsFactor extends State { _factor.division_id, ]); this.factor = _factor; - this.factor.class = UTILITY_EMISSIONS_FACTOR_CLASS_IDENTIFER; + this.factor.class = UTILITY_EMISSIONS_FACTOR_CLASS_IDENTIFIER; this.factor.key = this.getKey(); } toBuffer(): Uint8Array { @@ -97,7 +97,7 @@ export class UtilityEmissionsFactorState extends WorldState< queryString = `{ "selector" : { "class": { - "$eq": "${UTILITY_EMISSIONS_FACTOR_CLASS_IDENTIFER}" + "$eq": "${UTILITY_EMISSIONS_FACTOR_CLASS_IDENTIFIER}" }, "division_id" : { "$eq": "${divisionID}" @@ -114,7 +114,7 @@ export class UtilityEmissionsFactorState extends WorldState< queryString = `{ "selector" : { "class": { - "$eq": "${UTILITY_EMISSIONS_FACTOR_CLASS_IDENTIFER}" + "$eq": "${UTILITY_EMISSIONS_FACTOR_CLASS_IDENTIFIER}" }, "division_id" : { "$eq": "${divisionID}" diff --git a/examples/cactus-example-carbon-accounting-business-logic-plugin/src/main/json/openapi.json b/examples/cactus-example-carbon-accounting-business-logic-plugin/src/main/json/openapi.json index 091ae422a1..88960086b6 100644 --- a/examples/cactus-example-carbon-accounting-business-logic-plugin/src/main/json/openapi.json +++ b/examples/cactus-example-carbon-accounting-business-logic-plugin/src/main/json/openapi.json @@ -2,7 +2,7 @@ "openapi": "3.0.3", "info": { "title": "Hyperledger Cactus Example - Carbon Accounting App", - "description": "Demonstrates how a business use case can be satisifedwith Cactus when multiple distinct ledgers are involved.", + "description": "Demonstrates how a business use case can be satisfied with Cactus when multiple distinct ledgers are involved.", "version": "0.2.0", "license": { "name": "Apache 2.0", diff --git a/examples/cactus-example-carbon-accounting-business-logic-plugin/src/main/typescript/business-logic-plugin/carbon-accounting-plugin.ts b/examples/cactus-example-carbon-accounting-business-logic-plugin/src/main/typescript/business-logic-plugin/carbon-accounting-plugin.ts index 6b656ccd86..4588b13724 100644 --- a/examples/cactus-example-carbon-accounting-business-logic-plugin/src/main/typescript/business-logic-plugin/carbon-accounting-plugin.ts +++ b/examples/cactus-example-carbon-accounting-business-logic-plugin/src/main/typescript/business-logic-plugin/carbon-accounting-plugin.ts @@ -63,7 +63,7 @@ export interface ICarbonAccountingPluginOptions { fabricApiClient: FabricApi; fabricPlugin: PluginLedgerConnectorFabric; web3SigningCredential?: Web3SigningCredential; - fabricEnviroment?: NodeJS.ProcessEnv; + fabricEnvironment?: NodeJS.ProcessEnv; fabricContracts: ICarbonAccountingFabricContractDeploymentInfo; xdaiContracts: ICarbonAccountingXdaiContractDeploymentInfo; } diff --git a/examples/cactus-example-carbon-accounting-business-logic-plugin/src/main/typescript/generated/openapi/typescript-axios/api.ts b/examples/cactus-example-carbon-accounting-business-logic-plugin/src/main/typescript/generated/openapi/typescript-axios/api.ts index 42e7612e0c..cbefa1551d 100644 --- a/examples/cactus-example-carbon-accounting-business-logic-plugin/src/main/typescript/generated/openapi/typescript-axios/api.ts +++ b/examples/cactus-example-carbon-accounting-business-logic-plugin/src/main/typescript/generated/openapi/typescript-axios/api.ts @@ -2,7 +2,7 @@ /* eslint-disable */ /** * Hyperledger Cactus Example - Carbon Accounting App - * Demonstrates how a business use case can be satisifedwith Cactus when multiple distinct ledgers are involved. + * Demonstrates how a business use case can be satisfied with Cactus when multiple distinct ledgers are involved. * * The version of the OpenAPI document: 0.2.0 * diff --git a/examples/cactus-example-carbon-accounting-business-logic-plugin/src/main/typescript/generated/openapi/typescript-axios/base.ts b/examples/cactus-example-carbon-accounting-business-logic-plugin/src/main/typescript/generated/openapi/typescript-axios/base.ts index 92fcd00e94..151aa84c48 100644 --- a/examples/cactus-example-carbon-accounting-business-logic-plugin/src/main/typescript/generated/openapi/typescript-axios/base.ts +++ b/examples/cactus-example-carbon-accounting-business-logic-plugin/src/main/typescript/generated/openapi/typescript-axios/base.ts @@ -2,7 +2,7 @@ /* eslint-disable */ /** * Hyperledger Cactus Example - Carbon Accounting App - * Demonstrates how a business use case can be satisifedwith Cactus when multiple distinct ledgers are involved. + * Demonstrates how a business use case can be satisfied with Cactus when multiple distinct ledgers are involved. * * The version of the OpenAPI document: 0.2.0 * diff --git a/examples/cactus-example-carbon-accounting-business-logic-plugin/src/main/typescript/generated/openapi/typescript-axios/configuration.ts b/examples/cactus-example-carbon-accounting-business-logic-plugin/src/main/typescript/generated/openapi/typescript-axios/configuration.ts index 1fe2a1d333..d09920de96 100644 --- a/examples/cactus-example-carbon-accounting-business-logic-plugin/src/main/typescript/generated/openapi/typescript-axios/configuration.ts +++ b/examples/cactus-example-carbon-accounting-business-logic-plugin/src/main/typescript/generated/openapi/typescript-axios/configuration.ts @@ -2,7 +2,7 @@ /* eslint-disable */ /** * Hyperledger Cactus Example - Carbon Accounting App - * Demonstrates how a business use case can be satisifedwith Cactus when multiple distinct ledgers are involved. + * Demonstrates how a business use case can be satisfied with Cactus when multiple distinct ledgers are involved. * * The version of the OpenAPI document: 0.2.0 * diff --git a/examples/cactus-example-carbon-accounting-business-logic-plugin/src/main/typescript/generated/openapi/typescript-axios/index.ts b/examples/cactus-example-carbon-accounting-business-logic-plugin/src/main/typescript/generated/openapi/typescript-axios/index.ts index 8a5084520b..b8fdede9ba 100644 --- a/examples/cactus-example-carbon-accounting-business-logic-plugin/src/main/typescript/generated/openapi/typescript-axios/index.ts +++ b/examples/cactus-example-carbon-accounting-business-logic-plugin/src/main/typescript/generated/openapi/typescript-axios/index.ts @@ -2,7 +2,7 @@ /* eslint-disable */ /** * Hyperledger Cactus Example - Carbon Accounting App - * Demonstrates how a business use case can be satisifedwith Cactus when multiple distinct ledgers are involved. + * Demonstrates how a business use case can be satisfied with Cactus when multiple distinct ledgers are involved. * * The version of the OpenAPI document: 0.2.0 * diff --git a/examples/cactus-example-carbon-accounting-business-logic-plugin/src/main/typescript/model/converter/checkpoint-converter.ts b/examples/cactus-example-carbon-accounting-business-logic-plugin/src/main/typescript/model/converter/checkpoint-converter.ts index 7e12ee8db2..f6eeb23712 100644 --- a/examples/cactus-example-carbon-accounting-business-logic-plugin/src/main/typescript/model/converter/checkpoint-converter.ts +++ b/examples/cactus-example-carbon-accounting-business-logic-plugin/src/main/typescript/model/converter/checkpoint-converter.ts @@ -2,9 +2,9 @@ import { Checkpoint } from "../../generated/openapi/typescript-axios"; /** * Responsible for converting model entities such as the `Checkpoint` to and - * from the different represenatations it can exist in such as a generic JS + * from the different representations it can exist in such as a generic JS * object with key/value pair properties or when being returned as an array of - * values by a Solidity smart contract for example where the indicies of the + * values by a Solidity smart contract for example where the indices of the * array can be mapped to the field names. */ export class CheckpointConverter { @@ -13,7 +13,7 @@ export class CheckpointConverter { /** * Converts a `Checkpoint` model entity from an array representation ( - * usually returned by a solidity contract function) to a POJO. + * usually returned by a solidity contract function) to a Plain Old Java Object. * * @param arr The array containing the values of properties describing a * `Checkpoint` model entity. diff --git a/examples/cactus-example-supply-chain-backend/src/main/typescript/supply-chain-app.ts b/examples/cactus-example-supply-chain-backend/src/main/typescript/supply-chain-app.ts index c4ebed9e51..a5f5c1da48 100644 --- a/examples/cactus-example-supply-chain-backend/src/main/typescript/supply-chain-app.ts +++ b/examples/cactus-example-supply-chain-backend/src/main/typescript/supply-chain-app.ts @@ -256,7 +256,7 @@ export class SupplyChainApp { besuApiClient, quorumApiClient, fabricApiClient, - fabricEnviroment: org1Env, + fabricEnvironment: org1Env, }), new PluginKeychainMemory({ instanceId: uuidv4(), diff --git a/examples/cactus-example-supply-chain-business-logic-plugin/src/main/json/openapi.json b/examples/cactus-example-supply-chain-business-logic-plugin/src/main/json/openapi.json index 96691a1260..4f4ebceecd 100644 --- a/examples/cactus-example-supply-chain-business-logic-plugin/src/main/json/openapi.json +++ b/examples/cactus-example-supply-chain-business-logic-plugin/src/main/json/openapi.json @@ -2,7 +2,7 @@ "openapi": "3.0.3", "info": { "title": "Hyperledger Cactus Example - Supply Chain App", - "description": "Demonstrates how a business use case can be satisifedwith Cactus when multiple distinct ledgers are involved.", + "description": "Demonstrates how a business use case can be satisfied with Cactus when multiple distinct ledgers are involved.", "version": "0.2.0", "license": { "name": "Apache 2.0", diff --git a/examples/cactus-example-supply-chain-business-logic-plugin/src/main/typescript/business-logic-plugin/supply-chain-cactus-plugin.ts b/examples/cactus-example-supply-chain-business-logic-plugin/src/main/typescript/business-logic-plugin/supply-chain-cactus-plugin.ts index c1d2e8a643..d5695750d5 100644 --- a/examples/cactus-example-supply-chain-business-logic-plugin/src/main/typescript/business-logic-plugin/supply-chain-cactus-plugin.ts +++ b/examples/cactus-example-supply-chain-business-logic-plugin/src/main/typescript/business-logic-plugin/supply-chain-cactus-plugin.ts @@ -42,7 +42,7 @@ export interface ISupplyChainCactusPluginOptions { besuApiClient: BesuApi; fabricApiClient: FabricApi; web3SigningCredential?: Web3SigningCredential; - fabricEnviroment?: NodeJS.ProcessEnv; + fabricEnvironment?: NodeJS.ProcessEnv; contracts: ISupplyChainContractDeploymentInfo; } diff --git a/examples/cactus-example-supply-chain-business-logic-plugin/src/main/typescript/generated/openapi/typescript-axios/api.ts b/examples/cactus-example-supply-chain-business-logic-plugin/src/main/typescript/generated/openapi/typescript-axios/api.ts index e26c13e6a2..81b1224cb4 100644 --- a/examples/cactus-example-supply-chain-business-logic-plugin/src/main/typescript/generated/openapi/typescript-axios/api.ts +++ b/examples/cactus-example-supply-chain-business-logic-plugin/src/main/typescript/generated/openapi/typescript-axios/api.ts @@ -2,7 +2,7 @@ /* eslint-disable */ /** * Hyperledger Cactus Example - Supply Chain App - * Demonstrates how a business use case can be satisifedwith Cactus when multiple distinct ledgers are involved. + * Demonstrates how a business use case can be satisfied with Cactus when multiple distinct ledgers are involved. * * The version of the OpenAPI document: 0.2.0 * diff --git a/examples/cactus-example-supply-chain-business-logic-plugin/src/main/typescript/generated/openapi/typescript-axios/base.ts b/examples/cactus-example-supply-chain-business-logic-plugin/src/main/typescript/generated/openapi/typescript-axios/base.ts index 5c75824314..d0b8d5515d 100644 --- a/examples/cactus-example-supply-chain-business-logic-plugin/src/main/typescript/generated/openapi/typescript-axios/base.ts +++ b/examples/cactus-example-supply-chain-business-logic-plugin/src/main/typescript/generated/openapi/typescript-axios/base.ts @@ -2,7 +2,7 @@ /* eslint-disable */ /** * Hyperledger Cactus Example - Supply Chain App - * Demonstrates how a business use case can be satisifedwith Cactus when multiple distinct ledgers are involved. + * Demonstrates how a business use case can be satisfied with Cactus when multiple distinct ledgers are involved. * * The version of the OpenAPI document: 0.2.0 * diff --git a/examples/cactus-example-supply-chain-business-logic-plugin/src/main/typescript/generated/openapi/typescript-axios/configuration.ts b/examples/cactus-example-supply-chain-business-logic-plugin/src/main/typescript/generated/openapi/typescript-axios/configuration.ts index 10681fdda4..d10475fb76 100644 --- a/examples/cactus-example-supply-chain-business-logic-plugin/src/main/typescript/generated/openapi/typescript-axios/configuration.ts +++ b/examples/cactus-example-supply-chain-business-logic-plugin/src/main/typescript/generated/openapi/typescript-axios/configuration.ts @@ -2,7 +2,7 @@ /* eslint-disable */ /** * Hyperledger Cactus Example - Supply Chain App - * Demonstrates how a business use case can be satisifedwith Cactus when multiple distinct ledgers are involved. + * Demonstrates how a business use case can be satisfied with Cactus when multiple distinct ledgers are involved. * * The version of the OpenAPI document: 0.2.0 * diff --git a/examples/cactus-example-supply-chain-business-logic-plugin/src/main/typescript/generated/openapi/typescript-axios/index.ts b/examples/cactus-example-supply-chain-business-logic-plugin/src/main/typescript/generated/openapi/typescript-axios/index.ts index 1163b70671..88ee8f4f84 100644 --- a/examples/cactus-example-supply-chain-business-logic-plugin/src/main/typescript/generated/openapi/typescript-axios/index.ts +++ b/examples/cactus-example-supply-chain-business-logic-plugin/src/main/typescript/generated/openapi/typescript-axios/index.ts @@ -2,7 +2,7 @@ /* eslint-disable */ /** * Hyperledger Cactus Example - Supply Chain App - * Demonstrates how a business use case can be satisifedwith Cactus when multiple distinct ledgers are involved. + * Demonstrates how a business use case can be satisfied with Cactus when multiple distinct ledgers are involved. * * The version of the OpenAPI document: 0.2.0 * diff --git a/examples/cactus-example-supply-chain-business-logic-plugin/src/main/typescript/model/converter/bamboo-harvest-converter.ts b/examples/cactus-example-supply-chain-business-logic-plugin/src/main/typescript/model/converter/bamboo-harvest-converter.ts index 76bbd861a0..89f5ce6ae8 100644 --- a/examples/cactus-example-supply-chain-business-logic-plugin/src/main/typescript/model/converter/bamboo-harvest-converter.ts +++ b/examples/cactus-example-supply-chain-business-logic-plugin/src/main/typescript/model/converter/bamboo-harvest-converter.ts @@ -2,9 +2,9 @@ import { BambooHarvest } from "../../generated/openapi/typescript-axios"; /** * Responsible for converting model entities such as the `BambooHarvest` to and - * from the different represenatations it can exist in such as a generic JS + * from the different representations it can exist in such as a generic JS * object with key/value pair properties or when being returned as an array of - * values by a Solidity smart contract for example where the indicies of the + * values by a Solidity smart contract for example where the indices of the * array can be mapped to the field names. */ export class BambooHarvestConverter { @@ -16,7 +16,7 @@ export class BambooHarvestConverter { /** * Converts a `BambooHarvest` model entity from an array representation ( - * usually returned by a solidity contract function) to a POJO. + * usually returned by a solidity contract function) to a Plain Old Java Object. * * @param arr The array containing the values of properties describing a * `BambooHarvest` model entity. diff --git a/examples/cactus-example-supply-chain-business-logic-plugin/src/main/typescript/model/converter/bookshelf-converter.ts b/examples/cactus-example-supply-chain-business-logic-plugin/src/main/typescript/model/converter/bookshelf-converter.ts index e81c767587..55d75f3579 100644 --- a/examples/cactus-example-supply-chain-business-logic-plugin/src/main/typescript/model/converter/bookshelf-converter.ts +++ b/examples/cactus-example-supply-chain-business-logic-plugin/src/main/typescript/model/converter/bookshelf-converter.ts @@ -2,9 +2,9 @@ import { Bookshelf } from "../../generated/openapi/typescript-axios/index"; /** * Responsible for converting model entities such as the `Bookshelf` to and - * from the different represenatations it can exist in such as a generic JS + * from the different representations it can exist in such as a generic JS * object with key/value pair properties or when being returned as an array of - * values by a Solidity smart contract for example where the indicies of the + * values by a Solidity smart contract for example where the indices of the * array can be mapped to the field names. */ export class BookshelfConverter { @@ -14,7 +14,7 @@ export class BookshelfConverter { /** * Converts a `Bookshelf` model entity from an array representation ( - * usually returned by a solidity contract function) to a POJO. + * usually returned by a solidity contract function) to a Plain Old Java Object. * * @param arr The array containing the values of properties describing a * `Bookshelf` model entity. diff --git a/examples/cactus-example-supply-chain-frontend/src/app/bamboo-harvest/bamboo-harvest-detail/bamboo-harvest-detail.page.ts b/examples/cactus-example-supply-chain-frontend/src/app/bamboo-harvest/bamboo-harvest-detail/bamboo-harvest-detail.page.ts index 918bea8b84..b765418c0e 100644 --- a/examples/cactus-example-supply-chain-frontend/src/app/bamboo-harvest/bamboo-harvest-detail/bamboo-harvest-detail.page.ts +++ b/examples/cactus-example-supply-chain-frontend/src/app/bamboo-harvest/bamboo-harvest-detail/bamboo-harvest-detail.page.ts @@ -37,7 +37,7 @@ export class BambooHarvestDetailPage implements OnInit { this.bambooHarvest = { id: uuidv4(), harvester: "Captain Lumberjack Logging Corporation", - location: "Pīpīwai Trail, Hana, HI 96713, United States", + location: "London, NW1 2DB, United Kingdom", startedAt: new Date(2020, 6, 10, 7, 0, 0, 0).toJSON(), endedAt: new Date(2020, 6, 10, 16, 0, 0, 0).toJSON(), }; diff --git a/examples/cactus-example-supply-chain-frontend/src/app/bamboo-harvest/bamboo-harvest-list/bamboo-harvest-list.page.ts b/examples/cactus-example-supply-chain-frontend/src/app/bamboo-harvest/bamboo-harvest-list/bamboo-harvest-list.page.ts index 0142317327..a555a8a64f 100644 --- a/examples/cactus-example-supply-chain-frontend/src/app/bamboo-harvest/bamboo-harvest-list/bamboo-harvest-list.page.ts +++ b/examples/cactus-example-supply-chain-frontend/src/app/bamboo-harvest/bamboo-harvest-list/bamboo-harvest-list.page.ts @@ -32,7 +32,7 @@ export class BambooHarvestListPage implements OnInit { public get supplyChainApi(): SupplyChainApi { if (!this._supplyChainApi) { - throw new Error(`InvalidStateError: _supplyChainApi not initialzied.`); + throw new Error(`InvalidStateError: _supplyChainApi not initialized.`); } else { return this._supplyChainApi; } diff --git a/examples/cactus-example-supply-chain-frontend/src/app/bookshelf/bookshelf-detail/bookshelf-detail.page.ts b/examples/cactus-example-supply-chain-frontend/src/app/bookshelf/bookshelf-detail/bookshelf-detail.page.ts index 0879cb0307..51e914fe74 100644 --- a/examples/cactus-example-supply-chain-frontend/src/app/bookshelf/bookshelf-detail/bookshelf-detail.page.ts +++ b/examples/cactus-example-supply-chain-frontend/src/app/bookshelf/bookshelf-detail/bookshelf-detail.page.ts @@ -40,7 +40,7 @@ export class BookshelfDetailPage implements OnInit { public get supplyChainApi(): SupplyChainApi { if (!this._supplyChainApi) { - throw new Error(`InvalidStateError: _supplyChainApi not initialzied.`); + throw new Error(`InvalidStateError: _supplyChainApi not initialized.`); } else { return this._supplyChainApi; } diff --git a/examples/cactus-example-supply-chain-frontend/src/app/bookshelf/bookshelf-list/bookshelf-list.page.ts b/examples/cactus-example-supply-chain-frontend/src/app/bookshelf/bookshelf-list/bookshelf-list.page.ts index 07029f9f9c..bd20474046 100644 --- a/examples/cactus-example-supply-chain-frontend/src/app/bookshelf/bookshelf-list/bookshelf-list.page.ts +++ b/examples/cactus-example-supply-chain-frontend/src/app/bookshelf/bookshelf-list/bookshelf-list.page.ts @@ -32,7 +32,7 @@ export class BookshelfListPage implements OnInit { public get supplyChainApi(): SupplyChainApi { if (!this._supplyChainApi) { - throw new Error(`InvalidStateError: _supplyChainApi not initialzied.`); + throw new Error(`InvalidStateError: _supplyChainApi not initialized.`); } else { return this._supplyChainApi; } diff --git a/examples/cactus-example-supply-chain-frontend/src/app/shipment/shipment-detail/shipment-detail.page.ts b/examples/cactus-example-supply-chain-frontend/src/app/shipment/shipment-detail/shipment-detail.page.ts index 76125b99c6..960508d3b1 100644 --- a/examples/cactus-example-supply-chain-frontend/src/app/shipment/shipment-detail/shipment-detail.page.ts +++ b/examples/cactus-example-supply-chain-frontend/src/app/shipment/shipment-detail/shipment-detail.page.ts @@ -40,7 +40,7 @@ export class ShipmentDetailPage implements OnInit { public get supplyChainApi(): SupplyChainApi { if (!this._supplyChainApi) { - throw new Error(`InvalidStateError: _supplyChainApi not initialzied.`); + throw new Error(`InvalidStateError: _supplyChainApi not initialized.`); } else { return this._supplyChainApi; } diff --git a/examples/cactus-example-supply-chain-frontend/src/app/shipment/shipment-list/shipment-list.page.ts b/examples/cactus-example-supply-chain-frontend/src/app/shipment/shipment-list/shipment-list.page.ts index 94fd63ddf7..733867dfde 100644 --- a/examples/cactus-example-supply-chain-frontend/src/app/shipment/shipment-list/shipment-list.page.ts +++ b/examples/cactus-example-supply-chain-frontend/src/app/shipment/shipment-list/shipment-list.page.ts @@ -32,7 +32,7 @@ export class ShipmentListPage implements OnInit { public get supplyChainApi(): SupplyChainApi { if (!this._supplyChainApi) { - throw new Error(`InvalidStateError: _supplyChainApi not initialzied.`); + throw new Error(`InvalidStateError: _supplyChainApi not initialized.`); } else { return this._supplyChainApi; } diff --git a/package-lock.json b/package-lock.json index 7d241d6abb..ad641d1f93 100644 --- a/package-lock.json +++ b/package-lock.json @@ -7,7 +7,6 @@ "version": "7.10.4", "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.10.4.tgz", "integrity": "sha512-vG6SvB6oYEhvgisZNFRmRCUkLz11c7rp+tbNTynGqc6mS1d5ATd/sGyV6W0KZZnXRKMTzZDRgQT3Ou9jhpAfUg==", - "dev": true, "requires": { "@babel/highlight": "^7.10.4" } @@ -55,14 +54,12 @@ "@babel/helper-validator-identifier": { "version": "7.10.4", "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.10.4.tgz", - "integrity": "sha512-3U9y+43hz7ZM+rzG24Qe2mufW5KhvFg/NhnNph+i9mgCtdTCtMJuI1TMkrIUiK7Ix4PYlRF9I5dhqaLYA/ADXw==", - "dev": true + "integrity": "sha512-3U9y+43hz7ZM+rzG24Qe2mufW5KhvFg/NhnNph+i9mgCtdTCtMJuI1TMkrIUiK7Ix4PYlRF9I5dhqaLYA/ADXw==" }, "@babel/highlight": { "version": "7.10.4", "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.10.4.tgz", "integrity": "sha512-i6rgnR/YgPEQzZZnbTHHuZdlE8qyoBNalD6F+q4vAFlcMEcqmkoG+mPqJYJCo63qPf74+Y1UZsl3l6f7/RIkmA==", - "dev": true, "requires": { "@babel/helper-validator-identifier": "^7.10.4", "chalk": "^2.0.0", @@ -73,7 +70,6 @@ "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" } @@ -82,7 +78,6 @@ "version": "2.4.2", "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", - "dev": true, "requires": { "ansi-styles": "^3.2.1", "escape-string-regexp": "^1.0.5", @@ -93,7 +88,6 @@ "version": "1.9.3", "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", - "dev": true, "requires": { "color-name": "1.1.3" } @@ -101,20 +95,17 @@ "color-name": { "version": "1.1.3", "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", - "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=", - "dev": true + "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=" }, "has-flag": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", - "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=", - "dev": true + "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=" }, "supports-color": { "version": "5.5.0", "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "dev": true, "requires": { "has-flag": "^3.0.0" } @@ -554,6 +545,222 @@ "integrity": "sha512-VoNqai1vR5anRF5Tuh/+SWDFk7xi7oMwHrHrbm1BprYXjB2RJsWLhUrStMssDxEl5lW/z3EUdg8RvH/IUBccSQ==", "dev": true }, + "@cspell/cspell-bundled-dicts": { + "version": "5.4.0", + "resolved": "https://registry.npmjs.org/@cspell/cspell-bundled-dicts/-/cspell-bundled-dicts-5.4.0.tgz", + "integrity": "sha512-aZyml0UaJ2BXmqcrjdMJWyKGQVu33FQ1eRsnV2SZ4WkdkRsxPtdQoFDi+lKSSvIEYSfRkis6lffzwvp0CPQOmw==", + "requires": { + "@cspell/dict-ada": "^1.1.2", + "@cspell/dict-aws": "^1.0.14", + "@cspell/dict-bash": "^1.0.12", + "@cspell/dict-companies": "^1.0.37", + "@cspell/dict-cpp": "^1.1.38", + "@cspell/dict-cryptocurrencies": "^1.0.10", + "@cspell/dict-csharp": "^1.0.11", + "@cspell/dict-css": "^1.0.11", + "@cspell/dict-django": "^1.0.26", + "@cspell/dict-dotnet": "^1.0.25", + "@cspell/dict-elixir": "^1.0.24", + "@cspell/dict-en-gb": "^1.1.28", + "@cspell/dict-en_us": "^1.2.40", + "@cspell/dict-filetypes": "^1.1.5", + "@cspell/dict-fonts": "^1.0.14", + "@cspell/dict-fullstack": "^1.0.37", + "@cspell/dict-golang": "^1.1.24", + "@cspell/dict-haskell": "^1.0.13", + "@cspell/dict-html": "^1.1.6", + "@cspell/dict-html-symbol-entities": "^1.0.23", + "@cspell/dict-java": "^1.0.22", + "@cspell/dict-latex": "^1.0.25", + "@cspell/dict-lorem-ipsum": "^1.0.22", + "@cspell/dict-lua": "^1.0.16", + "@cspell/dict-node": "^1.0.11", + "@cspell/dict-npm": "^1.0.11", + "@cspell/dict-php": "^1.0.23", + "@cspell/dict-powershell": "^1.0.14", + "@cspell/dict-python": "^1.0.34", + "@cspell/dict-ruby": "^1.0.13", + "@cspell/dict-rust": "^1.0.22", + "@cspell/dict-scala": "^1.0.21", + "@cspell/dict-software-terms": "^1.0.28", + "@cspell/dict-typescript": "^1.0.17" + } + }, + "@cspell/cspell-types": { + "version": "5.4.0", + "resolved": "https://registry.npmjs.org/@cspell/cspell-types/-/cspell-types-5.4.0.tgz", + "integrity": "sha512-mQM+65u0jbTilhj0Mrnufk3jC7dWRymlWdxVK9phLRqtJsDJsxpa0opumVw1CnoBHfPj6HnW7SBGufmcCQp/PQ==" + }, + "@cspell/dict-ada": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@cspell/dict-ada/-/dict-ada-1.1.2.tgz", + "integrity": "sha512-UDrcYcKIVyXDz5mInJabRNQpJoehjBFvja5W+GQyu9pGcx3BS3cAU8mWENstGR0Qc/iFTxB010qwF8F3cHA/aA==" + }, + "@cspell/dict-aws": { + "version": "1.0.14", + "resolved": "https://registry.npmjs.org/@cspell/dict-aws/-/dict-aws-1.0.14.tgz", + "integrity": "sha512-K21CfB4ZpKYwwDQiPfic2zJA/uxkbsd4IQGejEvDAhE3z8wBs6g6BwwqdVO767M9NgZqc021yAVpr79N5pWe3w==" + }, + "@cspell/dict-bash": { + "version": "1.0.12", + "resolved": "https://registry.npmjs.org/@cspell/dict-bash/-/dict-bash-1.0.12.tgz", + "integrity": "sha512-BOMHVW/m281mqUSJkZ3oiJiUUItLd7QdzpMjm428V9yBYFwIdbds1CeatS7C6kgpI2eBE4RXmy1Hjk/lR63Jew==" + }, + "@cspell/dict-companies": { + "version": "1.0.37", + "resolved": "https://registry.npmjs.org/@cspell/dict-companies/-/dict-companies-1.0.37.tgz", + "integrity": "sha512-7DuwT64u88v0qvvuhHK23zn8zyX7S3lIYj0ntAoMvErr1+O0SuUopZrw4Y1pm1pgcVAv6+ny80RDDhSD1h565w==" + }, + "@cspell/dict-cpp": { + "version": "1.1.38", + "resolved": "https://registry.npmjs.org/@cspell/dict-cpp/-/dict-cpp-1.1.38.tgz", + "integrity": "sha512-QqVMxVNYX9XtxzflpJ/888GSyjPU5VeotltsHql1BeEPxhyV27ud9bRKDrBGzCijCK/+MvCxiMZGDpYZqHTjXw==" + }, + "@cspell/dict-cryptocurrencies": { + "version": "1.0.10", + "resolved": "https://registry.npmjs.org/@cspell/dict-cryptocurrencies/-/dict-cryptocurrencies-1.0.10.tgz", + "integrity": "sha512-47ABvDJOkaST/rXipNMfNvneHUzASvmL6K/CbOFpYKfsd0x23Jc9k1yaOC7JAm82XSC/8a7+3Yu+Fk2jVJNnsA==" + }, + "@cspell/dict-csharp": { + "version": "1.0.11", + "resolved": "https://registry.npmjs.org/@cspell/dict-csharp/-/dict-csharp-1.0.11.tgz", + "integrity": "sha512-nub+ZCiTgmT87O+swI+FIAzNwaZPWUGckJU4GN402wBq420V+F4ZFqNV7dVALJrGaWH7LvADRtJxi6cZVHJKeA==" + }, + "@cspell/dict-css": { + "version": "1.0.11", + "resolved": "https://registry.npmjs.org/@cspell/dict-css/-/dict-css-1.0.11.tgz", + "integrity": "sha512-2Or5oF5ojaXYD8QbO4Z+QdaNXSp+ZyNLJdeyKfejbxLvpL5feSNB0oYtTNrweFPTAvJKQ4DJsdEXy0/s31haRg==" + }, + "@cspell/dict-django": { + "version": "1.0.26", + "resolved": "https://registry.npmjs.org/@cspell/dict-django/-/dict-django-1.0.26.tgz", + "integrity": "sha512-mn9bd7Et1L2zuibc08GVHTiD2Go3/hdjyX5KLukXDklBkq06r+tb0OtKtf1zKodtFDTIaYekGADhNhA6AnKLkg==" + }, + "@cspell/dict-dotnet": { + "version": "1.0.25", + "resolved": "https://registry.npmjs.org/@cspell/dict-dotnet/-/dict-dotnet-1.0.25.tgz", + "integrity": "sha512-3BFhdquYqqjeI8Jm1dYepZKGEg+fKFhw7UfPkVdx13C4ETo5VlsS4FAblC0pCY21pDU3QgRZOGL1Bj+KWCGp/w==" + }, + "@cspell/dict-elixir": { + "version": "1.0.24", + "resolved": "https://registry.npmjs.org/@cspell/dict-elixir/-/dict-elixir-1.0.24.tgz", + "integrity": "sha512-pEX6GYlEx4Teusw/m+XmqoXzcHOqpcn1ZX4H33ONqR81XdPwbaKorBr1IG23Ic76IhwrFlOqs48tcnxrHYpFnA==" + }, + "@cspell/dict-en-gb": { + "version": "1.1.28", + "resolved": "https://registry.npmjs.org/@cspell/dict-en-gb/-/dict-en-gb-1.1.28.tgz", + "integrity": "sha512-noOH+iv4xFpPxu1agiQgp5LhY/KA0Ir28y1xnC2QTtLvlIid7vIvgixBOz4Zi0P7lo/mPmMjQY+x7//2EKFDgQ==" + }, + "@cspell/dict-en_us": { + "version": "1.2.40", + "resolved": "https://registry.npmjs.org/@cspell/dict-en_us/-/dict-en_us-1.2.40.tgz", + "integrity": "sha512-e8leCvGAWPWQIw0SoozgEAiMt2YM12rafOuW4aQwgTJD++vp32a9RrnVL8olBfWaA57rRWWndbMSmPTrsO9mpg==" + }, + "@cspell/dict-filetypes": { + "version": "1.1.5", + "resolved": "https://registry.npmjs.org/@cspell/dict-filetypes/-/dict-filetypes-1.1.5.tgz", + "integrity": "sha512-yfkB37J+hL6W8qa4AknFp7u6CGECrw2ql2/y0lUKruLQYid0ApK+bH+ll+Sqgl2YS5QAOhclskc72aQHAcRJIQ==" + }, + "@cspell/dict-fonts": { + "version": "1.0.14", + "resolved": "https://registry.npmjs.org/@cspell/dict-fonts/-/dict-fonts-1.0.14.tgz", + "integrity": "sha512-VhIX+FVYAnqQrOuoFEtya6+H72J82cIicz9QddgknsTqZQ3dvgp6lmVnsQXPM3EnzA8n1peTGpLDwHzT7ociLA==" + }, + "@cspell/dict-fullstack": { + "version": "1.0.37", + "resolved": "https://registry.npmjs.org/@cspell/dict-fullstack/-/dict-fullstack-1.0.37.tgz", + "integrity": "sha512-ljVzUdIlBENMiyHUV06007hz2FPRt+BQmC9Jgn6iGIEQeAQp37Q6oIDmxv2lD65ScEIbysxXuaUgJ5x0j4a48A==" + }, + "@cspell/dict-golang": { + "version": "1.1.24", + "resolved": "https://registry.npmjs.org/@cspell/dict-golang/-/dict-golang-1.1.24.tgz", + "integrity": "sha512-qq3Cjnx2U1jpeWAGJL1GL0ylEhUMqyaR36Xij6Y6Aq4bViCRp+HRRqk0x5/IHHbOrti45h3yy7ii1itRFo+Xkg==" + }, + "@cspell/dict-haskell": { + "version": "1.0.13", + "resolved": "https://registry.npmjs.org/@cspell/dict-haskell/-/dict-haskell-1.0.13.tgz", + "integrity": "sha512-kvl8T84cnYRPpND/P3D86P6WRSqebsbk0FnMfy27zo15L5MLAb3d3MOiT1kW3vEWfQgzUD7uddX/vUiuroQ8TA==" + }, + "@cspell/dict-html": { + "version": "1.1.6", + "resolved": "https://registry.npmjs.org/@cspell/dict-html/-/dict-html-1.1.6.tgz", + "integrity": "sha512-RsZXIrmsnLcUpXfyZdNg7OtO2+e4p7m/qILg03kM6vhSUMY6ryCQNPWKrHqsl8+LBKd54EgFM+O5zcgq6IIsCw==" + }, + "@cspell/dict-html-symbol-entities": { + "version": "1.0.23", + "resolved": "https://registry.npmjs.org/@cspell/dict-html-symbol-entities/-/dict-html-symbol-entities-1.0.23.tgz", + "integrity": "sha512-PV0UBgcBFbBLf/m1wfkVMM8w96kvfHoiCGLWO6BR3Q9v70IXoE4ae0+T+f0CkxcEkacMqEQk/I7vuE9MzrjaNw==" + }, + "@cspell/dict-java": { + "version": "1.0.22", + "resolved": "https://registry.npmjs.org/@cspell/dict-java/-/dict-java-1.0.22.tgz", + "integrity": "sha512-CVAJ29dx1XwwutgsMgaj5eCl1Nc7X7qFhWL2KkAdu78A/NUIaS+1I9KS0hHhdZx/wLke9dH8TR7NyPQGpGxeAw==" + }, + "@cspell/dict-latex": { + "version": "1.0.25", + "resolved": "https://registry.npmjs.org/@cspell/dict-latex/-/dict-latex-1.0.25.tgz", + "integrity": "sha512-cEgg91Migqcp1SdVV7dUeMxbPDhxdNo6Fgq2eygAXQjIOFK520FFvh/qxyBvW90qdZbIRoU2AJpchyHfGuwZFA==" + }, + "@cspell/dict-lorem-ipsum": { + "version": "1.0.22", + "resolved": "https://registry.npmjs.org/@cspell/dict-lorem-ipsum/-/dict-lorem-ipsum-1.0.22.tgz", + "integrity": "sha512-yqzspR+2ADeAGUxLTfZ4pXvPl7FmkENMRcGDECmddkOiuEwBCWMZdMP5fng9B0Q6j91hQ8w9CLvJKBz10TqNYg==" + }, + "@cspell/dict-lua": { + "version": "1.0.16", + "resolved": "https://registry.npmjs.org/@cspell/dict-lua/-/dict-lua-1.0.16.tgz", + "integrity": "sha512-YiHDt8kmHJ8nSBy0tHzaxiuitYp+oJ66ffCYuFWTNB3//Y0SI4OGHU3omLsQVeXIfCeVrO4DrVvRDoCls9B5zQ==" + }, + "@cspell/dict-node": { + "version": "1.0.11", + "resolved": "https://registry.npmjs.org/@cspell/dict-node/-/dict-node-1.0.11.tgz", + "integrity": "sha512-q66zAqtNmuvZGKt4stRwQPFLsbOjZGGZOZ1HEbqpOkicxvF0BWhR0Di/JBq27PDxeqQP3S5sLeogQTSNQBuTww==" + }, + "@cspell/dict-npm": { + "version": "1.0.11", + "resolved": "https://registry.npmjs.org/@cspell/dict-npm/-/dict-npm-1.0.11.tgz", + "integrity": "sha512-mokmv9/Yk1yliDz97drWyuDWv7eKGEcFhdM43YSPK7GuMLh6i2ULOmORPFhUcjxQjPf0uySMDA2JguiQ4m5Lmg==" + }, + "@cspell/dict-php": { + "version": "1.0.23", + "resolved": "https://registry.npmjs.org/@cspell/dict-php/-/dict-php-1.0.23.tgz", + "integrity": "sha512-rRLf/09rXDrzs0DJuNXNmFVTw2b2zLmZKNF4LIPrFHYHvdfsMvwVqxkr/SAyhF8C6zi5sW0XYC/J0S/3IE927w==" + }, + "@cspell/dict-powershell": { + "version": "1.0.14", + "resolved": "https://registry.npmjs.org/@cspell/dict-powershell/-/dict-powershell-1.0.14.tgz", + "integrity": "sha512-hisOXXi5PBXB5YKtrJQIis2FIRHgSW1U0/sd4yI36lzb3ZMEvGJwdAdyhXN3IGiqRUNxMzJiXAeXfhnia4xPtQ==" + }, + "@cspell/dict-python": { + "version": "1.0.34", + "resolved": "https://registry.npmjs.org/@cspell/dict-python/-/dict-python-1.0.34.tgz", + "integrity": "sha512-1VvyvvEv3ToVdlFIPzD6sOh+bFVrYMHoAL6VnJYfFMnCxw/YftHIc7INg9LEUWcolovVFoUHFOhBN8saXw8bzA==" + }, + "@cspell/dict-ruby": { + "version": "1.0.13", + "resolved": "https://registry.npmjs.org/@cspell/dict-ruby/-/dict-ruby-1.0.13.tgz", + "integrity": "sha512-YeN1acY38dgMYlEJ6iWPH+8qXB6seLKHm9BszXxaKT/IzGA9Y9XUWPGobeJFD5E/tC6HjvcqRKxEs8vnvakoLQ==" + }, + "@cspell/dict-rust": { + "version": "1.0.22", + "resolved": "https://registry.npmjs.org/@cspell/dict-rust/-/dict-rust-1.0.22.tgz", + "integrity": "sha512-7WOIzv0BPiU+MssZbbMk8K+HR/g9Bcvd0+jXJC3/AKT8L6l0Mx0Tr/oF7cJ4xvCYgA84nBz3PhMZkabGSz/Nkg==" + }, + "@cspell/dict-scala": { + "version": "1.0.21", + "resolved": "https://registry.npmjs.org/@cspell/dict-scala/-/dict-scala-1.0.21.tgz", + "integrity": "sha512-5V/R7PRbbminTpPS3ywgdAalI9BHzcEjEj9ug4kWYvBIGwSnS7T6QCFCiu+e9LvEGUqQC+NHgLY4zs1NaBj2vA==" + }, + "@cspell/dict-software-terms": { + "version": "1.0.28", + "resolved": "https://registry.npmjs.org/@cspell/dict-software-terms/-/dict-software-terms-1.0.28.tgz", + "integrity": "sha512-N/5H+J68CgToDSZiMMSJl3ws5qU7GJOj1sXZ9oXr1wojvu/qifCp32zDh8hzFWrZF1VUdnStusNVTeW1Wq4Pog==" + }, + "@cspell/dict-typescript": { + "version": "1.0.17", + "resolved": "https://registry.npmjs.org/@cspell/dict-typescript/-/dict-typescript-1.0.17.tgz", + "integrity": "sha512-CXCuXcrgAc56P3kL9I6gW6bZwTs6t3duyAtHerHg5YAYbPs6/4nXgniQgLgu8kjFHFy07XrqaaBdLU9V2DmMtQ==" + }, "@electron/get": { "version": "1.12.3", "resolved": "https://registry.npmjs.org/@electron/get/-/get-1.12.3.tgz", @@ -3259,8 +3466,7 @@ "@types/parse-json": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/@types/parse-json/-/parse-json-4.0.0.tgz", - "integrity": "sha512-//oorEZjL6sbPcKUaCdIGlIUeH26mgzimjBB77G6XRgnDl/L5wOnpyBGRe/Mmf5CVW3PwEBE1NjiMZ/ssFh4wA==", - "dev": true + "integrity": "sha512-//oorEZjL6sbPcKUaCdIGlIUeH26mgzimjBB77G6XRgnDl/L5wOnpyBGRe/Mmf5CVW3PwEBE1NjiMZ/ssFh4wA==" }, "@types/responselike": { "version": "1.0.0", @@ -3865,14 +4071,12 @@ "ansi-regex": { "version": "5.0.0", "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.0.tgz", - "integrity": "sha512-bY6fj56OUQ0hU1KjFNDQuJFezqKdrAyFdIevADiqrWHwSlbmBNMHp5ak2f40Pm8JTFyM2mqxkG6ngkHO11f/lg==", - "dev": true + "integrity": "sha512-bY6fj56OUQ0hU1KjFNDQuJFezqKdrAyFdIevADiqrWHwSlbmBNMHp5ak2f40Pm8JTFyM2mqxkG6ngkHO11f/lg==" }, "ansi-styles": { "version": "4.3.0", "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", - "dev": true, "requires": { "color-convert": "^2.0.1" } @@ -4004,6 +4208,11 @@ "is-string": "^1.0.5" } }, + "array-timsort": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/array-timsort/-/array-timsort-1.0.3.tgz", + "integrity": "sha512-/+3GRL7dDAGEfM6TseQk/U+mi18TU2Ms9I3UlLdUMhz2hbvGNTKdj9xniwXfUqgYhHxRx0+8UnKkvlNwVU+cWQ==" + }, "array-union": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/array-union/-/array-union-2.1.0.tgz", @@ -4818,8 +5027,7 @@ "at-least-node": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/at-least-node/-/at-least-node-1.0.0.tgz", - "integrity": "sha512-+q/t7Ekv1EDY2l6Gda6LLiX14rU9TV20Wa3ofeQmwPFZbOMo9DXrLbOjFaaclkXKWidIaopwAObQDqwWtGUjqg==", - "dev": true + "integrity": "sha512-+q/t7Ekv1EDY2l6Gda6LLiX14rU9TV20Wa3ofeQmwPFZbOMo9DXrLbOjFaaclkXKWidIaopwAObQDqwWtGUjqg==" }, "atob": { "version": "2.1.2", @@ -4905,8 +5113,7 @@ "balanced-match": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.0.tgz", - "integrity": "sha1-ibTRmasr7kneFk6gK4nORi1xt2c=", - "dev": true + "integrity": "sha1-ibTRmasr7kneFk6gK4nORi1xt2c=" }, "base": { "version": "0.11.2", @@ -5110,7 +5317,6 @@ "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" @@ -5540,8 +5746,7 @@ "callsites": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz", - "integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==", - "dev": true + "integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==" }, "camelcase": { "version": "5.3.1", @@ -5832,7 +6037,6 @@ "version": "2.0.1", "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", - "dev": true, "requires": { "color-name": "~1.1.4" } @@ -5840,8 +6044,7 @@ "color-name": { "version": "1.1.4", "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", - "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", - "dev": true + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==" }, "color-support": { "version": "1.1.3", @@ -5924,6 +6127,18 @@ "graceful-readlink": ">= 1.0.0" } }, + "comment-json": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/comment-json/-/comment-json-4.1.0.tgz", + "integrity": "sha512-WEghmVYaNq9NlWbrkzQTSsya9ycLyxJxpTQfZEan6a5Jomnjw18zS3Podf8q1Zf9BvonvQd/+Z7Z39L7KKzzdQ==", + "requires": { + "array-timsort": "^1.0.3", + "core-util-is": "^1.0.2", + "esprima": "^4.0.1", + "has-own-prop": "^2.0.0", + "repeat-string": "^1.6.1" + } + }, "commondir": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/commondir/-/commondir-1.0.1.tgz", @@ -5964,8 +6179,7 @@ "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 + "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=" }, "concat-stream": { "version": "1.6.2", @@ -5993,7 +6207,6 @@ "version": "5.0.1", "resolved": "https://registry.npmjs.org/configstore/-/configstore-5.0.1.tgz", "integrity": "sha512-aMKprgk5YhBNyH25hj8wGt2+D52Sw1DRRIzqBwLp2Ya9mFmY8KPvvtvmna8SxVR9JMZ4kzMD68N22vlaRpkeFA==", - "dev": true, "requires": { "dot-prop": "^5.2.0", "graceful-fs": "^4.1.2", @@ -6007,7 +6220,6 @@ "version": "3.0.3", "resolved": "https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-3.0.3.tgz", "integrity": "sha512-AvHcyZ5JnSfq3ioSyjrBkH9yW4m7Ayk8/9My/DD9onKeu/94fwrMocemO2QAJFAlnnDN+ZDS+ZjAR5ua1/PV/Q==", - "dev": true, "requires": { "imurmurhash": "^0.1.4", "is-typedarray": "^1.0.0", @@ -6367,14 +6579,12 @@ "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 + "integrity": "sha1-tf1UIgqivFq1eqtxQMlAdUUDwac=" }, "cosmiconfig": { "version": "7.0.0", "resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-7.0.0.tgz", "integrity": "sha512-pondGvTuVYDk++upghXJabWzL6Kxu6f26ljFw64Swq9v6sQPUL3EUlVDV56diOjpCayKihL6hVe8exIACU4XcA==", - "dev": true, "requires": { "@types/parse-json": "^4.0.0", "import-fresh": "^3.2.1", @@ -6539,8 +6749,206 @@ "crypto-random-string": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/crypto-random-string/-/crypto-random-string-2.0.0.tgz", - "integrity": "sha512-v1plID3y9r/lPhviJ1wrXpLeyUIGAZ2SHNYTEapm7/8A9nLPoyvVp3RK/EPFqn5kEznyWgYZNsRtYYIWbuG8KA==", - "dev": true + "integrity": "sha512-v1plID3y9r/lPhviJ1wrXpLeyUIGAZ2SHNYTEapm7/8A9nLPoyvVp3RK/EPFqn5kEznyWgYZNsRtYYIWbuG8KA==" + }, + "cspell": { + "version": "5.4.0", + "resolved": "https://registry.npmjs.org/cspell/-/cspell-5.4.0.tgz", + "integrity": "sha512-613oEbxry/xJWrFf/r6RS3jQ88Az0W3LRazGi0s+tcIAlprJn78inTKUn23oQslhoF0dhYADJdFaR6Q4Fd6+zw==", + "requires": { + "@cspell/cspell-types": "^5.4.0", + "chalk": "^4.1.1", + "commander": "^7.2.0", + "comment-json": "^4.1.0", + "cspell-glob": "^5.4.0", + "cspell-lib": "^5.4.0", + "fs-extra": "^9.1.0", + "get-stdin": "^8.0.0", + "glob": "^7.1.6", + "strip-ansi": "^6.0.0" + }, + "dependencies": { + "chalk": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.1.tgz", + "integrity": "sha512-diHzdDKxcU+bAsUboHLPEDQiw0qEe0qd7SYUn3HgcFlWgbDcfLGswOHYeGrHKzG9z6UYf01d9VFMfZxPM1xZSg==", + "requires": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + } + }, + "commander": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/commander/-/commander-7.2.0.tgz", + "integrity": "sha512-QrWXB+ZQSVPmIWIhtEO9H+gwHaMGYiF5ChvoJ+K9ZGHG/sVsa6yiesAD1GC/x46sET00Xlwo1u49RVVVzvcSkw==" + }, + "fs-extra": { + "version": "9.1.0", + "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-9.1.0.tgz", + "integrity": "sha512-hcg3ZmepS30/7BSFqRvoo3DOMQu7IjqxO5nCDt+zM9XWjb33Wg7ziNT+Qvqbuc3+gWpzO02JubVyk2G4Zvo1OQ==", + "requires": { + "at-least-node": "^1.0.0", + "graceful-fs": "^4.2.0", + "jsonfile": "^6.0.1", + "universalify": "^2.0.0" + } + }, + "glob": { + "version": "7.1.6", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.6.tgz", + "integrity": "sha512-LwaxwyZ72Lk7vZINtNNrywX0ZuLyStrdDtabefZKAY5ZGJhVtgdznluResxNmPitE0SAO+O26sWTHeKSI2wMBA==", + "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" + } + }, + "universalify": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.0.tgz", + "integrity": "sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ==" + } + } + }, + "cspell-glob": { + "version": "5.4.0", + "resolved": "https://registry.npmjs.org/cspell-glob/-/cspell-glob-5.4.0.tgz", + "integrity": "sha512-4CwXDdO3Z0VdfZcD7OS7zFM8h5ay2ZHtzoc5oPLmxSs+tNQdRGNeFSPIv6CNt80AqILtZrlO7nVIbA6KtARqYA==", + "requires": { + "micromatch": "^4.0.4" + }, + "dependencies": { + "braces": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz", + "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==", + "requires": { + "fill-range": "^7.0.1" + } + }, + "fill-range": { + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz", + "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==", + "requires": { + "to-regex-range": "^5.0.1" + } + }, + "is-number": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", + "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==" + }, + "micromatch": { + "version": "4.0.4", + "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.4.tgz", + "integrity": "sha512-pRmzw/XUcwXGpD9aI9q/0XOwLNygjETJ8y0ao0wdqprrzDa4YnxLcz7fQRZr8voh8V10kGhABbNcHVk5wHgWwg==", + "requires": { + "braces": "^3.0.1", + "picomatch": "^2.2.3" + } + }, + "picomatch": { + "version": "2.2.3", + "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.2.3.tgz", + "integrity": "sha512-KpELjfwcCDUb9PeigTs2mBJzXUPzAuP2oPcA989He8Rte0+YUAjw1JVedDhuTKPkHjSYzMN3npC9luThGYEKdg==" + }, + "to-regex-range": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", + "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", + "requires": { + "is-number": "^7.0.0" + } + } + } + }, + "cspell-io": { + "version": "5.4.0", + "resolved": "https://registry.npmjs.org/cspell-io/-/cspell-io-5.4.0.tgz", + "integrity": "sha512-VIPb/TmTNK/dG5nrbGhuhvWZQYAFXpYQQJ4hmlmuczhhQ2Qw1YSkRgoEB4Ir0neoRJTeEM2x5tgvSJCOwflSuA==", + "requires": { + "iconv-lite": "^0.6.2", + "iterable-to-stream": "^1.0.1" + }, + "dependencies": { + "iconv-lite": { + "version": "0.6.2", + "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.6.2.tgz", + "integrity": "sha512-2y91h5OpQlolefMPmUlivelittSWy0rP+oYVpn6A7GwVHNE8AWzoYOBNmlwks3LobaJxgHCYZAnyNo2GgpNRNQ==", + "requires": { + "safer-buffer": ">= 2.1.2 < 3.0.0" + } + } + } + }, + "cspell-lib": { + "version": "5.4.0", + "resolved": "https://registry.npmjs.org/cspell-lib/-/cspell-lib-5.4.0.tgz", + "integrity": "sha512-ja1zvRF+pNi+hioWYZUGpWGXPFfhDujd+qbAoQ08It4xMTVER8cDYQpSo2ll4DPJ2YphPW//2Br6TBvQ5xO50Q==", + "requires": { + "@cspell/cspell-bundled-dicts": "^5.4.0", + "@cspell/cspell-types": "^5.4.0", + "comment-json": "^4.1.0", + "configstore": "^5.0.1", + "cosmiconfig": "^7.0.0", + "cspell-glob": "^5.4.0", + "cspell-io": "^5.4.0", + "cspell-trie-lib": "^5.4.0", + "fs-extra": "^9.1.0", + "gensequence": "^3.1.1", + "resolve-from": "^5.0.0", + "resolve-global": "^1.0.0", + "vscode-uri": "^3.0.2" + }, + "dependencies": { + "fs-extra": { + "version": "9.1.0", + "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-9.1.0.tgz", + "integrity": "sha512-hcg3ZmepS30/7BSFqRvoo3DOMQu7IjqxO5nCDt+zM9XWjb33Wg7ziNT+Qvqbuc3+gWpzO02JubVyk2G4Zvo1OQ==", + "requires": { + "at-least-node": "^1.0.0", + "graceful-fs": "^4.2.0", + "jsonfile": "^6.0.1", + "universalify": "^2.0.0" + } + }, + "universalify": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.0.tgz", + "integrity": "sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ==" + } + } + }, + "cspell-trie-lib": { + "version": "5.4.0", + "resolved": "https://registry.npmjs.org/cspell-trie-lib/-/cspell-trie-lib-5.4.0.tgz", + "integrity": "sha512-IpDFdOoUEdiyzDGEUCIAoAUenIMy0FjOKotmsl9GTbOyq0XPHE6s7Yz5s9pFzX9IHxvsJ7Plhvn627k7QAC6DQ==", + "requires": { + "fs-extra": "^9.1.0", + "gensequence": "^3.1.1" + }, + "dependencies": { + "fs-extra": { + "version": "9.1.0", + "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-9.1.0.tgz", + "integrity": "sha512-hcg3ZmepS30/7BSFqRvoo3DOMQu7IjqxO5nCDt+zM9XWjb33Wg7ziNT+Qvqbuc3+gWpzO02JubVyk2G4Zvo1OQ==", + "requires": { + "at-least-node": "^1.0.0", + "graceful-fs": "^4.2.0", + "jsonfile": "^6.0.1", + "universalify": "^2.0.0" + } + }, + "universalify": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.0.tgz", + "integrity": "sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ==" + } + } }, "css-select": { "version": "4.1.2", @@ -7085,7 +7493,6 @@ "version": "5.3.0", "resolved": "https://registry.npmjs.org/dot-prop/-/dot-prop-5.3.0.tgz", "integrity": "sha512-QM8q3zDe58hqUqjraQOmzZ1LIH9SWQJTlEKCH4kJ2oQvLZk7RbQXvtDM2XEq3fwkV9CCvvH4LA0AV+ogFsBM2Q==", - "dev": true, "requires": { "is-obj": "^2.0.0" } @@ -7395,7 +7802,6 @@ "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" } @@ -8752,8 +9158,7 @@ "fs.realpath": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", - "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=", - "dev": true + "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=" }, "fsevents": { "version": "2.1.3", @@ -8832,6 +9237,17 @@ } } }, + "genfun": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/genfun/-/genfun-5.0.0.tgz", + "integrity": "sha512-KGDOARWVga7+rnB3z9Sd2Letx515owfk0hSxHGuqjANb1M+x2bGZGqHLiozPsYMdM2OubeMni/Hpwmjq6qIUhA==", + "dev": true + }, + "gensequence": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/gensequence/-/gensequence-3.1.1.tgz", + "integrity": "sha512-ys3h0hiteRwmY6BsvSttPmkhC0vEQHPJduANBRtH/dlDPZ0UBIb/dXy80IcckXyuQ6LKg+PloRqvGER9IS7F7g==" + }, "get-caller-file": { "version": "2.0.5", "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz", @@ -9080,8 +9496,7 @@ "get-stdin": { "version": "8.0.0", "resolved": "https://registry.npmjs.org/get-stdin/-/get-stdin-8.0.0.tgz", - "integrity": "sha512-sY22aA6xchAzprjyqmSEQv4UbAAzRN0L2dQB0NlN5acTTK9Don6nhoc3eAbUnpZiCANAMfd/+40kVdKfFygohg==", - "dev": true + "integrity": "sha512-sY22aA6xchAzprjyqmSEQv4UbAAzRN0L2dQB0NlN5acTTK9Don6nhoc3eAbUnpZiCANAMfd/+40kVdKfFygohg==" }, "get-stream": { "version": "4.1.0", @@ -9448,8 +9863,12 @@ "has-flag": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", - "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", - "dev": true + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==" + }, + "has-own-prop": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/has-own-prop/-/has-own-prop-2.0.0.tgz", + "integrity": "sha512-Pq0h+hvsVm6dDEa8x82GnLSYHOzNDt7f0ddFa3FqcQlgzEiptPqL+XrOJNavjOzSYiYWIrgeVYYgGlLmnxwilQ==" }, "has-symbols": { "version": "1.0.1", @@ -9818,7 +10237,6 @@ "version": "3.2.2", "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.2.2.tgz", "integrity": "sha512-cTPNrlvJT6twpYy+YmKUKrTSjWFs3bjYjAhCwm+z4EOCubZxAuO+hHpRN64TqjEaYSHs7tJAE0w1CKMGmsG/lw==", - "dev": true, "requires": { "parent-module": "^1.0.0", "resolve-from": "^4.0.0" @@ -9827,8 +10245,7 @@ "resolve-from": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz", - "integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==", - "dev": true + "integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==" } } }, @@ -9918,7 +10335,6 @@ "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" @@ -9927,8 +10343,7 @@ "inherits": { "version": "2.0.4", "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", - "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==", - "dev": true + "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==" }, "ini": { "version": "1.3.8", @@ -10132,8 +10547,7 @@ "is-arrayish": { "version": "0.2.1", "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz", - "integrity": "sha1-d8mYQFJ6qOyxqLppe4BkWnqSap0=", - "dev": true + "integrity": "sha1-d8mYQFJ6qOyxqLppe4BkWnqSap0=" }, "is-bigint": { "version": "1.0.0", @@ -10357,8 +10771,7 @@ "is-obj": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/is-obj/-/is-obj-2.0.0.tgz", - "integrity": "sha512-drqDG3cbczxxEJRoOXcOjtdp1J/lyp1mNn0xaznRs8+muBhgQcrnbspox5X5fOw0HnMnbfDzvnEMEtqDEJEo8w==", - "dev": true + "integrity": "sha512-drqDG3cbczxxEJRoOXcOjtdp1J/lyp1mNn0xaznRs8+muBhgQcrnbspox5X5fOw0HnMnbfDzvnEMEtqDEJEo8w==" }, "is-path-cwd": { "version": "2.2.0", @@ -10475,8 +10888,7 @@ "is-typedarray": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/is-typedarray/-/is-typedarray-1.0.0.tgz", - "integrity": "sha1-5HnICFjfDBsR3dppQPlgEfzaSpo=", - "dev": true + "integrity": "sha1-5HnICFjfDBsR3dppQPlgEfzaSpo=" }, "is-utf8": { "version": "0.2.1", @@ -10735,6 +11147,11 @@ "html-escaper": "^2.0.0" } }, + "iterable-to-stream": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/iterable-to-stream/-/iterable-to-stream-1.0.1.tgz", + "integrity": "sha512-O62gD5ADMUGtJoOoM9U6LQ7i4byPXUNoHJ6mqsmkQJcom331ZJGDApWgDESWyBMEHEJRjtHozgIiTzYo9RU4UA==" + }, "jackspeak": { "version": "1.4.0", "resolved": "https://registry.npmjs.org/jackspeak/-/jackspeak-1.4.0.tgz", @@ -10855,8 +11272,7 @@ "js-tokens": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", - "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==", - "dev": true + "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==" }, "js-yaml": { "version": "3.14.0", @@ -10899,8 +11315,7 @@ "json-parse-even-better-errors": { "version": "2.3.1", "resolved": "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz", - "integrity": "sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==", - "dev": true + "integrity": "sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==" }, "json-schema": { "version": "0.2.3", @@ -10939,7 +11354,6 @@ "version": "6.1.0", "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.1.0.tgz", "integrity": "sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==", - "dev": true, "requires": { "graceful-fs": "^4.1.6", "universalify": "^2.0.0" @@ -10948,8 +11362,7 @@ "universalify": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.0.tgz", - "integrity": "sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ==", - "dev": true + "integrity": "sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ==" } } }, @@ -11350,8 +11763,7 @@ "lines-and-columns": { "version": "1.1.6", "resolved": "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.1.6.tgz", - "integrity": "sha1-HADHQ7QzzQpOgHWPe2SldEDZ/wA=", - "dev": true + "integrity": "sha1-HADHQ7QzzQpOgHWPe2SldEDZ/wA=" }, "lint-staged": { "version": "10.2.2", @@ -11974,7 +12386,6 @@ "version": "3.1.0", "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-3.1.0.tgz", "integrity": "sha512-g3FeP20LNwhALb/6Cz6Dd4F2ngze0jz7tbzrD2wAV+o9FeNHe4rL+yK2md0J/fiSf1sa1ADhXqi5+oVwOM/eGw==", - "dev": true, "requires": { "semver": "^6.0.0" }, @@ -11982,8 +12393,7 @@ "semver": { "version": "6.3.0", "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", - "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", - "dev": true + "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==" } } }, @@ -12283,7 +12693,6 @@ "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" } @@ -14120,7 +14529,6 @@ "version": "1.0.1", "resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz", "integrity": "sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==", - "dev": true, "requires": { "callsites": "^3.0.0" } @@ -14148,7 +14556,6 @@ "version": "5.1.0", "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-5.1.0.tgz", "integrity": "sha512-+mi/lmVVNKFNVyLXV31ERiy2CY5E1/F6QtJFEzoChPRwwngMNXRDQ9GJ5WdE2Z2P4AujsOi0/+2qHID68KwfIQ==", - "dev": true, "requires": { "@babel/code-frame": "^7.0.0", "error-ex": "^1.3.1", @@ -14277,8 +14684,7 @@ "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 + "integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18=" }, "path-is-inside": { "version": "1.0.2", @@ -14305,8 +14711,7 @@ "path-type": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/path-type/-/path-type-4.0.0.tgz", - "integrity": "sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==", - "dev": true + "integrity": "sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==" }, "pbkdf2": { "version": "3.1.1", @@ -14957,8 +15362,7 @@ "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 + "integrity": "sha1-jcrkcOHIirwtYA//Sndihtp15jc=" }, "repeating": { "version": "2.0.1", @@ -15074,14 +15478,12 @@ "resolve-from": { "version": "5.0.0", "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-5.0.0.tgz", - "integrity": "sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw==", - "dev": true + "integrity": "sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw==" }, "resolve-global": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/resolve-global/-/resolve-global-1.0.0.tgz", "integrity": "sha512-zFa12V4OLtT5XUX/Q4VLvTfBf+Ok0SPc1FNGM/z9ctUdiU618qwKpWnd0CHs3+RqROfyEg/DhuHbMWYqcgljEw==", - "dev": true, "requires": { "global-dirs": "^0.1.1" } @@ -15215,8 +15617,7 @@ "safer-buffer": { "version": "2.1.2", "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", - "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==", - "dev": true + "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==" }, "schema-utils": { "version": "2.7.1", @@ -16337,7 +16738,6 @@ "version": "6.0.0", "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.0.tgz", "integrity": "sha512-AuvKTrTfQNYNIctbR1K/YGTR1756GycPsg7b9bdV9Duqur4gv6aKqHXah67Z8ImS7WEz5QVcOtlfW2rZEugt6w==", - "dev": true, "requires": { "ansi-regex": "^5.0.0" } @@ -16418,7 +16818,6 @@ "version": "7.2.0", "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", - "dev": true, "requires": { "has-flag": "^4.0.0" } @@ -18460,7 +18859,6 @@ "version": "3.1.5", "resolved": "https://registry.npmjs.org/typedarray-to-buffer/-/typedarray-to-buffer-3.1.5.tgz", "integrity": "sha512-zdu8XMNEDepKKR+XYOXAVPtWui0ly0NtohUscw+UmaHiAWT8hrV1rr//H6V+0DvJ3OQ19S979M0laLfX8rm82Q==", - "dev": true, "requires": { "is-typedarray": "^1.0.0" } @@ -18619,7 +19017,6 @@ "version": "2.0.0", "resolved": "https://registry.npmjs.org/unique-string/-/unique-string-2.0.0.tgz", "integrity": "sha512-uNaeirEPvpZWSgzwsPGtU2zVSTrn/8L5q/IexZmH0eH6SA73CmAA5U4GwORTxQAZs95TAXLNqeLoPPNO5gZfWg==", - "dev": true, "requires": { "crypto-random-string": "^2.0.0" } @@ -18875,6 +19272,11 @@ "integrity": "sha1-wGavtYK7HLQSjWDqkjkulNXp2+w=", "dev": true }, + "vscode-uri": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/vscode-uri/-/vscode-uri-3.0.2.tgz", + "integrity": "sha512-jkjy6pjU1fxUvI51P+gCsxg1u2n8LSt0W6KrCNQceaziKzff74GoWmjVG46KieVzybO1sttPQmYfrwSHey7GUA==" + }, "watchpack": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/watchpack/-/watchpack-2.1.1.tgz", @@ -19632,8 +20034,7 @@ "xdg-basedir": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/xdg-basedir/-/xdg-basedir-4.0.0.tgz", - "integrity": "sha512-PSNhEJDejZYV7h50BohL09Er9VaIefr2LMAf3OEmpCkjOi34eYyQYAXUTjEQtZJTKcF0E2UKTh+osDLsgNim9Q==", - "dev": true + "integrity": "sha512-PSNhEJDejZYV7h50BohL09Er9VaIefr2LMAf3OEmpCkjOi34eYyQYAXUTjEQtZJTKcF0E2UKTh+osDLsgNim9Q==" }, "xmlhttprequest-ssl": { "version": "1.5.5", @@ -19661,8 +20062,7 @@ "yaml": { "version": "1.10.0", "resolved": "https://registry.npmjs.org/yaml/-/yaml-1.10.0.tgz", - "integrity": "sha512-yr2icI4glYaNG+KWONODapy2/jDdMSDnrONSjblABjD9B4Z5LgiircSt8m8sRZFNi08kG9Sm0uSHtEmP3zaEGg==", - "dev": true + "integrity": "sha512-yr2icI4glYaNG+KWONODapy2/jDdMSDnrONSjblABjD9B4Z5LgiircSt8m8sRZFNi08kG9Sm0uSHtEmP3zaEGg==" }, "yapool": { "version": "1.0.0", diff --git a/package.json b/package.json index d3e8744b46..da441ff400 100644 --- a/package.json +++ b/package.json @@ -12,7 +12,7 @@ "start:example-supply-chain": "cd ./examples/supply-chain-app/ && npm i --no-package-lock && npm run start", "start:example-carbon-accounting": "CONFIG_FILE=examples/cactus-example-carbon-accounting-backend/example-config.json node examples/cactus-example-carbon-accounting-backend/dist/lib/main/typescript/carbon-accounting-app-cli.js", "clean": "del-cli \"./packages/cactus-*/{dist,.nyc_output,src/main/typescript/generated/openapi/typescript-axios/*}\"", - "lint": "eslint '*/*/src/**/*.{js,ts}' --quiet --fix", + "lint": "eslint '*/*/src/**/*.{js,ts}' --quiet --fix && cspell \"*/*/src/**/*.{js,ts}\"", "tsc": "lerna run tsc", "watch": "lerna run --parallel watch", "build": "npm-run-all build:dev build:prod", @@ -115,10 +115,14 @@ } }, "lint-staged": { - "*/*/src/**/*.{js,ts}": "eslint --fix" + "*/*/src/**/*.{js,ts}": [ + "eslint --fix", + "cspell" + ] }, "dependencies": { "@types/ssh2": "0.5.46", - "artillery": "1.7.2" + "artillery": "1.7.2", + "cspell": "5.4.0" } } diff --git a/packages/cactus-api-client/README.md b/packages/cactus-api-client/README.md index 2d09d90c9c..21a081af67 100644 --- a/packages/cactus-api-client/README.md +++ b/packages/cactus-api-client/README.md @@ -133,7 +133,7 @@ Builds the default Consortium provider that can be used by this object to retrie The DefaultConsortiumProvider class leverages the simplest consortium plugin that we have at the time of this writing: @hyperledger/cactus-plugin-consortium-manual which holds the consortium metadata as pre-configured by the consortium operators. -The pattern we use in the ApiClient class is that you can inject your own `IAsyncProvider` implementation which then will be used for routing information and in theory you can implement completely arbitrary consortium management in your own consortium plugins which then Cactus can use and leverage for the routing. This allows us to support any exotic consortium management algorithms that people may come up with such as storing the consortium definiton in a multi-sig smart contract or have the list of consortium nodes be powered by some sort of automatic service discovery or anything else that people might think of. +The pattern we use in the ApiClient class is that you can inject your own `IAsyncProvider` implementation which then will be used for routing information and in theory you can implement completely arbitrary consortium management in your own consortium plugins which then Cactus can use and leverage for the routing. This allows us to support any exotic consortium management algorithms that people may come up with such as storing the consortium definition in a multi-sig smart contract or have the list of consortium nodes be powered by some sort of automatic service discovery or anything else that people might think of. ### `ApiClient` diff --git a/packages/cactus-api-client/src/main/typescript/api-client.ts b/packages/cactus-api-client/src/main/typescript/api-client.ts index af229831f7..e9ddb1d240 100644 --- a/packages/cactus-api-client/src/main/typescript/api-client.ts +++ b/packages/cactus-api-client/src/main/typescript/api-client.ts @@ -16,7 +16,7 @@ import { Configuration, BaseAPI } from "@hyperledger/cactus-core-api"; * all can ship with their own `DefaultApi` class that is generated directly * from the respective OpenAPI spec of the package/plugin. * - * The functionality provided by this class is meant to be common traints that + * The functionality provided by this class is meant to be common traits that * can be useful for all of those different `DefaultApi` implementations. * * One such common trait is the client side component of the routing that @@ -66,7 +66,7 @@ export class ApiClient extends BaseAPI { * consortium management in your own consortium plugins which then Cactus * can use and leverage for the routing. * This allows us to support any exotic consortium management algorithms - * that people may come up with such as storing the consortium definiton in + * that people may come up with such as storing the consortium definition in * a multi-sig smart contract or have the list of consortium nodes be powered * by some sort of automatic service discovery or anything else that people * might think of. diff --git a/packages/cactus-cmd-api-server/src/main/typescript/authzn/authorizer-factory.ts b/packages/cactus-cmd-api-server/src/main/typescript/authzn/authorizer-factory.ts index 0c9ad6fa0e..e9e98d04eb 100644 --- a/packages/cactus-cmd-api-server/src/main/typescript/authzn/authorizer-factory.ts +++ b/packages/cactus-cmd-api-server/src/main/typescript/authzn/authorizer-factory.ts @@ -83,7 +83,7 @@ export class AuthorizerFactory { } const options: expressJwt.Options = { - audience: "org.hyperledger.cactus", // default that can be overriden + audience: "org.hyperledger.cactus", // default that can be overridden ...middlewareOptions, }; const unprotectedEndpoints = this.unprotectedEndpoints.map((e) => { diff --git a/packages/cactus-cmd-api-server/src/test/typescript/benchmark/artillery-api-benchmark.test.ts b/packages/cactus-cmd-api-server/src/test/typescript/benchmark/artillery-api-benchmark.test.ts index 4706da99f5..be2eaccb68 100644 --- a/packages/cactus-cmd-api-server/src/test/typescript/benchmark/artillery-api-benchmark.test.ts +++ b/packages/cactus-cmd-api-server/src/test/typescript/benchmark/artillery-api-benchmark.test.ts @@ -145,7 +145,7 @@ async function fireArtilleryCommand(t: Test) { const artilleryCommand = `artillery run ${artilleryScriptLocation} --output report.json`; await shell_exec(artilleryCommand); } catch (err) { - log.error(`Failed to run artilerry execution.`, err); + log.error(`Failed to run artillery execution.`, err); t.fail(`Test failed. Err: ${err}`); } } diff --git a/packages/cactus-cmd-api-server/src/test/typescript/integration/jwt-endpoint-authorization.test.ts b/packages/cactus-cmd-api-server/src/test/typescript/integration/jwt-endpoint-authorization.test.ts index 54e90c1280..03e6566a29 100644 --- a/packages/cactus-cmd-api-server/src/test/typescript/integration/jwt-endpoint-authorization.test.ts +++ b/packages/cactus-cmd-api-server/src/test/typescript/integration/jwt-endpoint-authorization.test.ts @@ -46,7 +46,7 @@ test(testCase, async (t: Test) => { }; t.ok(middlewareOptions, "Express JWT config truthy OK"); - const jwtPayload = { name: "Peter", location: "Albertirsa" }; + const jwtPayload = { name: "Peter", location: "London" }; const jwtSignOptions: JWT.SignOptions = { algorithm: "RS256", issuer: middlewareOptions.issuer, diff --git a/packages/cactus-cmd-api-server/src/test/typescript/integration/jwt-endpoint-authz-scope-enforcement.test.ts b/packages/cactus-cmd-api-server/src/test/typescript/integration/jwt-endpoint-authz-scope-enforcement.test.ts index 573206310e..fd682996e9 100644 --- a/packages/cactus-cmd-api-server/src/test/typescript/integration/jwt-endpoint-authz-scope-enforcement.test.ts +++ b/packages/cactus-cmd-api-server/src/test/typescript/integration/jwt-endpoint-authz-scope-enforcement.test.ts @@ -90,7 +90,7 @@ test(testCase, async (t: Test) => { const jwtPayload = { name: "Peter", - location: "Albertirsa", + location: "London", scope: [...RunTransactionEndpoint.OAUTH2_SCOPES], }; const jwtSignOptions: JWT.SignOptions = { diff --git a/packages/cactus-cmd-api-server/src/test/typescript/unit/config/self-signed-certificate-generator/certificates-work-for-mutual-tls-test.ts b/packages/cactus-cmd-api-server/src/test/typescript/unit/config/self-signed-certificate-generator/certificates-work-for-mutual-tls-test.ts index 039e5221a1..67b89ae481 100644 --- a/packages/cactus-cmd-api-server/src/test/typescript/unit/config/self-signed-certificate-generator/certificates-work-for-mutual-tls-test.ts +++ b/packages/cactus-cmd-api-server/src/test/typescript/unit/config/self-signed-certificate-generator/certificates-work-for-mutual-tls-test.ts @@ -104,7 +104,7 @@ tap.test("works with HTTPS NodeJS module", async (assert: any) => { // IMPORTANT: // Without this self signed certs are rejected because they are not part of a chain with a trusted root CA // By declaring our certificate here we tell the HTTPS client to assume that our certificate is a trusted one. - // This is fine for a test case because we don't want thid party dependencies on test execution. + // This is fine for a test case because we don't want party dependencies on test execution. ca: [serverCert.certificatePem], rejectUnauthorized: true, diff --git a/packages/cactus-cmd-api-server/src/test/typescript/unit/config/self-signed-certificate-generator/generates-working-certificates-test.ts b/packages/cactus-cmd-api-server/src/test/typescript/unit/config/self-signed-certificate-generator/generates-working-certificates-test.ts index 2024541878..24eca432bc 100644 --- a/packages/cactus-cmd-api-server/src/test/typescript/unit/config/self-signed-certificate-generator/generates-working-certificates-test.ts +++ b/packages/cactus-cmd-api-server/src/test/typescript/unit/config/self-signed-certificate-generator/generates-working-certificates-test.ts @@ -65,7 +65,7 @@ tap.test("works with HTTPS NodeJS module", async (assert: any) => { // IMPORTANT: // Without this self signed certs are rejected because they are not part of a chain with a trusted root CA // By declaring our certificate here we tell the HTTPS client to assume that our certificate is a trusted one. - // This is fine for a test case because we don't want thid party dependencies on test execution. + // This is fine for a test case because we don't want this party dependencies on test execution. ca: serverCertData.certificatePem, }; diff --git a/packages/cactus-common/src/test/typescript/unit/key-converter.test.ts b/packages/cactus-common/src/test/typescript/unit/key-converter.test.ts index 7072f41c97..ed725939e1 100644 --- a/packages/cactus-common/src/test/typescript/unit/key-converter.test.ts +++ b/packages/cactus-common/src/test/typescript/unit/key-converter.test.ts @@ -81,14 +81,14 @@ test.skip("Test Public Hex key conversion", async (assert: Test) => { "Public Hex => Raw conversion successful", ); - const convertHexublic = keyConverter.publicKeyAs( + const convertHexPublic = keyConverter.publicKeyAs( hexPublic, KeyFormat.Hex, KeyFormat.Hex, ); assert.deepEquals( hexPublic, - convertHexublic, + convertHexPublic, "Public Hex => Hex conversion successful", ); @@ -294,7 +294,7 @@ test.skip("Test Private PEM key conversion", async (assert: Test) => { assert.end(); }); -test.skip("Test invalide from key format", async (t: Test) => { +test.skip("Test invalid from key format", async (t: Test) => { const keyConverter = new KeyConverter(); const keyPair = Secp256k1Keys.generateKeyPairsBuffer(); diff --git a/packages/cactus-common/src/test/typescript/unit/logging/logger.test.ts b/packages/cactus-common/src/test/typescript/unit/logging/logger.test.ts index ebddd3709f..dff42440a2 100644 --- a/packages/cactus-common/src/test/typescript/unit/logging/logger.test.ts +++ b/packages/cactus-common/src/test/typescript/unit/logging/logger.test.ts @@ -2,7 +2,7 @@ import test, { Test } from "tape"; import { v4 as uuidv4 } from "uuid"; import { LoggerProvider } from "../../../../main/typescript/public-api"; -// FIXME(2020-11-12) this does not work becauase for some reason the stdout +// FIXME(2020-11-12) this does not work because for some reason the stdout // stream does not emit 'data' events with anything even though it should. // Suspecting that the test runner library does some internal magic with // piping the stream somewhere else or similar foul play at hand. diff --git a/packages/cactus-common/src/test/typescript/unit/servers.test.ts b/packages/cactus-common/src/test/typescript/unit/servers.test.ts index 693d3d899e..01cab0a650 100644 --- a/packages/cactus-common/src/test/typescript/unit/servers.test.ts +++ b/packages/cactus-common/src/test/typescript/unit/servers.test.ts @@ -60,7 +60,7 @@ test("Servers", async (tParent: Test) => { t.doesNotEqual( addressInfo.port, prefPort, - "Peferred and actually allocated ports are different, therefore fallback is considered successful OK", + "Preferred and actually allocated ports are different, therefore fallback is considered successful OK", ); }, "Servers.startOnPreferredPort falls back without throwing OK"); diff --git a/packages/cactus-core-api/src/main/json/openapi.json b/packages/cactus-core-api/src/main/json/openapi.json index 5b27821f9e..78508d645c 100644 --- a/packages/cactus-core-api/src/main/json/openapi.json +++ b/packages/cactus-core-api/src/main/json/openapi.json @@ -2,7 +2,7 @@ "openapi": "3.0.3", "info": { "title": "Hyperledger Core API", - "description": "Contains/describes the core API types for Cactus. Does not describe actual endpoints on its own as this is left to the implementing plugins who can import and re-use commonLy needed type definitions from this specification. One example of said commonly used type definitons would be the types related to consortium management, cactus nodes, ledgers, etc..", + "description": "Contains/describes the core API types for Cactus. Does not describe actual endpoints on its own as this is left to the implementing plugins who can import and re-use commonly needed type definitions from this specification. One example of said commonly used type definitions would be the types related to consortium management, cactus nodes, ledgers, etc..", "version": "0.2.0", "license": { "name": "Apache 2.0", @@ -70,7 +70,7 @@ }, "ConsensusAlgorithmFamily": { "type": "string", - "description": "Enumerates a list of consensus algorithm families in existence. Does not intend to be an exhaustive list, just a practical one, meaning that we only include items here that are relevant to Hyperledger Cactus in fulfilling its own duties. This can be extended later as more sophisticated features of Cactus get implemented. This enum is meant to be first and foremest a useful abstraction for achieving practical tasks, not an encyclopedia and therefore we ask of everyone that this to be extended only in ways that serve a practical purpose for the runtime behavior of Cactus or Cactus plugins in general. The bottom line is that we can accept this enum being not 100% accurate as long as it 100% satisfies what it was designed to do.", + "description": "Enumerates a list of consensus algorithm families in existence. Does not intend to be an exhaustive list, just a practical one, meaning that we only include items here that are relevant to Hyperledger Cactus in fulfilling its own duties. This can be extended later as more sophisticated features of Cactus get implemented. This enum is meant to be first and foremost a useful abstraction for achieving practical tasks, not an encyclopedia and therefore we ask of everyone that this to be extended only in ways that serve a practical purpose for the runtime behavior of Cactus or Cactus plugins in general. The bottom line is that we can accept this enum being not 100% accurate as long as it 100% satisfies what it was designed to do.", "enum": [ "org.hyperledger.cactus.consensusalgorithm.PROOF_OF_AUTHORITY", "org.hyperledger.cactus.consensusalgorithm.PROOF_OF_STAKE", @@ -140,7 +140,7 @@ "maxItems": 2048 }, "ledger": { - "description": "The complete collection of all ledger entities inexistence within the consortium.", + "description": "The complete collection of all ledger entities in existence within the consortium.", "type": "array", "items": { "$ref": "#/components/schemas/Ledger" @@ -300,7 +300,7 @@ } }, "CactusNode": { - "description": "A Cactus node can be a single server, or a set of servers behind a loand balancer acting as one.", + "description": "A Cactus node can be a single server, or a set of servers behind a load balancer acting as one.", "type": "object", "allOf": [ { @@ -500,7 +500,7 @@ }, "requestBodies": { "keychain_get_entry_request_body": { - "description": "Requst body to obtain a keychain entry via its key", + "description": "Request body to obtain a keychain entry via its key", "required": true, "content": { "application/json": { @@ -511,7 +511,7 @@ } }, "keychain_set_entry_request_body": { - "description": "Requst body to write/update a keychain entry via its key", + "description": "Request body to write/update a keychain entry via its key", "required": true, "content": { "application/json": { diff --git a/packages/cactus-core-api/src/main/typescript/generated/openapi/typescript-axios/api.ts b/packages/cactus-core-api/src/main/typescript/generated/openapi/typescript-axios/api.ts index 07f86bcaaa..603d459f89 100644 --- a/packages/cactus-core-api/src/main/typescript/generated/openapi/typescript-axios/api.ts +++ b/packages/cactus-core-api/src/main/typescript/generated/openapi/typescript-axios/api.ts @@ -2,7 +2,7 @@ /* eslint-disable */ /** * Hyperledger Core API - * Contains/describes the core API types for Cactus. Does not describe actual endpoints on its own as this is left to the implementing plugins who can import and re-use commonLy needed type definitions from this specification. One example of said commonly used type definitons would be the types related to consortium management, cactus nodes, ledgers, etc.. + * Contains/describes the core API types for Cactus. Does not describe actual endpoints on its own as this is left to the implementing plugins who can import and re-use commonly needed type definitions from this specification. One example of said commonly used type definitions would be the types related to consortium management, cactus nodes, ledgers, etc.. * * The version of the OpenAPI document: 0.2.0 * @@ -20,7 +20,7 @@ import globalAxios, { AxiosPromise, AxiosInstance } from 'axios'; import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from './base'; /** - * A Cactus node can be a single server, or a set of servers behind a loand balancer acting as one. + * A Cactus node can be a single server, or a set of servers behind a load balancer acting as one. * @export * @interface CactusNode */ @@ -144,7 +144,7 @@ export enum ConsensusAlgorithmFamiliesWithTxFinality { } /** - * Enumerates a list of consensus algorithm families in existence. Does not intend to be an exhaustive list, just a practical one, meaning that we only include items here that are relevant to Hyperledger Cactus in fulfilling its own duties. This can be extended later as more sophisticated features of Cactus get implemented. This enum is meant to be first and foremest a useful abstraction for achieving practical tasks, not an encyclopedia and therefore we ask of everyone that this to be extended only in ways that serve a practical purpose for the runtime behavior of Cactus or Cactus plugins in general. The bottom line is that we can accept this enum being not 100% accurate as long as it 100% satisfies what it was designed to do. + * Enumerates a list of consensus algorithm families in existence. Does not intend to be an exhaustive list, just a practical one, meaning that we only include items here that are relevant to Hyperledger Cactus in fulfilling its own duties. This can be extended later as more sophisticated features of Cactus get implemented. This enum is meant to be first and foremost a useful abstraction for achieving practical tasks, not an encyclopedia and therefore we ask of everyone that this to be extended only in ways that serve a practical purpose for the runtime behavior of Cactus or Cactus plugins in general. The bottom line is that we can accept this enum being not 100% accurate as long as it 100% satisfies what it was designed to do. * @export * @enum {string} */ @@ -198,7 +198,7 @@ export interface ConsortiumDatabase { */ consortium: Array; /** - * The complete collection of all ledger entities inexistence within the consortium. + * The complete collection of all ledger entities in existence within the consortium. * @type {Array} * @memberof ConsortiumDatabase */ diff --git a/packages/cactus-core-api/src/main/typescript/generated/openapi/typescript-axios/base.ts b/packages/cactus-core-api/src/main/typescript/generated/openapi/typescript-axios/base.ts index 521319d79f..9046452f1f 100644 --- a/packages/cactus-core-api/src/main/typescript/generated/openapi/typescript-axios/base.ts +++ b/packages/cactus-core-api/src/main/typescript/generated/openapi/typescript-axios/base.ts @@ -2,7 +2,7 @@ /* eslint-disable */ /** * Hyperledger Core API - * Contains/describes the core API types for Cactus. Does not describe actual endpoints on its own as this is left to the implementing plugins who can import and re-use commonLy needed type definitions from this specification. One example of said commonly used type definitons would be the types related to consortium management, cactus nodes, ledgers, etc.. + * Contains/describes the core API types for Cactus. Does not describe actual endpoints on its own as this is left to the implementing plugins who can import and re-use commonly needed type definitions from this specification. One example of said commonly used type definitions would be the types related to consortium management, cactus nodes, ledgers, etc.. * * The version of the OpenAPI document: 0.2.0 * diff --git a/packages/cactus-core-api/src/main/typescript/generated/openapi/typescript-axios/configuration.ts b/packages/cactus-core-api/src/main/typescript/generated/openapi/typescript-axios/configuration.ts index 591e8fc239..4bed07b532 100644 --- a/packages/cactus-core-api/src/main/typescript/generated/openapi/typescript-axios/configuration.ts +++ b/packages/cactus-core-api/src/main/typescript/generated/openapi/typescript-axios/configuration.ts @@ -2,7 +2,7 @@ /* eslint-disable */ /** * Hyperledger Core API - * Contains/describes the core API types for Cactus. Does not describe actual endpoints on its own as this is left to the implementing plugins who can import and re-use commonLy needed type definitions from this specification. One example of said commonly used type definitons would be the types related to consortium management, cactus nodes, ledgers, etc.. + * Contains/describes the core API types for Cactus. Does not describe actual endpoints on its own as this is left to the implementing plugins who can import and re-use commonly needed type definitions from this specification. One example of said commonly used type definitions would be the types related to consortium management, cactus nodes, ledgers, etc.. * * The version of the OpenAPI document: 0.2.0 * diff --git a/packages/cactus-core-api/src/main/typescript/generated/openapi/typescript-axios/index.ts b/packages/cactus-core-api/src/main/typescript/generated/openapi/typescript-axios/index.ts index 0a20d800b1..29d252be45 100644 --- a/packages/cactus-core-api/src/main/typescript/generated/openapi/typescript-axios/index.ts +++ b/packages/cactus-core-api/src/main/typescript/generated/openapi/typescript-axios/index.ts @@ -2,7 +2,7 @@ /* eslint-disable */ /** * Hyperledger Core API - * Contains/describes the core API types for Cactus. Does not describe actual endpoints on its own as this is left to the implementing plugins who can import and re-use commonLy needed type definitions from this specification. One example of said commonly used type definitons would be the types related to consortium management, cactus nodes, ledgers, etc.. + * Contains/describes the core API types for Cactus. Does not describe actual endpoints on its own as this is left to the implementing plugins who can import and re-use commonly needed type definitions from this specification. One example of said commonly used type definitions would be the types related to consortium management, cactus nodes, ledgers, etc.. * * The version of the OpenAPI document: 0.2.0 * diff --git a/packages/cactus-core-api/src/main/typescript/i-plugin-factory-options.ts b/packages/cactus-core-api/src/main/typescript/i-plugin-factory-options.ts index 1fead219eb..cc6c61594c 100644 --- a/packages/cactus-core-api/src/main/typescript/i-plugin-factory-options.ts +++ b/packages/cactus-core-api/src/main/typescript/i-plugin-factory-options.ts @@ -22,7 +22,7 @@ export interface IPluginFactoryOptions { * to have language independent plugin implementations since by specifying * `REMOTE` when importing a plugin, you can provide a network host where a * plugin is deployed that was implemented in your preferred programming - * langugage rather than Typescript/Javascript for example.) + * language rather than Typescript/Javascript for example.) * * Important note: * When specifying `REMOTE` as the plugin import type, you still need to also diff --git a/packages/cactus-core-api/src/main/typescript/plugin/keychain/i-plugin-keychain.ts b/packages/cactus-core-api/src/main/typescript/plugin/keychain/i-plugin-keychain.ts index b43bd9b733..3342186c1c 100644 --- a/packages/cactus-core-api/src/main/typescript/plugin/keychain/i-plugin-keychain.ts +++ b/packages/cactus-core-api/src/main/typescript/plugin/keychain/i-plugin-keychain.ts @@ -8,7 +8,7 @@ export interface IPluginKeychain extends ICactusPlugin { /** * Returns the unique identifier of the keychain pointed to (or backed) by * this `IPluginKeychain` instance. - * This therefore does not uniqely identify the plugin instance itself, but + * This therefore does not uniquely identify the plugin instance itself, but * its backend instead. * Useful for being able to reference keychains by their IDs in deployment * scenarios when there are multiple keychain backends for different sets of diff --git a/packages/cactus-core-api/src/main/typescript/plugin/ledger-connector/i-plugin-ledger-connector.ts b/packages/cactus-core-api/src/main/typescript/plugin/ledger-connector/i-plugin-ledger-connector.ts index 7b479f0935..e9f072e124 100644 --- a/packages/cactus-core-api/src/main/typescript/plugin/ledger-connector/i-plugin-ledger-connector.ts +++ b/packages/cactus-core-api/src/main/typescript/plugin/ledger-connector/i-plugin-ledger-connector.ts @@ -19,7 +19,7 @@ export interface IPluginLedgerConnector< /** * Executes a transaction on the target ledger of the connector plugin. * @param options The options that is specific to the transaction and the - * type of ledger this connectir is targeted at. + * type of ledger this connection is targeted at. */ transact(options?: TransactIn): Promise; diff --git a/packages/cactus-core-api/src/main/typescript/plugin/web-service/i-web-service-endpoint.ts b/packages/cactus-core-api/src/main/typescript/plugin/web-service/i-web-service-endpoint.ts index df7dc760ee..d0c2924b15 100644 --- a/packages/cactus-core-api/src/main/typescript/plugin/web-service/i-web-service-endpoint.ts +++ b/packages/cactus-core-api/src/main/typescript/plugin/web-service/i-web-service-endpoint.ts @@ -16,7 +16,7 @@ export interface IWebServiceEndpoint { /** * Hooks up this endpoint instance into an ExpressJS web application object. * Internally this method uses the other methods of the `IWebServiceEndpoint` - * instnce to obtain the verb, path and handler which are the necessary + * instance to obtain the verb, path and handler which are the necessary * input for being able to create any HTTP request handler in ExpressJS. */ registerExpress(expressApp: Express): Promise; diff --git a/packages/cactus-core/src/main/typescript/consortium-repository.ts b/packages/cactus-core/src/main/typescript/consortium-repository.ts index 826ebeb40d..f5575259e1 100644 --- a/packages/cactus-core/src/main/typescript/consortium-repository.ts +++ b/packages/cactus-core/src/main/typescript/consortium-repository.ts @@ -16,7 +16,7 @@ export interface IConsortiumRepositoryOptions { * Class responsible for making it convenient for developers to query the * `ConsortiumDatabase` model type which is a flat data structure storing * all the different types of entities for Consortium representation such as - * `CactusNode`, `ConsortumMember`, `Ledger` etc.. + * `CactusNode`, `ConsortiumMember`, `Ledger` etc.. */ export class ConsortiumRepository { public static readonly CLASS_NAME = "ConsortiumRepository"; diff --git a/packages/cactus-plugin-consortium-manual/src/main/json/openapi.json b/packages/cactus-plugin-consortium-manual/src/main/json/openapi.json index 13003116e8..22eadc1e4c 100644 --- a/packages/cactus-plugin-consortium-manual/src/main/json/openapi.json +++ b/packages/cactus-plugin-consortium-manual/src/main/json/openapi.json @@ -2,7 +2,7 @@ "openapi": "3.0.3", "info": { "title": "Hyperledger Cactus Plugin - Consortium Web Service", - "description": "Manage a Cactus consortium through the APIs. Needs administrative priviliges.", + "description": "Manage a Cactus consortium through the APIs. Needs administrative privileges.", "version": "0.0.1", "license": { "name": "Apache 2.0", diff --git a/packages/cactus-plugin-consortium-manual/src/main/typescript/generated/openapi/typescript-axios/api.ts b/packages/cactus-plugin-consortium-manual/src/main/typescript/generated/openapi/typescript-axios/api.ts index 0b0a281387..9e759fdd70 100644 --- a/packages/cactus-plugin-consortium-manual/src/main/typescript/generated/openapi/typescript-axios/api.ts +++ b/packages/cactus-plugin-consortium-manual/src/main/typescript/generated/openapi/typescript-axios/api.ts @@ -2,7 +2,7 @@ /* eslint-disable */ /** * Hyperledger Cactus Plugin - Consortium Web Service - * Manage a Cactus consortium through the APIs. Needs administrative priviliges. + * Manage a Cactus consortium through the APIs. Needs administrative privileges. * * The version of the OpenAPI document: 0.0.1 * diff --git a/packages/cactus-plugin-consortium-manual/src/main/typescript/generated/openapi/typescript-axios/base.ts b/packages/cactus-plugin-consortium-manual/src/main/typescript/generated/openapi/typescript-axios/base.ts index 05585d9957..a4e481ed14 100644 --- a/packages/cactus-plugin-consortium-manual/src/main/typescript/generated/openapi/typescript-axios/base.ts +++ b/packages/cactus-plugin-consortium-manual/src/main/typescript/generated/openapi/typescript-axios/base.ts @@ -2,7 +2,7 @@ /* eslint-disable */ /** * Hyperledger Cactus Plugin - Consortium Web Service - * Manage a Cactus consortium through the APIs. Needs administrative priviliges. + * Manage a Cactus consortium through the APIs. Needs administrative privileges. * * The version of the OpenAPI document: 0.0.1 * diff --git a/packages/cactus-plugin-consortium-manual/src/main/typescript/generated/openapi/typescript-axios/configuration.ts b/packages/cactus-plugin-consortium-manual/src/main/typescript/generated/openapi/typescript-axios/configuration.ts index 974a15e42c..65e884579b 100644 --- a/packages/cactus-plugin-consortium-manual/src/main/typescript/generated/openapi/typescript-axios/configuration.ts +++ b/packages/cactus-plugin-consortium-manual/src/main/typescript/generated/openapi/typescript-axios/configuration.ts @@ -2,7 +2,7 @@ /* eslint-disable */ /** * Hyperledger Cactus Plugin - Consortium Web Service - * Manage a Cactus consortium through the APIs. Needs administrative priviliges. + * Manage a Cactus consortium through the APIs. Needs administrative privileges. * * The version of the OpenAPI document: 0.0.1 * diff --git a/packages/cactus-plugin-consortium-manual/src/main/typescript/generated/openapi/typescript-axios/index.ts b/packages/cactus-plugin-consortium-manual/src/main/typescript/generated/openapi/typescript-axios/index.ts index 558e9965b7..15276d7356 100644 --- a/packages/cactus-plugin-consortium-manual/src/main/typescript/generated/openapi/typescript-axios/index.ts +++ b/packages/cactus-plugin-consortium-manual/src/main/typescript/generated/openapi/typescript-axios/index.ts @@ -2,7 +2,7 @@ /* eslint-disable */ /** * Hyperledger Cactus Plugin - Consortium Web Service - * Manage a Cactus consortium through the APIs. Needs administrative priviliges. + * Manage a Cactus consortium through the APIs. Needs administrative privileges. * * The version of the OpenAPI document: 0.0.1 * diff --git a/packages/cactus-plugin-consortium-manual/src/main/typescript/plugin-consortium-manual.ts b/packages/cactus-plugin-consortium-manual/src/main/typescript/plugin-consortium-manual.ts index 11549abd60..f3a1c97777 100644 --- a/packages/cactus-plugin-consortium-manual/src/main/typescript/plugin-consortium-manual.ts +++ b/packages/cactus-plugin-consortium-manual/src/main/typescript/plugin-consortium-manual.ts @@ -116,10 +116,10 @@ export class PluginConsortiumManual * only affects **the metrics**. */ public updateMetricNodeCount(): void { - const constortiumDatabase: ConsortiumDatabase = this.options + const consortiumDatabase: ConsortiumDatabase = this.options .consortiumDatabase; const consortiumRepo: ConsortiumRepository = new ConsortiumRepository({ - db: constortiumDatabase, + db: consortiumDatabase, }); this.prometheusExporter.setNodeCount(consortiumRepo.allNodes.length); } diff --git a/packages/cactus-plugin-keychain-memory/src/main/json/openapi.json b/packages/cactus-plugin-keychain-memory/src/main/json/openapi.json index 9732fa4e78..f1fb5ec780 100644 --- a/packages/cactus-plugin-keychain-memory/src/main/json/openapi.json +++ b/packages/cactus-plugin-keychain-memory/src/main/json/openapi.json @@ -114,7 +114,7 @@ }, "requestBodies": { "keychain_get_entry_request_body": { - "description": "Requst body to obtain a keychain entry via its key", + "description": "Request body to obtain a keychain entry via its key", "required": true, "content": { "application/json": { @@ -125,7 +125,7 @@ } }, "keychain_set_entry_request_body": { - "description": "Requst body to write/update a keychain entry via its key", + "description": "Request body to write/update a keychain entry via its key", "required": true, "content": { "application/json": { diff --git a/packages/cactus-plugin-keychain-vault/src/main/typescript/generated/openapi/typescript-axios/api.ts b/packages/cactus-plugin-keychain-vault/src/main/typescript/generated/openapi/typescript-axios/api.ts index 12b90d4ef2..50eda228b6 100644 --- a/packages/cactus-plugin-keychain-vault/src/main/typescript/generated/openapi/typescript-axios/api.ts +++ b/packages/cactus-plugin-keychain-vault/src/main/typescript/generated/openapi/typescript-axios/api.ts @@ -93,7 +93,7 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati /** * * @summary Retrieves the contents of a keychain entry from the backend. - * @param {GetKeychainEntryRequest} getKeychainEntryRequest Requst body to obtain a keychain entry via its key + * @param {GetKeychainEntryRequest} getKeychainEntryRequest Request body to obtain a keychain entry via its key * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -174,7 +174,7 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati /** * * @summary Sets a value under a key on the keychain backend. - * @param {SetKeychainEntryRequest} setKeychainEntryRequest Requst body to write/update a keychain entry via its key + * @param {SetKeychainEntryRequest} setKeychainEntryRequest Request body to write/update a keychain entry via its key * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -228,7 +228,7 @@ export const DefaultApiFp = function(configuration?: Configuration) { /** * * @summary Retrieves the contents of a keychain entry from the backend. - * @param {GetKeychainEntryRequest} getKeychainEntryRequest Requst body to obtain a keychain entry via its key + * @param {GetKeychainEntryRequest} getKeychainEntryRequest Request body to obtain a keychain entry via its key * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -255,7 +255,7 @@ export const DefaultApiFp = function(configuration?: Configuration) { /** * * @summary Sets a value under a key on the keychain backend. - * @param {SetKeychainEntryRequest} setKeychainEntryRequest Requst body to write/update a keychain entry via its key + * @param {SetKeychainEntryRequest} setKeychainEntryRequest Request body to write/update a keychain entry via its key * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -278,7 +278,7 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa /** * * @summary Retrieves the contents of a keychain entry from the backend. - * @param {GetKeychainEntryRequest} getKeychainEntryRequest Requst body to obtain a keychain entry via its key + * @param {GetKeychainEntryRequest} getKeychainEntryRequest Request body to obtain a keychain entry via its key * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -297,7 +297,7 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa /** * * @summary Sets a value under a key on the keychain backend. - * @param {SetKeychainEntryRequest} setKeychainEntryRequest Requst body to write/update a keychain entry via its key + * @param {SetKeychainEntryRequest} setKeychainEntryRequest Request body to write/update a keychain entry via its key * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -317,7 +317,7 @@ export class DefaultApi extends BaseAPI { /** * * @summary Retrieves the contents of a keychain entry from the backend. - * @param {GetKeychainEntryRequest} getKeychainEntryRequest Requst body to obtain a keychain entry via its key + * @param {GetKeychainEntryRequest} getKeychainEntryRequest Request body to obtain a keychain entry via its key * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof DefaultApi @@ -340,7 +340,7 @@ export class DefaultApi extends BaseAPI { /** * * @summary Sets a value under a key on the keychain backend. - * @param {SetKeychainEntryRequest} setKeychainEntryRequest Requst body to write/update a keychain entry via its key + * @param {SetKeychainEntryRequest} setKeychainEntryRequest Request body to write/update a keychain entry via its key * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof DefaultApi diff --git a/packages/cactus-plugin-keychain-vault/src/main/typescript/plugin-keychain-vault.ts b/packages/cactus-plugin-keychain-vault/src/main/typescript/plugin-keychain-vault.ts index bb40a7990a..3ce31940e5 100644 --- a/packages/cactus-plugin-keychain-vault/src/main/typescript/plugin-keychain-vault.ts +++ b/packages/cactus-plugin-keychain-vault/src/main/typescript/plugin-keychain-vault.ts @@ -35,7 +35,7 @@ export interface IPluginKeychainVaultOptions extends ICactusPluginOptions { logLevel?: LogLevelDesc; keychainId: string; /** - * API version to use when talking to the backing Vault instnace through + * API version to use when talking to the backing Vault instance through * the NodeJS vault-node client. * Optional, defaults to `v1` */ diff --git a/packages/cactus-plugin-ledger-connector-besu/src/main/json/openapi.json b/packages/cactus-plugin-ledger-connector-besu/src/main/json/openapi.json index 53123c6c64..cc0a262a82 100644 --- a/packages/cactus-plugin-ledger-connector-besu/src/main/json/openapi.json +++ b/packages/cactus-plugin-ledger-connector-besu/src/main/json/openapi.json @@ -48,7 +48,7 @@ }, "timeoutMs": { "type": "integer", - "description": "The amount of milliseconds to wait for the receipt to arrive to the connector. Defaults to 0 which means to wait for an unlimited amount of time. Note that this wait may be interrupted still by other parts of the infrastructure such as load balancers cutting of HTTP requests after some time even if they are the type that is supposed to be kept alive. The question of re-entrancy is a broader topic not in scope to discuss here, but it is important to mention it.", + "description": "The amount of milliseconds to wait for the receipt to arrive to the connector. Defaults to 0 which means to wait for an unlimited amount of time. Note that this wait may be interrupted still by other parts of the infrastructure such as load balancers cutting of HTTP requests after some time even if they are the type that is supposed to be kept alive. The question of re-entrance is a broader topic not in scope to discuss here, but it is important to mention it.", "minimum": 0 }, "blockConfirmations": { @@ -712,7 +712,7 @@ } }, "operationId": "apiV1BesuInvokeContract", - "summary": "Invokeds a contract on a besu ledger", + "summary": "Invokes a contract on a besu ledger", "parameters": [], "requestBody": { "content": { diff --git a/packages/cactus-plugin-ledger-connector-besu/src/main/typescript/generated/openapi/typescript-axios/api.ts b/packages/cactus-plugin-ledger-connector-besu/src/main/typescript/generated/openapi/typescript-axios/api.ts index b36b4e163d..2741934d92 100644 --- a/packages/cactus-plugin-ledger-connector-besu/src/main/typescript/generated/openapi/typescript-axios/api.ts +++ b/packages/cactus-plugin-ledger-connector-besu/src/main/typescript/generated/openapi/typescript-axios/api.ts @@ -89,7 +89,7 @@ export interface ConsistencyStrategy { */ receiptType: ReceiptType; /** - * The amount of milliseconds to wait for the receipt to arrive to the connector. Defaults to 0 which means to wait for an unlimited amount of time. Note that this wait may be interrupted still by other parts of the infrastructure such as load balancers cutting of HTTP requests after some time even if they are the type that is supposed to be kept alive. The question of re-entrancy is a broader topic not in scope to discuss here, but it is important to mention it. + * The amount of milliseconds to wait for the receipt to arrive to the connector. Defaults to 0 which means to wait for an unlimited amount of time. Note that this wait may be interrupted still by other parts of the infrastructure such as load balancers cutting of HTTP requests after some time even if they are the type that is supposed to be kept alive. The question of re-entrance is a broader topic not in scope to discuss here, but it is important to mention it. * @type {number} * @memberof ConsistencyStrategy */ @@ -648,7 +648,7 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati }, /** * - * @summary Invokeds a contract on a besu ledger + * @summary Invokes a contract on a besu ledger * @param {InvokeContractV1Request} [invokeContractV1Request] * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -834,7 +834,7 @@ export const DefaultApiFp = function(configuration?: Configuration) { }, /** * - * @summary Invokeds a contract on a besu ledger + * @summary Invokes a contract on a besu ledger * @param {InvokeContractV1Request} [invokeContractV1Request] * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -908,7 +908,7 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa }, /** * - * @summary Invokeds a contract on a besu ledger + * @summary Invokes a contract on a besu ledger * @param {InvokeContractV1Request} [invokeContractV1Request] * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -969,7 +969,7 @@ export class DefaultApi extends BaseAPI { /** * - * @summary Invokeds a contract on a besu ledger + * @summary Invokes a contract on a besu ledger * @param {InvokeContractV1Request} [invokeContractV1Request] * @param {*} [options] Override http request option. * @throws {RequiredError} diff --git a/packages/cactus-plugin-ledger-connector-besu/src/test/typescript/integration/plugin-ledger-connector-besu/deploy-contract/deploy-contract-from-json.test.ts b/packages/cactus-plugin-ledger-connector-besu/src/test/typescript/integration/plugin-ledger-connector-besu/deploy-contract/deploy-contract-from-json.test.ts index 2fbe2485eb..52162645b9 100644 --- a/packages/cactus-plugin-ledger-connector-besu/src/test/typescript/integration/plugin-ledger-connector-besu/deploy-contract/deploy-contract-from-json.test.ts +++ b/packages/cactus-plugin-ledger-connector-besu/src/test/typescript/integration/plugin-ledger-connector-besu/deploy-contract/deploy-contract-from-json.test.ts @@ -34,7 +34,7 @@ const logLevel: LogLevelDesc = "TRACE"; test("BEFORE " + testCase, async (t: Test) => { const pruning = pruneDockerAllIfGithubAction({ logLevel }); - await t.doesNotReject(pruning, "Pruning didnt throw OK"); + await t.doesNotReject(pruning, "Pruning didn't throw OK"); t.end(); }); @@ -458,6 +458,6 @@ test(testCase, async (t: Test) => { test("AFTER " + testCase, async (t: Test) => { const pruning = pruneDockerAllIfGithubAction({ logLevel }); - await t.doesNotReject(pruning, "Pruning didnt throw OK"); + await t.doesNotReject(pruning, "Pruning didn't throw OK"); t.end(); }); diff --git a/packages/cactus-plugin-ledger-connector-corda/src/main/typescript/web-services/deploy-contract-jars-endpoint.ts b/packages/cactus-plugin-ledger-connector-corda/src/main/typescript/web-services/deploy-contract-jars-endpoint.ts index 91ed3c33d9..6f9ee35d1c 100644 --- a/packages/cactus-plugin-ledger-connector-corda/src/main/typescript/web-services/deploy-contract-jars-endpoint.ts +++ b/packages/cactus-plugin-ledger-connector-corda/src/main/typescript/web-services/deploy-contract-jars-endpoint.ts @@ -84,7 +84,7 @@ export class DeployContractJarsEndpoint implements IWebServiceEndpoint { } /** - * Returns the `operationId` that connects this endpoint to it's definiton in + * Returns the `operationId` that connects this endpoint to it's definition in * the openapi-spec.ts file. */ public get operationId(): string { diff --git a/packages/cactus-plugin-ledger-connector-corda/src/test/typescript/integration/jvm-kotlin-spring-server.test.ts b/packages/cactus-plugin-ledger-connector-corda/src/test/typescript/integration/jvm-kotlin-spring-server.test.ts index a5a64a25f0..5d3dd4f1dd 100644 --- a/packages/cactus-plugin-ledger-connector-corda/src/test/typescript/integration/jvm-kotlin-spring-server.test.ts +++ b/packages/cactus-plugin-ledger-connector-corda/src/test/typescript/integration/jvm-kotlin-spring-server.test.ts @@ -25,7 +25,7 @@ const logLevel: LogLevelDesc = "TRACE"; test("BEFORE " + testCase, async (t: Test) => { const pruning = pruneDockerAllIfGithubAction({ logLevel }); - await t.doesNotReject(pruning, "Pruning didnt throw OK"); + await t.doesNotReject(pruning, "Pruning didn't throw OK"); t.end(); }); @@ -397,6 +397,6 @@ test(testCase, async (t: Test) => { test("AFTER " + testCase, async (t: Test) => { const pruning = pruneDockerAllIfGithubAction({ logLevel }); - await t.doesNotReject(pruning, "Pruning didnt throw OK"); + await t.doesNotReject(pruning, "Pruning didn't throw OK"); t.end(); }); diff --git a/packages/cactus-plugin-ledger-connector-fabric/src/main/json/openapi.json b/packages/cactus-plugin-ledger-connector-fabric/src/main/json/openapi.json index 8d221e95b6..227131ae9c 100644 --- a/packages/cactus-plugin-ledger-connector-fabric/src/main/json/openapi.json +++ b/packages/cactus-plugin-ledger-connector-fabric/src/main/json/openapi.json @@ -500,7 +500,7 @@ }, "targetPeerAddresses": { "type": "array", - "description": "An array of peer addresses where the contract will be instantiated. Note that at present only the first item from this array will be used which is the behavior taken from the offical Fabric samples repository and therefore it is assumed to be correct usage.", + "description": "An array of peer addresses where the contract will be instantiated. Note that at present only the first item from this array will be used which is the behavior taken from the official Fabric samples repository and therefore it is assumed to be correct usage.", "example": [ "peer0.org1.example.com:7051" ], diff --git a/packages/cactus-plugin-ledger-connector-fabric/src/main/typescript/generated/openapi/typescript-axios/api.ts b/packages/cactus-plugin-ledger-connector-fabric/src/main/typescript/generated/openapi/typescript-axios/api.ts index fd75773a5e..dd5865531b 100644 --- a/packages/cactus-plugin-ledger-connector-fabric/src/main/typescript/generated/openapi/typescript-axios/api.ts +++ b/packages/cactus-plugin-ledger-connector-fabric/src/main/typescript/generated/openapi/typescript-axios/api.ts @@ -216,7 +216,7 @@ export interface DeployContractGoSourceV1Request { */ targetOrganizations: Array; /** - * An array of peer addresses where the contract will be instantiated. Note that at present only the first item from this array will be used which is the behavior taken from the offical Fabric samples repository and therefore it is assumed to be correct usage. + * An array of peer addresses where the contract will be instantiated. Note that at present only the first item from this array will be used which is the behavior taken from the official Fabric samples repository and therefore it is assumed to be correct usage. * @type {Array} * @memberof DeployContractGoSourceV1Request */ diff --git a/packages/cactus-plugin-ledger-connector-fabric/src/test/typescript/fixtures/go/basic-asset-transfer/chaincode-go/chaincode/smartcontract.go b/packages/cactus-plugin-ledger-connector-fabric/src/test/typescript/fixtures/go/basic-asset-transfer/chaincode-go/chaincode/smartcontract.go index 71e8dd8443..ff96f69eb3 100644 --- a/packages/cactus-plugin-ledger-connector-fabric/src/test/typescript/fixtures/go/basic-asset-transfer/chaincode-go/chaincode/smartcontract.go +++ b/packages/cactus-plugin-ledger-connector-fabric/src/test/typescript/fixtures/go/basic-asset-transfer/chaincode-go/chaincode/smartcontract.go @@ -24,7 +24,7 @@ type Asset struct { // InitLedger adds a base set of assets to the ledger func (s *SmartContract) InitLedger(ctx contractapi.TransactionContextInterface) error { assets := []Asset{ - {ID: "asset1", Color: "blue", Size: 5, Owner: "Tomoko", AppraisedValue: 300}, + {ID: "asset1", Color: "blue", Size: 5, Owner: "Tom", AppraisedValue: 300}, {ID: "asset2", Color: "red", Size: 5, Owner: "Brad", AppraisedValue: 400}, {ID: "asset3", Color: "green", Size: 10, Owner: "Jin Soo", AppraisedValue: 500}, {ID: "asset4", Color: "yellow", Size: 10, Owner: "Max", AppraisedValue: 600}, diff --git a/packages/cactus-plugin-ledger-connector-fabric/src/test/typescript/fixtures/go/basic-asset-transfer/chaincode-javascript/lib/assetTransfer.js b/packages/cactus-plugin-ledger-connector-fabric/src/test/typescript/fixtures/go/basic-asset-transfer/chaincode-javascript/lib/assetTransfer.js index 273c768996..c397c08126 100644 --- a/packages/cactus-plugin-ledger-connector-fabric/src/test/typescript/fixtures/go/basic-asset-transfer/chaincode-javascript/lib/assetTransfer.js +++ b/packages/cactus-plugin-ledger-connector-fabric/src/test/typescript/fixtures/go/basic-asset-transfer/chaincode-javascript/lib/assetTransfer.js @@ -15,7 +15,7 @@ class AssetTransfer extends Contract { ID: "asset1", Color: "blue", Size: 5, - Owner: "Tomoko", + Owner: "Tom", AppraisedValue: 300, }, { diff --git a/packages/cactus-plugin-ledger-connector-fabric/src/test/typescript/fixtures/go/basic-asset-transfer/chaincode-typescript/src/assetTransfer.ts b/packages/cactus-plugin-ledger-connector-fabric/src/test/typescript/fixtures/go/basic-asset-transfer/chaincode-typescript/src/assetTransfer.ts index 4dfbfd0446..0ceb70c916 100644 --- a/packages/cactus-plugin-ledger-connector-fabric/src/test/typescript/fixtures/go/basic-asset-transfer/chaincode-typescript/src/assetTransfer.ts +++ b/packages/cactus-plugin-ledger-connector-fabric/src/test/typescript/fixtures/go/basic-asset-transfer/chaincode-typescript/src/assetTransfer.ts @@ -23,7 +23,7 @@ export class AssetTransferContract extends Contract { ID: "asset1", Color: "blue", Size: 5, - Owner: "Tomoko", + Owner: "Tom", AppraisedValue: 300, }, { diff --git a/packages/cactus-plugin-ledger-connector-fabric/src/test/typescript/fixtures/go/hello-world-contract-fabric-v14/hello-world-contract-go-mod.ts b/packages/cactus-plugin-ledger-connector-fabric/src/test/typescript/fixtures/go/hello-world-contract-fabric-v14/hello-world-contract-go-mod.ts index e859c06ac9..195b2f1e44 100644 --- a/packages/cactus-plugin-ledger-connector-fabric/src/test/typescript/fixtures/go/hello-world-contract-fabric-v14/hello-world-contract-go-mod.ts +++ b/packages/cactus-plugin-ledger-connector-fabric/src/test/typescript/fixtures/go/hello-world-contract-fabric-v14/hello-world-contract-go-mod.ts @@ -1,3 +1,4 @@ +/* cSpell:disable */ export const HELLO_WORLD_CONTRACT_GO_MOD = `module hello-world-contract go 1.14 @@ -25,6 +26,7 @@ require ( google.golang.org/grpc v1.31.1 // indirect ) `; +/* cSpell:enable */ const exportSourceToFs = async () => { const path = await import("path"); diff --git a/packages/cactus-plugin-ledger-connector-fabric/src/test/typescript/integration/fabric-v1-4-x/deploy-cc-from-golang-source.test.ts b/packages/cactus-plugin-ledger-connector-fabric/src/test/typescript/integration/fabric-v1-4-x/deploy-cc-from-golang-source.test.ts index cf02ccdfab..55453afd20 100644 --- a/packages/cactus-plugin-ledger-connector-fabric/src/test/typescript/integration/fabric-v1-4-x/deploy-cc-from-golang-source.test.ts +++ b/packages/cactus-plugin-ledger-connector-fabric/src/test/typescript/integration/fabric-v1-4-x/deploy-cc-from-golang-source.test.ts @@ -43,7 +43,7 @@ const logLevel: LogLevelDesc = "TRACE"; test("BEFORE " + testCase, async (t: Test) => { const pruning = pruneDockerAllIfGithubAction({ logLevel }); - await t.doesNotReject(pruning, "Pruning didnt throw OK"); + await t.doesNotReject(pruning, "Pruning didn't throw OK"); t.end(); }); @@ -190,7 +190,7 @@ test(testCase, async (t: Test) => { t.true(success, "deployContractGoSourceV1 res.data.success === true"); // FIXME - without this wait it randomly fails with an error claiming that - // the endorsment was impossible to be obtained. The fabric-samples script + // the endorsement was impossible to be obtained. The fabric-samples script // does the same thing, it just waits 10 seconds for good measure so there // might not be a way for us to avoid doing this, but if there is a way we // absolutely should not have timeouts like this, anywhere... @@ -232,6 +232,6 @@ test(testCase, async (t: Test) => { test("AFTER " + testCase, async (t: Test) => { const pruning = pruneDockerAllIfGithubAction({ logLevel }); - await t.doesNotReject(pruning, "Pruning didnt throw OK"); + await t.doesNotReject(pruning, "Pruning didn't throw OK"); t.end(); }); diff --git a/packages/cactus-plugin-ledger-connector-fabric/src/test/typescript/integration/fabric-v1-4-x/run-transaction-endpoint-v1.test.ts b/packages/cactus-plugin-ledger-connector-fabric/src/test/typescript/integration/fabric-v1-4-x/run-transaction-endpoint-v1.test.ts index 64483f2d46..10b61067c7 100644 --- a/packages/cactus-plugin-ledger-connector-fabric/src/test/typescript/integration/fabric-v1-4-x/run-transaction-endpoint-v1.test.ts +++ b/packages/cactus-plugin-ledger-connector-fabric/src/test/typescript/integration/fabric-v1-4-x/run-transaction-endpoint-v1.test.ts @@ -46,7 +46,7 @@ const logLevel: LogLevelDesc = "TRACE"; test("BEFORE " + testCase, async (t: Test) => { const pruning = pruneDockerAllIfGithubAction({ logLevel }); - await t.doesNotReject(pruning, "Pruning didnt throw OK"); + await t.doesNotReject(pruning, "Pruning didn't throw OK"); t.end(); }); @@ -166,7 +166,7 @@ test(testCase, async (t: Test) => { invocationType: FabricContractInvocationType.SEND, contractName: "fabcar", methodName: "createCar", - params: [carId, "Trabant", "601", "Blue", carOwner], + params: [carId, "Ford", "601", "Blue", carOwner], }; const res = await apiClient.runTransactionV1(req); @@ -219,6 +219,6 @@ test(testCase, async (t: Test) => { test("AFTER " + testCase, async (t: Test) => { const pruning = pruneDockerAllIfGithubAction({ logLevel }); - await t.doesNotReject(pruning, "Pruning didnt throw OK"); + await t.doesNotReject(pruning, "Pruning didn't throw OK"); t.end(); }); diff --git a/packages/cactus-plugin-ledger-connector-fabric/src/test/typescript/integration/fabric-v2-2-x/deploy-cc-from-golang-source.test.ts b/packages/cactus-plugin-ledger-connector-fabric/src/test/typescript/integration/fabric-v2-2-x/deploy-cc-from-golang-source.test.ts index 3e098aff04..12714bfa7c 100644 --- a/packages/cactus-plugin-ledger-connector-fabric/src/test/typescript/integration/fabric-v2-2-x/deploy-cc-from-golang-source.test.ts +++ b/packages/cactus-plugin-ledger-connector-fabric/src/test/typescript/integration/fabric-v2-2-x/deploy-cc-from-golang-source.test.ts @@ -41,7 +41,7 @@ const logLevel: LogLevelDesc = "TRACE"; test("BEFORE " + testCase, async (t: Test) => { const pruning = pruneDockerAllIfGithubAction({ logLevel }); - await t.doesNotReject(pruning, "Pruning didnt throw OK"); + await t.doesNotReject(pruning, "Pruning didn't throw OK"); t.end(); }); @@ -263,7 +263,7 @@ test(testCase, async (t: Test) => { Checks.truthy(queryCommitted, `queryCommitted truthy OK`); // FIXME - without this wait it randomly fails with an error claiming that - // the endorsment was impossible to be obtained. The fabric-samples script + // the endorsement was impossible to be obtained. The fabric-samples script // does the same thing, it just waits 10 seconds for good measure so there // might not be a way for us to avoid doing this, but if there is a way we // absolutely should not have timeouts like this, anywhere... @@ -321,6 +321,6 @@ test(testCase, async (t: Test) => { test("AFTER " + testCase, async (t: Test) => { const pruning = pruneDockerAllIfGithubAction({ logLevel }); - await t.doesNotReject(pruning, "Pruning didnt throw OK"); + await t.doesNotReject(pruning, "Pruning didn't throw OK"); t.end(); }); diff --git a/packages/cactus-plugin-ledger-connector-fabric/src/test/typescript/integration/fabric-v2-2-x/deploy-cc-from-javascript-source.test.ts b/packages/cactus-plugin-ledger-connector-fabric/src/test/typescript/integration/fabric-v2-2-x/deploy-cc-from-javascript-source.test.ts index 6d9166a34d..517285228f 100644 --- a/packages/cactus-plugin-ledger-connector-fabric/src/test/typescript/integration/fabric-v2-2-x/deploy-cc-from-javascript-source.test.ts +++ b/packages/cactus-plugin-ledger-connector-fabric/src/test/typescript/integration/fabric-v2-2-x/deploy-cc-from-javascript-source.test.ts @@ -42,7 +42,7 @@ const logLevel: LogLevelDesc = "TRACE"; test("BEFORE " + testCase, async (t: Test) => { const pruning = pruneDockerAllIfGithubAction({ logLevel }); - await t.doesNotReject(pruning, "Pruning didnt throw OK"); + await t.doesNotReject(pruning, "Pruning didn't throw OK"); t.end(); }); @@ -271,7 +271,7 @@ test(testCase, async (t: Test) => { Checks.truthy(queryCommitted, `queryCommitted truthy OK`); // FIXME - without this wait it randomly fails with an error claiming that - // the endorsment was impossible to be obtained. The fabric-samples script + // the endorsement was impossible to be obtained. The fabric-samples script // does the same thing, it just waits 10 seconds for good measure so there // might not be a way for us to avoid doing this, but if there is a way we // absolutely should not have timeouts like this, anywhere... @@ -331,6 +331,6 @@ test(testCase, async (t: Test) => { test("AFTER " + testCase, async (t: Test) => { const pruning = pruneDockerAllIfGithubAction({ logLevel }); - await t.doesNotReject(pruning, "Pruning didnt throw OK"); + await t.doesNotReject(pruning, "Pruning didn't throw OK"); t.end(); }); diff --git a/packages/cactus-plugin-ledger-connector-fabric/src/test/typescript/integration/fabric-v2-2-x/deploy-cc-from-typescript-source.test.ts b/packages/cactus-plugin-ledger-connector-fabric/src/test/typescript/integration/fabric-v2-2-x/deploy-cc-from-typescript-source.test.ts index ae3240ed90..ee7bd8ebe4 100644 --- a/packages/cactus-plugin-ledger-connector-fabric/src/test/typescript/integration/fabric-v2-2-x/deploy-cc-from-typescript-source.test.ts +++ b/packages/cactus-plugin-ledger-connector-fabric/src/test/typescript/integration/fabric-v2-2-x/deploy-cc-from-typescript-source.test.ts @@ -37,12 +37,12 @@ import { IPluginLedgerConnectorFabricOptions } from "../../../../main/typescript import { DiscoveryOptions } from "fabric-network"; import { PluginKeychainMemory } from "@hyperledger/cactus-plugin-keychain-memory"; -const testCase = "deploys Fabrix 2.x contract from typescript source"; +const testCase = "deploys Fabric 2.x contract from typescript source"; const logLevel: LogLevelDesc = "TRACE"; test("BEFORE " + testCase, async (t: Test) => { const pruning = pruneDockerAllIfGithubAction({ logLevel }); - await t.doesNotReject(pruning, "Pruning didnt throw OK"); + await t.doesNotReject(pruning, "Pruning didn't throw OK"); t.end(); }); @@ -306,7 +306,7 @@ test(testCase, async (t: Test) => { Checks.truthy(queryCommitted, `queryCommitted truthy OK`); // FIXME - without this wait it randomly fails with an error claiming that - // the endorsment was impossible to be obtained. The fabric-samples script + // the endorsement was impossible to be obtained. The fabric-samples script // does the same thing, it just waits 10 seconds for good measure so there // might not be a way for us to avoid doing this, but if there is a way we // absolutely should not have timeouts like this, anywhere... @@ -366,6 +366,6 @@ test(testCase, async (t: Test) => { test("AFTER " + testCase, async (t: Test) => { const pruning = pruneDockerAllIfGithubAction({ logLevel }); - await t.doesNotReject(pruning, "Pruning didnt throw OK"); + await t.doesNotReject(pruning, "Pruning didn't throw OK"); t.end(); }); diff --git a/packages/cactus-plugin-ledger-connector-fabric/src/test/typescript/integration/fabric-v2-2-x/run-transaction-endpoint-v1.test.ts b/packages/cactus-plugin-ledger-connector-fabric/src/test/typescript/integration/fabric-v2-2-x/run-transaction-endpoint-v1.test.ts index 2b06f8f55d..20417e072b 100644 --- a/packages/cactus-plugin-ledger-connector-fabric/src/test/typescript/integration/fabric-v2-2-x/run-transaction-endpoint-v1.test.ts +++ b/packages/cactus-plugin-ledger-connector-fabric/src/test/typescript/integration/fabric-v2-2-x/run-transaction-endpoint-v1.test.ts @@ -47,7 +47,7 @@ const logLevel: LogLevelDesc = "TRACE"; test("BEFORE " + testCase, async (t: Test) => { const pruning = pruneDockerAllIfGithubAction({ logLevel }); - await t.doesNotReject(pruning, "Pruning didnt throw OK"); + await t.doesNotReject(pruning, "Pruning didn't throw OK"); t.end(); }); @@ -225,6 +225,6 @@ test(testCase, async (t: Test) => { test("AFTER " + testCase, async (t: Test) => { const pruning = pruneDockerAllIfGithubAction({ logLevel }); - await t.doesNotReject(pruning, "Pruning didnt throw OK"); + await t.doesNotReject(pruning, "Pruning didn't throw OK"); t.end(); }); diff --git a/packages/cactus-plugin-ledger-connector-quorum/src/main/json/openapi.json b/packages/cactus-plugin-ledger-connector-quorum/src/main/json/openapi.json index 5817e59246..bb418b6247 100644 --- a/packages/cactus-plugin-ledger-connector-quorum/src/main/json/openapi.json +++ b/packages/cactus-plugin-ledger-connector-quorum/src/main/json/openapi.json @@ -661,7 +661,7 @@ } }, "operationId": "apiV1QuorumInvokeContract", - "summary": "Invokeds a contract on a besu ledger", + "summary": "Invokes a contract on a besu ledger", "parameters": [], "requestBody": { "content": { diff --git a/packages/cactus-plugin-ledger-connector-quorum/src/main/typescript/generated/openapi/typescript-axios/api.ts b/packages/cactus-plugin-ledger-connector-quorum/src/main/typescript/generated/openapi/typescript-axios/api.ts index 4247061c00..a1c3685fdb 100644 --- a/packages/cactus-plugin-ledger-connector-quorum/src/main/typescript/generated/openapi/typescript-axios/api.ts +++ b/packages/cactus-plugin-ledger-connector-quorum/src/main/typescript/generated/openapi/typescript-axios/api.ts @@ -588,7 +588,7 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati }, /** * - * @summary Invokeds a contract on a besu ledger + * @summary Invokes a contract on a besu ledger * @param {InvokeContractV1Request} [invokeContractV1Request] * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -729,7 +729,7 @@ export const DefaultApiFp = function(configuration?: Configuration) { }, /** * - * @summary Invokeds a contract on a besu ledger + * @summary Invokes a contract on a besu ledger * @param {InvokeContractV1Request} [invokeContractV1Request] * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -789,7 +789,7 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa }, /** * - * @summary Invokeds a contract on a besu ledger + * @summary Invokes a contract on a besu ledger * @param {InvokeContractV1Request} [invokeContractV1Request] * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -840,7 +840,7 @@ export class DefaultApi extends BaseAPI { /** * - * @summary Invokeds a contract on a besu ledger + * @summary Invokes a contract on a besu ledger * @param {InvokeContractV1Request} [invokeContractV1Request] * @param {*} [options] Override http request option. * @throws {RequiredError} diff --git a/packages/cactus-plugin-ledger-connector-quorum/src/test/typescript/integration/plugin-ledger-connector-quorum/deploy-contract/deploy-contract-from-json.test.ts b/packages/cactus-plugin-ledger-connector-quorum/src/test/typescript/integration/plugin-ledger-connector-quorum/deploy-contract/deploy-contract-from-json.test.ts index a4e3fa63bc..19cddc2a23 100644 --- a/packages/cactus-plugin-ledger-connector-quorum/src/test/typescript/integration/plugin-ledger-connector-quorum/deploy-contract/deploy-contract-from-json.test.ts +++ b/packages/cactus-plugin-ledger-connector-quorum/src/test/typescript/integration/plugin-ledger-connector-quorum/deploy-contract/deploy-contract-from-json.test.ts @@ -41,7 +41,7 @@ const contractName = "HelloWorld"; test("BEFORE " + testCase, async (t: Test) => { const pruning = pruneDockerAllIfGithubAction({ logLevel }); - await t.doesNotReject(pruning, "Pruning didnt throw OK"); + await t.doesNotReject(pruning, "Pruning didn't throw OK"); t.end(); }); @@ -471,6 +471,6 @@ test(testCase, async (t: Test) => { test("AFTER " + testCase, async (t: Test) => { const pruning = pruneDockerAllIfGithubAction({ logLevel }); - await t.doesNotReject(pruning, "Pruning didnt throw OK"); + await t.doesNotReject(pruning, "Pruning didn't throw OK"); t.end(); }); diff --git a/packages/cactus-plugin-ledger-connector-quorum/src/test/typescript/unit/model-type-guards.test.ts b/packages/cactus-plugin-ledger-connector-quorum/src/test/typescript/unit/model-type-guards.test.ts index 7c83f718d3..5c52f30aed 100644 --- a/packages/cactus-plugin-ledger-connector-quorum/src/test/typescript/unit/model-type-guards.test.ts +++ b/packages/cactus-plugin-ledger-connector-quorum/src/test/typescript/unit/model-type-guards.test.ts @@ -11,7 +11,7 @@ import { Web3SigningCredentialNone, } from "../../../main/typescript/public-api"; -test("Type guards for OpenAPI spec model type definitons", (t1: Test) => { +test("Type guards for OpenAPI spec model type definitions", (t1: Test) => { test("isWeb3SigningCredentialGethKeychainPassword()", (t2: Test) => { const valid: Web3SigningCredentialGethKeychainPassword = { secret: "yes", diff --git a/packages/cactus-plugin-ledger-connector-xdai/src/main/json/openapi.json b/packages/cactus-plugin-ledger-connector-xdai/src/main/json/openapi.json index 518a2f8893..728420a949 100644 --- a/packages/cactus-plugin-ledger-connector-xdai/src/main/json/openapi.json +++ b/packages/cactus-plugin-ledger-connector-xdai/src/main/json/openapi.json @@ -48,7 +48,7 @@ }, "timeoutMs": { "type": "integer", - "description": "The amount of milliseconds to wait for the receipt to arrive to the connector. Defaults to 0 which means to wait for an unlimited amount of time. Note that this wait may be interrupted still by other parts of the infrastructure such as load balancers cutting of HTTP requests after some time even if they are the type that is supposed to be kept alive. The question of re-entrancy is a broader topic not in scope to discuss here, but it is important to mention it.", + "description": "The amount of milliseconds to wait for the receipt to arrive to the connector. Defaults to 0 which means to wait for an unlimited amount of time. Note that this wait may be interrupted still by other parts of the infrastructure such as load balancers cutting of HTTP requests after some time even if they are the type that is supposed to be kept alive. The question of re-entrance is a broader topic not in scope to discuss here, but it is important to mention it.", "minimum": 0 }, "blockConfirmations": { @@ -657,7 +657,7 @@ } }, "operationId": "invokeContractV1", - "summary": "Invokeds a contract on a xdai ledger", + "summary": "Invokes a contract on a xdai ledger", "parameters": [], "requestBody": { "content": { diff --git a/packages/cactus-plugin-ledger-connector-xdai/src/main/typescript/generated/openapi/typescript-axios/api.ts b/packages/cactus-plugin-ledger-connector-xdai/src/main/typescript/generated/openapi/typescript-axios/api.ts index a955b72d52..2a222ee72d 100644 --- a/packages/cactus-plugin-ledger-connector-xdai/src/main/typescript/generated/openapi/typescript-axios/api.ts +++ b/packages/cactus-plugin-ledger-connector-xdai/src/main/typescript/generated/openapi/typescript-axios/api.ts @@ -32,7 +32,7 @@ export interface ConsistencyStrategy { */ receiptType: ReceiptType; /** - * The amount of milliseconds to wait for the receipt to arrive to the connector. Defaults to 0 which means to wait for an unlimited amount of time. Note that this wait may be interrupted still by other parts of the infrastructure such as load balancers cutting of HTTP requests after some time even if they are the type that is supposed to be kept alive. The question of re-entrancy is a broader topic not in scope to discuss here, but it is important to mention it. + * The amount of milliseconds to wait for the receipt to arrive to the connector. Defaults to 0 which means to wait for an unlimited amount of time. Note that this wait may be interrupted still by other parts of the infrastructure such as load balancers cutting of HTTP requests after some time even if they are the type that is supposed to be kept alive. The question of re-entrance is a broader topic not in scope to discuss here, but it is important to mention it. * @type {number} * @memberof ConsistencyStrategy */ @@ -634,7 +634,7 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati }, /** * - * @summary Invokeds a contract on a xdai ledger + * @summary Invokes a contract on a xdai ledger * @param {InvokeContractV1Request} [invokeContractV1Request] * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -752,7 +752,7 @@ export const DefaultApiFp = function(configuration?: Configuration) { }, /** * - * @summary Invokeds a contract on a xdai ledger + * @summary Invokes a contract on a xdai ledger * @param {InvokeContractV1Request} [invokeContractV1Request] * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -808,7 +808,7 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa }, /** * - * @summary Invokeds a contract on a xdai ledger + * @summary Invokes a contract on a xdai ledger * @param {InvokeContractV1Request} [invokeContractV1Request] * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -861,7 +861,7 @@ export class DefaultApi extends BaseAPI { /** * - * @summary Invokeds a contract on a xdai ledger + * @summary Invokes a contract on a xdai ledger * @param {InvokeContractV1Request} [invokeContractV1Request] * @param {*} [options] Override http request option. * @throws {RequiredError} diff --git a/packages/cactus-plugin-ledger-connector-xdai/src/test/typescript/integration/deploy-contract-from-json-xdai.test.ts b/packages/cactus-plugin-ledger-connector-xdai/src/test/typescript/integration/deploy-contract-from-json-xdai.test.ts index 184ecad391..eb9b748497 100644 --- a/packages/cactus-plugin-ledger-connector-xdai/src/test/typescript/integration/deploy-contract-from-json-xdai.test.ts +++ b/packages/cactus-plugin-ledger-connector-xdai/src/test/typescript/integration/deploy-contract-from-json-xdai.test.ts @@ -37,7 +37,7 @@ const contractName = "HelloWorld"; test("BEFORE " + testCase, async (t: Test) => { const pruning = pruneDockerAllIfGithubAction({ logLevel }); - await t.doesNotReject(pruning, "Pruning didnt throw OK"); + await t.doesNotReject(pruning, "Pruning didn't throw OK"); t.end(); }); @@ -437,6 +437,6 @@ test(testCase, async (t: Test) => { test("AFTER " + testCase, async (t: Test) => { const pruning = pruneDockerAllIfGithubAction({ logLevel }); - await t.doesNotReject(pruning, "Pruning didnt throw OK"); + await t.doesNotReject(pruning, "Pruning didn't throw OK"); t.end(); }); diff --git a/packages/cactus-test-api-client/src/test/typescript/integration/api-client-routing-node-to-node.test.ts b/packages/cactus-test-api-client/src/test/typescript/integration/api-client-routing-node-to-node.test.ts index dddb03c88b..a03fdf19d6 100644 --- a/packages/cactus-test-api-client/src/test/typescript/integration/api-client-routing-node-to-node.test.ts +++ b/packages/cactus-test-api-client/src/test/typescript/integration/api-client-routing-node-to-node.test.ts @@ -41,7 +41,7 @@ const testCase = "Routes to correct node based on ledger ID"; test("BEFORE " + testCase, async (t: Test) => { const pruning = pruneDockerAllIfGithubAction({ logLevel }); - await t.doesNotReject(pruning, "Pruning didnt throw OK"); + await t.doesNotReject(pruning, "Pruning didn't throw OK"); t.end(); }); @@ -299,6 +299,6 @@ test(testCase, async (t: Test) => { test("AFTER " + testCase, async (t: Test) => { const pruning = pruneDockerAllIfGithubAction({ logLevel }); - await t.doesNotReject(pruning, "Pruning didnt throw OK"); + await t.doesNotReject(pruning, "Pruning didn't throw OK"); t.end(); }); diff --git a/packages/cactus-test-plugin-ledger-connector-besu/src/test/typescript/integration/plugin-validator-besu/sign-transaction-endpoint.test.ts b/packages/cactus-test-plugin-ledger-connector-besu/src/test/typescript/integration/plugin-validator-besu/sign-transaction-endpoint.test.ts index 27b170a9d7..3764fe5582 100644 --- a/packages/cactus-test-plugin-ledger-connector-besu/src/test/typescript/integration/plugin-validator-besu/sign-transaction-endpoint.test.ts +++ b/packages/cactus-test-plugin-ledger-connector-besu/src/test/typescript/integration/plugin-validator-besu/sign-transaction-endpoint.test.ts @@ -42,7 +42,7 @@ const logLevel: LogLevelDesc = "TRACE"; test("BEFORE " + testCase, async (t: Test) => { const pruning = pruneDockerAllIfGithubAction({ logLevel }); - await t.doesNotReject(pruning, "Pruning didnt throw OK"); + await t.doesNotReject(pruning, "Pruning didn't throw OK"); t.end(); }); @@ -172,7 +172,7 @@ test(testCase, async (t: Test) => { t.ok(res, "API response object is truthy"); t.deepEquals(signDataHex, res.data.signature, "Signature data are equal"); - // Test for 404 Transacation not found test case + // Test for 404 Transaction not found test case try { const notFoundRequest: SignTransactionRequest = { keychainId: "fake", @@ -193,6 +193,6 @@ test(testCase, async (t: Test) => { test("AFTER " + testCase, async (t: Test) => { const pruning = pruneDockerAllIfGithubAction({ logLevel }); - await t.doesNotReject(pruning, "Pruning didnt throw OK"); + await t.doesNotReject(pruning, "Pruning didn't throw OK"); t.end(); }); diff --git a/packages/cactus-test-plugin-ledger-connector-quorum/src/test/typescript/integration/plugin-ledger-connector-quorum/deploy-contract/deploy-contract-via-web-service.test.ts b/packages/cactus-test-plugin-ledger-connector-quorum/src/test/typescript/integration/plugin-ledger-connector-quorum/deploy-contract/deploy-contract-via-web-service.test.ts index e69611609c..7c16b0d323 100644 --- a/packages/cactus-test-plugin-ledger-connector-quorum/src/test/typescript/integration/plugin-ledger-connector-quorum/deploy-contract/deploy-contract-via-web-service.test.ts +++ b/packages/cactus-test-plugin-ledger-connector-quorum/src/test/typescript/integration/plugin-ledger-connector-quorum/deploy-contract/deploy-contract-via-web-service.test.ts @@ -46,7 +46,7 @@ const contractName = "HelloWorld"; test("BEFORE " + testCase, async (t: Test) => { const pruning = pruneDockerAllIfGithubAction({ logLevel }); - await t.doesNotReject(pruning, "Pruning didnt throw OK"); + await t.doesNotReject(pruning, "Pruning didn't throw OK"); t.end(); }); @@ -271,6 +271,6 @@ test(testCase, async (t: Test) => { test("AFTER " + testCase, async (t: Test) => { const pruning = pruneDockerAllIfGithubAction({ logLevel }); - await t.doesNotReject(pruning, "Pruning didnt throw OK"); + await t.doesNotReject(pruning, "Pruning didn't throw OK"); t.end(); }); diff --git a/packages/cactus-test-tooling/src/main/typescript/common/containers.ts b/packages/cactus-test-tooling/src/main/typescript/common/containers.ts index f3d14f917c..9fb3a07a94 100644 --- a/packages/cactus-test-tooling/src/main/typescript/common/containers.ts +++ b/packages/cactus-test-tooling/src/main/typescript/common/containers.ts @@ -308,11 +308,11 @@ export class Containers { options: any = {}, logLevel?: LogLevelDesc, ): Promise { - const defualtLoggerOptions: ILoggerOptions = { + const defaultLoggerOptions: ILoggerOptions = { label: "containers#pullImage()", level: logLevel || "INFO", }; - const log = LoggerProvider.getOrCreate(defualtLoggerOptions); + const log = LoggerProvider.getOrCreate(defaultLoggerOptions); const task = () => Containers.tryPullImage(imageFqn, options, logLevel); const retryOptions: pRetry.Options = { retries: 6, diff --git a/packages/cactus-test-tooling/src/main/typescript/quorum/quorum-test-ledger.ts b/packages/cactus-test-tooling/src/main/typescript/quorum/quorum-test-ledger.ts index 2afba6b35d..7e19435dd6 100644 --- a/packages/cactus-test-tooling/src/main/typescript/quorum/quorum-test-ledger.ts +++ b/packages/cactus-test-tooling/src/main/typescript/quorum/quorum-test-ledger.ts @@ -115,7 +115,7 @@ export class QuorumTestLedger implements ITestLedger { * @param minBalance The minimum balance to try and find a genesis account with. * * @throws {Error} If the balance is too high and there aren't any genesis - * accounts allocated with such a high balance then an exceptin is thrown. + * accounts allocated with such a high balance then an exception is thrown. */ public async getGenesisAccount(minBalance = 10e7): Promise { const { alloc } = await this.getGenesisJsObject(); diff --git a/tools/docker/fabric-all-in-one/README.md b/tools/docker/fabric-all-in-one/README.md index c1c3744cd1..5160fc1492 100644 --- a/tools/docker/fabric-all-in-one/README.md +++ b/tools/docker/fabric-all-in-one/README.md @@ -85,7 +85,7 @@ For Fabric 1.4.x ```sh $ docker exec -it --workdir /fabric-samples/fabcar/ dindy docker exec cli peer chaincode query --channelID mychannel --name fabcar --ctor '{"Args": [], "Function": "queryAllCars"}' -[{"Key":"CAR0", "Record":{"colour":"blue","make":"Toyota","model":"Prius","owner":"Tomoko"}},{"Key":"CAR1", "Record":{"colour":"red","make":"Ford","model":"Mustang","owner":"Brad"}},{"Key":"CAR2", "Record":{"colour":"green","make":"Hyundai","model":"Tucson","owner":"Jin Soo"}},{"Key":"CAR3", "Record":{"colour":"yellow","make":"Volkswagen","model":"Passat","owner":"Max"}},{"Key":"CAR4", "Record":{"colour":"black","make":"Tesla","model":"S","owner":"Adriana"}},{"Key":"CAR5", "Record":{"colour":"purple","make":"Peugeot","model":"205","owner":"Michel"}},{"Key":"CAR6", "Record":{"colour":"white","make":"Chery","model":"S22L","owner":"Aarav"}},{"Key":"CAR7", "Record":{"colour":"violet","make":"Fiat","model":"Punto","owner":"Pari"}},{"Key":"CAR8", "Record":{"colour":"indigo","make":"Tata","model":"Nano","owner":"Valeria"}},{"Key":"CAR9", "Record":{"colour":"brown","make":"Holden","model":"Barina","owner":"Shotaro"}}] +[{"Key":"CAR0", "Record":{"colour":"blue","make":"Toyota","model":"Prius","owner":"Tom"}},{"Key":"CAR1", "Record":{"colour":"red","make":"Ford","model":"Mustang","owner":"Brad"}},{"Key":"CAR2", "Record":{"colour":"green","make":"Hyundai","model":"Tucson","owner":"Jin Soo"}},{"Key":"CAR3", "Record":{"colour":"yellow","make":"Volkswagen","model":"Passat","owner":"Max"}},{"Key":"CAR4", "Record":{"colour":"black","make":"Tesla","model":"S","owner":"Adriana"}},{"Key":"CAR5", "Record":{"colour":"purple","make":"Peugeot","model":"205","owner":"Michel"}},{"Key":"CAR6", "Record":{"colour":"white","make":"Chery","model":"S22L","owner":"Aarav"}},{"Key":"CAR7", "Record":{"colour":"violet","make":"Fiat","model":"Punto","owner":"Pari"}},{"Key":"CAR8", "Record":{"colour":"indigo","make":"Tata","model":"Nano","owner":"Valeria"}},{"Key":"CAR9", "Record":{"colour":"brown","make":"Holden","model":"Barina","owner":"Shotaro"}}] ``` For Fabric 2.x @@ -101,5 +101,5 @@ export CORE_PEER_TLS_ROOTCERT_FILE=${PWD}/organizations/peerOrganizations/org1.e export CORE_PEER_MSPCONFIGPATH=${PWD}/organizations/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp export CORE_PEER_ADDRESS=localhost:7051 peer chaincode query --channelID mychannel --name fabcar --ctor '{"Args": [], "Function": "queryAllCars"}' -[{"Key":"CAR0","Record":{"make":"Toyota","model":"Prius","colour":"blue","owner":"Tomoko"}},{"Key":"CAR1","Record":{"make":"Ford","model":"Mustang","colour":"red","owner":"Brad"}},{"Key":"CAR2","Record":{"make":"Hyundai","model":"Tucson","colour":"green","owner":"Jin Soo"}},{"Key":"CAR277","Record":{"make":"Trabant","model":"601","colour":"Blue","owner":"4cf0a45d-1349-4900-927c-d03e2a2c4dfc"}},{"Key":"CAR3","Record":{"make":"Volkswagen","model":"Passat","colour":"yellow","owner":"Max"}},{"Key":"CAR4","Record":{"make":"Tesla","model":"S","colour":"black","owner":"Adriana"}},{"Key":"CAR5","Record":{"make":"Peugeot","model":"205","colour":"purple","owner":"Michel"}},{"Key":"CAR6","Record":{"make":"Chery","model":"S22L","colour":"white","owner":"Aarav"}},{"Key":"CAR7","Record":{"make":"Fiat","model":"Punto","colour":"violet","owner":"Pari"}},{"Key":"CAR8","Record":{"make":"Tata","model":"Nano","colour":"indigo","owner":"Valeria"}},{"Key":"CAR9","Record":{"make":"Holden","model":"Barina","colour":"brown","owner":"Shotaro"}}] +[{"Key":"CAR0","Record":{"make":"Toyota","model":"Prius","colour":"blue","owner":"Tom"}},{"Key":"CAR1","Record":{"make":"Ford","model":"Mustang","colour":"red","owner":"Brad"}},{"Key":"CAR2","Record":{"make":"Hyundai","model":"Tucson","colour":"green","owner":"Jin Soo"}},{"Key":"CAR277","Record":{"make":"Trabant","model":"601","colour":"Blue","owner":"4cf0a45d-1349-4900-927c-d03e2a2c4dfc"}},{"Key":"CAR3","Record":{"make":"Volkswagen","model":"Passat","colour":"yellow","owner":"Max"}},{"Key":"CAR4","Record":{"make":"Tesla","model":"S","colour":"black","owner":"Adriana"}},{"Key":"CAR5","Record":{"make":"Peugeot","model":"205","colour":"purple","owner":"Michel"}},{"Key":"CAR6","Record":{"make":"Chery","model":"S22L","colour":"white","owner":"Aarav"}},{"Key":"CAR7","Record":{"make":"Fiat","model":"Punto","colour":"violet","owner":"Pari"}},{"Key":"CAR8","Record":{"make":"Tata","model":"Nano","colour":"indigo","owner":"Valeria"}},{"Key":"CAR9","Record":{"make":"Holden","model":"Barina","colour":"brown","owner":"Shotaro"}}] ``` diff --git a/tools/docker/fabric-all-in-one/run-fabric-network.sh b/tools/docker/fabric-all-in-one/run-fabric-network.sh index 60a9e1b2fd..aab277ae51 100755 --- a/tools/docker/fabric-all-in-one/run-fabric-network.sh +++ b/tools/docker/fabric-all-in-one/run-fabric-network.sh @@ -29,7 +29,7 @@ function main() # Major version is 2 or newer (we'll deal with 3.x when it is released) # Fabric 2.x has this new image called fabric-baseos so we need to load that - # as well when we detect that we are running Fabrix 2.x not 1.x + # as well when we detect that we are running Fabric 2.x not 1.x tar -cC '/etc/hyperledger/fabric/fabric-nodeenv/' . | docker load tar -cC '/etc/hyperledger/fabric/fabric-baseos/' . | docker load diff --git a/whitepaper/whitepaper.md b/whitepaper/whitepaper.md index 1ba576c984..5121881c8f 100644 --- a/whitepaper/whitepaper.md +++ b/whitepaper/whitepaper.md @@ -1645,7 +1645,7 @@ Web 3.0 applications (decentralized apps or *DApps*) which interact with blockch **Cactus Node**: A set of identically configured API servers behind a single network host where the set size is customizable from 1 to infinity with the practical maximum being much lower of course. This logical distinction between node and API server is important because it allows consortium members to abstract away their private infrastructure details from the public consortium definition. -For example if a consortium member wants to have a highly available, high throughput service, they will be forced to run a cluster of API servers behind a load balancer and/or reverse proxy to achieve these system properties and their API servers may also be in an auto-scaling group of a cloud provider or (in the future) even run as Lambda functions. To avoid having to update the consortium definiton (which requires a potentially costly consesus from other members) every time let's say an auto-scaling group adds a new API server to a node, the consortium member can define their presence in the consortium by declaring a single `Cactus Node` and then customize the underlying deployment as they see fit so long as they ensure that the previously agreed upon keys are used by the node and it is indeed accessible through the network host as declared by the `Cactus Node`. +For example if a consortium member wants to have a highly available, high throughput service, they will be forced to run a cluster of API servers behind a load balancer and/or reverse proxy to achieve these system properties and their API servers may also be in an auto-scaling group of a cloud provider or (in the future) even run as Lambda functions. To avoid having to update the consortium definition (which requires a potentially costly consesus from other members) every time let's say an auto-scaling group adds a new API server to a node, the consortium member can define their presence in the consortium by declaring a single `Cactus Node` and then customize the underlying deployment as they see fit so long as they ensure that the previously agreed upon keys are used by the node and it is indeed accessible through the network host as declared by the `Cactus Node`. To get a better understanding of the various, near-infinite deplyoment scenarios, head over to the [Deployment Scenarios](#57-deployment-scenarios) sub-section of the [Architecture](#5-architecture) top level section. **Validator**: A module of Hyperledger Cactus which verifies validity of transaction to be sent out to the blockchain application.