From 8a6179aa724bed817459adfaca70247b2cf7347b Mon Sep 17 00:00:00 2001 From: Matt Johnson-Pint Date: Mon, 7 Oct 2024 17:19:09 -0700 Subject: [PATCH 1/9] Update Readme files (#432) Co-authored-by: Ryan Fox-Tyler <60440289+ryanfoxtyler@users.noreply.github.com> --- .markdownlint.json | 5 + CHANGELOG.md | 1 + CONTRIBUTING.md | 3 + README.md | 224 ++++++++------------------------------------- runtime/README.md | 8 ++ sdk/README.md | 6 ++ 6 files changed, 63 insertions(+), 184 deletions(-) create mode 100644 .markdownlint.json create mode 100644 CONTRIBUTING.md create mode 100644 runtime/README.md create mode 100644 sdk/README.md diff --git a/.markdownlint.json b/.markdownlint.json new file mode 100644 index 00000000..f2d969fe --- /dev/null +++ b/.markdownlint.json @@ -0,0 +1,5 @@ +{ + "default": true, + "MD013": false, + "MD034": false +} diff --git a/CHANGELOG.md b/CHANGELOG.md index 2c023464..dffbb397 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,7 @@ - Remove HTTP Timeout, Add Context Timeout on Collections [#422](https://github.com/hypermodeinc/modus/pull/422) - Add Modus AssemblyScript SDK [#423](https://github.com/hypermodeinc/modus/pull/423) - Add models to Modus AssemblyScript SDK [#428](https://github.com/hypermodeinc/modus/pull/428) +- Update Readme files [#432](https://github.com/hypermodeinc/modus/pull/432) ## 2024-10-02 - Version 0.12.7 diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md new file mode 100644 index 00000000..bec106a7 --- /dev/null +++ b/CONTRIBUTING.md @@ -0,0 +1,3 @@ +# Contributing to Modus + +TODO diff --git a/README.md b/README.md index 2812f61f..51c6cd0d 100644 --- a/README.md +++ b/README.md @@ -1,209 +1,65 @@ - - - + +[![chat](https://img.shields.io/discord/1267579648657850441)](https://discord.gg/NJQ4bJpffF) # Modus -## TODO - rewrite this whole file in the context of Modus +Modus is an open-source, serverless framework for building intelligent functions and APIs, powered by WebAssembly. -This repository contains the source code for the _Hypermode Runtime_. -The Runtime loads and executes _plugins_ containing _Hypermode Functions_. +This repository contains the Modus source code, including the Modus runtime, SDKs, CLI, and introductory examples. -To get started with Hypermode Functions written in AssemblyScript, visit the -`functions-as` repository. +_Please note that prior to version 0.13.0, Modus was simply referred to as "Hypermode". Please bear with us if you find name conflicts while we are in transition!_ -## Command Line Parameters +## Getting Started -When starting the Runtime, you can use the following command line parameters: +To get started using Modus, please refer to [the Modus docs](https://docs.hypermode.com/modus) site. -- `--port` - The HTTP port to listen on. Defaults to `8686`. -- `--modelHost` - The base DNS of the host endpoint to the model server. -- `--storagePath` - The path to a directory used for local storage. - - Linux / OSX default: `$HOME/.hypermode` - - Windows default: `%APPDATA%\Hypermode` -- `--useAwsSecrets` - Use AWS Secrets Manager for API keys and other secrets. -- `--useAwsStorage` - Use AWS S3 for storage instead of the local filesystem. -- `--s3bucket` - The S3 bucket to use, if using AWS storage. -- `--s3path` - The path within the S3 bucket to use, if using AWS storage. -- `--refresh` - The refresh interval to reload any changes. Defaults to `5s`. -- `--jsonlogs` - Use JSON format for logging. +## Open Source -_Note: You can use either `-` or `--` prefixes, and you use either a space or `=` to provide values._ +Modus is developed by [Hypermode](https://hypermode.com/) as an open-source project, integral but independent from Hypermode. +We welcome external contributions! See the [CONTRIBUTING.md](./CONTRIBUTING.md) file if you would like to get involved! -## Environment Variables +## Programming Languages -The following environment variables are used by the Hypermode Runtime: +Since Modus is based on WebAssembly, you can write Modus apps in various programming languages. +Each language offers the full capabilities of the Modus framework. -- `ENVIRONMENT` - The name of the environment, such as `dev`, `stage`, or `prod`. Defaults to `dev` when not specified. -- `NAMESPACE` - Used in non-dev (ie. stage/prod) environments to retrieve the Kubernetes namespace for the Hypermode backend. -- `HYPERMODE_METADATA_DB` - Used in dev environment only, to set a connection string to a local Postgres database to use for Hypermode metadata. +Currently, the supported languages you may choose from are: -### Local Secrets +- [AssemblyScript](https://www.assemblyscript.org/) - A TypeScript-like language designed for WebAssembly. + - If you are primarily used to writing front-end web apps, you'll feel at home with AssemblyScript. -When running locally, in addition to the above, secrets are passed by environment variable using the following convention: +- [Go](https://go.dev/) - A general-purpose programming language originally designed by Google. + - If you are primarily used to writing back-end apps, you'll likely prefer to use Go. -``` -HYPERMODE__ -``` +Additional programming languages may be supported in the future. -- Substitute `` for the upper-cased name of the model, replacing hyphens (`-`) with underscores (`_`). -- Substitute `` for the upper-cased name of the secret variable used in the manifest. +## Hosting -For example, if the manifest contains the host entry: +We have designed Hypermode to be the best place to run your Modus app. +Hypermode hosting plans include features you might expect, such as professional support, telemetry, and high availability. +They also include specialty features such as model hosting that are purposefully designed to work in tandem with Modus apps. +Thus, for the best experience, please consider hosting your Modus apps on Hypermode. +See [hypermode.com](https://hypermode.com/) for details and pricing. -```json -"my-api": { - "endpoint":"https://api.example.com/", - "headers": { - "Authorization": "Bearer {{AUTH_TOKEN}}" - } -}, -``` +As Modus is a free, open-source framework, you’re welcome to run your Modus apps on your own hardware or on any +hosting platform that meets your needs. However, please understand that we cannot directly support issues related +to third-party hosting. -... then the corresponding environment variable name would be `HYPERMODE_MY_API_AUTH_TOKEN`. -The value of that environment variable would be used as the bearer token for any requests to that host. +## Support -### Using a `.env` file +Hypermode paid hosting plans include standard or premium support that covers both Hypermode and Modus, with response-time guarantees. +Click the _support_ link after signing in to Hypermode, or email help@hypermode.com for paid support if you are a Hypermode customer. -While environment variables can be set through traditional mechanisms, they can also (optionally) -be set in a file called `.env`, placed in the plugins path. The file should be a simple list of -key/value pairs for each environment variable you want to set when the Runtime is loaded. +For free community-based support (without a response-time guarantee), or if you'd just like to share your experiences with +Modus or Hypermode, please chat with us on [Discord](https://discord.gg/NJQ4bJpffF). +We'd be happy to hear from you! -For example: +If you believe you have found a bug in Modus, please file a [Github issue](https://github.com/hypermodeinc/modus/issues) +so we can triage the problem and route it to our engineers as efficiently as possible. -``` -HYPERMODE_FOO=abc123 -HYPERMODE_BAR=xyz456 -``` +## License -## Building the Runtime +Modus and its components are Copyright 2024 Hypermode Inc., and licensed under the terms of the Apache License, Version 2.0. +See the [LICENSE](./LICENSE) file for a complete copy of the license. -Ensure that you have Go installed in your dev environment. -The required minimum major version is specified in the [go.mod](./go.mod) file. -It is recommended to use the latest patch version available, and keep current. - -Then, you can do any of the following: - -- You can run directly from source code: - - ```sh - go run . - ``` - -- You can compile the source code and run the output: - - ```sh - go build - ./hypruntime - ``` - -- You can run and debug the source code in VS Code, using the VS Code debugger. - -## Docker Setup - -To build a Docker image for the Hypermode Runtime: - -```sh -docker build -t hypermode/runtime . -``` - -When running the image via Docker Desktop, keep in mind: - -- You may wish to give the container a specific name using `--name`. -- Port `8686` should be exposed. -- If using local storage, you'll need to map the container's `/root/.hypermode` folder to your own `~/.hypermode` folder. -- You may need to pass command line parameters and/or set environment variables. - -For example: - -```sh -docker run --name hypruntime \ - -p 8686:8686 \ - -v ~/.hypermode:/root/.hypermode hypermode/runtime -``` - -_Note, if you have previously created a container with the same name, then delete it first with `docker rm hypruntime`._ - -## AWS Setup - -If configured to do so, the Hypermode Runtime may access AWS resources. -If you are debugging locally, set up an AWS profile. - -```sh -export AWS_PROFILE=sandbox -``` - -Declare the `sandbox` profile in `~/.aws/config` as follows: - -```ini -[profile sandbox] -sso_start_url = https://d-92674fec42.awsapps.com/start# -sso_region = us-west-2 -sso_account_id = 436061841671 -sso_role_name = AWSPowerUserAccess -region = us-west-2 -``` - -Then run `aws sso login --profile sandbox` to login to the profile. - -After SSO login you can start the Runtime, either from the VS Code debugger -using the `Hypermode Runtime (AWS)` launch profile, or from the command line as follows: - -```sh -export AWS_SDK_LOAD_CONFIG=true -export AWS_PROFILE=sandbox -./hypruntime \ - --useAwsSecrets \ - --useAwsStorage \ - --s3bucket=sandbox-runtime-storage \ - --s3path=shared -``` - -You can omit the exports if the environment variables are already set. -You can also use any S3 bucket or path you like. If a path is not specified, the Runtime will look for files in the root of the bucket. - -_The shared sandbox is intended for temporary use. In production, each customer's backend gets a separate path within a single bucket._ - -## Using Model Inference History Locally - -To set up the model inference history table, run the following command, which will start a local postgres instance. - -```sh -cd tools/local -docker-compose up -``` - -Next, you will need to apply the database schema using the [golang-migrate](https://github.com/golang-migrate/migrate) utility. - -On MacOS, you can install this utility with the following: - -```sh -brew install golang-migrate -``` - -Then, you can apply the migration as follows: - -```sh -export POSTGRESQL_URL='postgresql://postgres:postgres@localhost:5433/my-runtime-db?sslmode=disable' -migrate -database ${POSTGRESQL_URL} -path db/migrations up -``` - -Now any model inference will be logged in the `inferences` table in the `my-runtime-db` database. - -## Unit Testing - -Unit tests are created using Go's [built-in unit test support](https://go.dev/doc/tutorial/add-a-test). - -To run all tests in the project: - -```sh -go test ./... -``` - -Or, you can just run tests in specific folders. For example: - -```sh -go test ./functions -``` - -Tests can also be run from VS Code's Testing panel, and are run automatically for pull requests. +If you have any questions about Modus licensing, or need an alternate license or other arrangement, please contact us at hello@hypermode.com. diff --git a/runtime/README.md b/runtime/README.md new file mode 100644 index 00000000..34abacc0 --- /dev/null +++ b/runtime/README.md @@ -0,0 +1,8 @@ +# Modus Runtime + +This directory contains the source code for the Modus runtime, +which is responsible for loading and executing your Modus app. + +Unless you are contributing to the Modus project, you will not need to download this code directly. +Instead, a compiled platform-specific binary of the Modus runtime will be downloaded and installed +in your development environment by the Modus CLI, or used when hosting a Modus app in production. diff --git a/sdk/README.md b/sdk/README.md new file mode 100644 index 00000000..05d5851f --- /dev/null +++ b/sdk/README.md @@ -0,0 +1,6 @@ +# Modus SDKs + +This directory contains the source code for the SDKs of each language that you can write Modus apps in. + +Typically, you will not need to download this code directly, as the SDK will automatically be installed when +you create a new Modus project. However, you may wish to explore the example projects in each SDK. From 815475e5fa551ab92477d74ecf5713a9d955e4d2 Mon Sep 17 00:00:00 2001 From: Matt Johnson-Pint Date: Mon, 7 Oct 2024 17:21:54 -0700 Subject: [PATCH 2/9] Remove extra comma (#433) --- pkg/manifest/collection.go | 4 +- pkg/manifest/dgraph.go | 4 +- pkg/manifest/http.go | 4 +- pkg/manifest/manifest.go | 4 +- pkg/manifest/model.go | 4 +- pkg/manifest/postgresql.go | 4 +- pkg/manifest/test/manifest_test.go | 4 +- pkg/wasmextractor/wasmextractor.go | 4 +- runtime/Dockerfile | 2 +- runtime/aws/config.go | 4 +- runtime/collections/collection.go | 4 +- runtime/collections/collections.go | 4 +- runtime/collections/factory.go | 4 +- .../collections/in_mem/hnsw/vector_index.go | 4 +- .../in_mem/hnsw/vector_index_test.go | 4 +- .../in_mem/sequential/vector_index.go | 4 +- .../in_mem/sequential/vector_index_test.go | 4 +- runtime/collections/in_mem/text_index.go | 4 +- runtime/collections/in_mem/text_index_test.go | 4 +- runtime/collections/index/helper.go | 4 +- runtime/collections/index/index.go | 4 +- .../index/interfaces/interfaces.go | 4 +- runtime/collections/index/search_path.go | 4 +- runtime/collections/types.go | 4 +- runtime/collections/utils/heap.go | 4 +- runtime/collections/utils/heap_test.go | 4 +- runtime/collections/utils/helper.go | 4 +- runtime/collections/utils/helper_test.go | 4 +- runtime/collections/vector.go | 4 +- runtime/config/commandline.go | 4 +- runtime/config/config.go | 4 +- runtime/config/environment.go | 4 +- runtime/config/version.go | 4 +- runtime/db/db.go | 4 +- runtime/dgraphclient/dgraph.go | 4 +- runtime/dgraphclient/dgraphclient.go | 4 +- runtime/dgraphclient/registry.go | 4 +- runtime/dgraphclient/types.go | 4 +- runtime/functions/events.go | 4 +- runtime/functions/fninfo.go | 4 +- runtime/functions/helpers.go | 4 +- runtime/functions/registration.go | 4 +- runtime/graphql/datasource/configuration.go | 4 +- runtime/graphql/datasource/factory.go | 4 +- runtime/graphql/datasource/planner.go | 4 +- runtime/graphql/datasource/source.go | 4 +- runtime/graphql/engine/engine.go | 4 +- runtime/graphql/engine/logging.go | 4 +- runtime/graphql/graphql.go | 4 +- runtime/graphql/schemagen/filters.go | 4 +- runtime/graphql/schemagen/schemagen.go | 4 +- .../graphql/schemagen/schemagen_as_test.go | 4 +- .../graphql/schemagen/schemagen_go_test.go | 4 +- runtime/graphqlclient/graphqlclient.go | 4 +- runtime/hostfunctions/collections.go | 4 +- .../compatibility/compatibility.go | 4 +- .../compatibility/compatibility_test.go | 4 +- runtime/hostfunctions/database.go | 4 +- runtime/hostfunctions/dgraph.go | 4 +- runtime/hostfunctions/graphql.go | 4 +- runtime/hostfunctions/hostfunctions.go | 4 +- runtime/hostfunctions/http.go | 4 +- runtime/hostfunctions/legacy.go | 4 +- runtime/hostfunctions/log.go | 4 +- runtime/hostfunctions/models.go | 4 +- runtime/hosts/hosts.go | 4 +- runtime/httpclient/fetch.go | 4 +- runtime/httpclient/types.go | 4 +- runtime/httpserver/server.go | 4 +- .../postgresql_integration_test.go | 4 +- runtime/langsupport/executionplan.go | 4 +- runtime/langsupport/langtypeinfo.go | 4 +- runtime/langsupport/language.go | 4 +- runtime/langsupport/planner.go | 4 +- runtime/langsupport/primitives/converters.go | 4 +- runtime/langsupport/primitives/decoders.go | 4 +- runtime/langsupport/primitives/encoders.go | 4 +- runtime/langsupport/primitives/readers.go | 4 +- runtime/langsupport/primitives/writers.go | 4 +- runtime/langsupport/typehandler.go | 4 +- runtime/langsupport/typeinfo.go | 4 +- runtime/langsupport/utils.go | 4 +- runtime/langsupport/wasmadapter.go | 4 +- runtime/languages/assemblyscript/adapter.go | 4 +- .../assemblyscript/handler_arraybuffers.go | 4 +- .../assemblyscript/handler_arrays.go | 4 +- .../assemblyscript/handler_classes.go | 4 +- .../languages/assemblyscript/handler_dates.go | 4 +- .../languages/assemblyscript/handler_maps.go | 4 +- .../assemblyscript/handler_objects.go | 4 +- .../assemblyscript/handler_primitivearrays.go | 4 +- .../assemblyscript/handler_primitives.go | 4 +- .../assemblyscript/handler_strings.go | 4 +- .../assemblyscript/handler_typedarrays.go | 4 +- runtime/languages/assemblyscript/hash/hash.go | 4 +- runtime/languages/assemblyscript/planner.go | 4 +- .../testdata/assembly/arraybuffers.ts | 30 +-- .../testdata/assembly/arrays.ts | 98 ++++----- .../testdata/assembly/classes.ts | 129 ++++++------ .../assemblyscript/testdata/assembly/dates.ts | 22 +- .../assemblyscript/testdata/assembly/env.ts | 20 +- .../testdata/assembly/hostfns.ts | 4 +- .../assemblyscript/testdata/assembly/index.ts | 4 +- .../assemblyscript/testdata/assembly/maps.ts | 163 ++++++++------- .../testdata/assembly/primitives.ts | 108 +++++----- .../testdata/assembly/strings.ts | 26 +-- .../testdata/assembly/typedarrays.ts | 188 +++++++++--------- .../assemblyscript/tests/arraybuffers_test.go | 4 +- .../assemblyscript/tests/arrays_test.go | 4 +- .../assemblyscript/tests/classes_test.go | 4 +- .../assemblyscript/tests/dates_test.go | 4 +- .../assemblyscript/tests/env_test.go | 4 +- .../assemblyscript/tests/hostfns_test.go | 4 +- .../assemblyscript/tests/maps_test.go | 4 +- .../assemblyscript/tests/primitives_test.go | 4 +- .../assemblyscript/tests/setup_test.go | 4 +- .../assemblyscript/tests/special_test.go | 4 +- .../assemblyscript/tests/strings_test.go | 4 +- .../assemblyscript/tests/typedarrays_test.go | 4 +- runtime/languages/assemblyscript/typeinfo.go | 4 +- runtime/languages/golang/adapter.go | 4 +- runtime/languages/golang/handler_arrays.go | 4 +- runtime/languages/golang/handler_maps.go | 4 +- runtime/languages/golang/handler_pointers.go | 4 +- .../golang/handler_primitivearrays.go | 4 +- .../languages/golang/handler_primitives.go | 4 +- .../golang/handler_primitiveslices.go | 4 +- runtime/languages/golang/handler_slices.go | 4 +- runtime/languages/golang/handler_strings.go | 4 +- runtime/languages/golang/handler_structs.go | 4 +- runtime/languages/golang/handler_time.go | 4 +- runtime/languages/golang/planner.go | 4 +- runtime/languages/golang/testdata/arrays.go | 4 +- runtime/languages/golang/testdata/hostfns.go | 4 +- runtime/languages/golang/testdata/http.go | 4 +- .../languages/golang/testdata/imports_mock.go | 4 +- .../languages/golang/testdata/imports_wasi.go | 4 +- runtime/languages/golang/testdata/maps.go | 4 +- .../languages/golang/testdata/primitives.go | 4 +- runtime/languages/golang/testdata/slices.go | 4 +- runtime/languages/golang/testdata/special.go | 4 +- runtime/languages/golang/testdata/strings.go | 4 +- runtime/languages/golang/testdata/structs.go | 4 +- runtime/languages/golang/testdata/time.go | 4 +- runtime/languages/golang/testdata/utils.go | 4 +- runtime/languages/golang/tests/arrays_test.go | 4 +- .../languages/golang/tests/hostfns_test.go | 4 +- runtime/languages/golang/tests/http_test.go | 4 +- runtime/languages/golang/tests/maps_test.go | 4 +- .../languages/golang/tests/planner_test.go | 4 +- .../languages/golang/tests/primitives_test.go | 4 +- .../golang/tests/recursivestructs_test.go | 4 +- runtime/languages/golang/tests/setup_test.go | 4 +- runtime/languages/golang/tests/slices_test.go | 4 +- .../languages/golang/tests/special_test.go | 4 +- .../languages/golang/tests/strings_test.go | 4 +- .../languages/golang/tests/structs_test.go | 4 +- runtime/languages/golang/tests/time_test.go | 4 +- runtime/languages/golang/typeinfo.go | 4 +- runtime/languages/languages.go | 4 +- runtime/logger/logger.go | 4 +- runtime/logger/logwriter.go | 4 +- runtime/main.go | 4 +- runtime/manifestdata/events.go | 4 +- runtime/manifestdata/manifestdata.go | 4 +- runtime/metrics/metrics.go | 4 +- runtime/metrics/metrics_test.go | 4 +- runtime/models/bedrock.go | 4 +- runtime/models/legacymodels/classifier.go | 4 +- runtime/models/legacymodels/common.go | 4 +- runtime/models/legacymodels/embeddings.go | 4 +- runtime/models/legacymodels/openai.go | 4 +- runtime/models/legacymodels/textgeneration.go | 4 +- runtime/models/models.go | 4 +- runtime/models/models_test.go | 4 +- runtime/models/types.go | 4 +- runtime/pluginmanager/events.go | 4 +- runtime/pluginmanager/loader.go | 4 +- runtime/pluginmanager/pluginmanager.go | 4 +- runtime/pluginmanager/pluginregistry.go | 4 +- runtime/plugins/metadata/builder.go | 4 +- runtime/plugins/metadata/compat.go | 4 +- runtime/plugins/metadata/extras.go | 4 +- .../plugins/metadata/legacy/v1/metadata.go | 4 +- runtime/plugins/metadata/metadata.go | 4 +- runtime/plugins/metadata/reader.go | 4 +- runtime/plugins/plugins.go | 4 +- runtime/secrets/awssecrets.go | 4 +- runtime/secrets/localsecrets.go | 4 +- runtime/secrets/secrets.go | 4 +- runtime/services/services.go | 4 +- runtime/sqlclient/pooling.go | 4 +- runtime/sqlclient/postgresql.go | 4 +- runtime/sqlclient/registry.go | 4 +- runtime/sqlclient/sqlclient.go | 4 +- runtime/sqlclient/types.go | 4 +- runtime/storage/awsstorage.go | 4 +- runtime/storage/localstorage.go | 4 +- runtime/storage/storage.go | 4 +- runtime/storage/storagemonitor.go | 4 +- runtime/testutils/testutils.go | 4 +- runtime/tools/generate_version/genversion.go | 4 +- runtime/utils/buffers.go | 4 +- runtime/utils/cast.go | 4 +- runtime/utils/cleaner.go | 4 +- runtime/utils/console.go | 4 +- runtime/utils/context.go | 4 +- runtime/utils/http.go | 4 +- runtime/utils/http_test.go | 4 +- runtime/utils/json.go | 4 +- runtime/utils/maps.go | 4 +- runtime/utils/mapstructure.go | 4 +- runtime/utils/pointers.go | 4 +- runtime/utils/sentry.go | 4 +- runtime/utils/slices.go | 4 +- runtime/utils/strings.go | 4 +- runtime/utils/strings_test.go | 4 +- runtime/utils/time.go | 4 +- runtime/utils/utils.go | 4 +- runtime/utils/wasm.go | 4 +- runtime/wasmhost/env.go | 4 +- runtime/wasmhost/fncall.go | 4 +- runtime/wasmhost/hostfns.go | 4 +- runtime/wasmhost/initialization.go | 4 +- runtime/wasmhost/wasmhost.go | 4 +- .../examples/anthropic-functions/package.json | 2 +- .../examples/classification/package.json | 2 +- .../examples/collection/package.json | 2 +- .../examples/dgraph/package.json | 2 +- .../examples/embedding/package.json | 2 +- .../examples/graphql/package.json | 2 +- sdk/assemblyscript/examples/http/package.json | 2 +- .../examples/postgresql/package.json | 2 +- .../examples/simple/package.json | 2 +- .../examples/textgeneration/package.json | 2 +- .../src/assembly/__tests__/graphql.spec.ts | 4 +- .../src/assembly/__tests__/http.spec.ts | 4 +- .../src/assembly/collections.ts | 4 +- sdk/assemblyscript/src/assembly/compat.ts | 4 +- sdk/assemblyscript/src/assembly/database.ts | 4 +- sdk/assemblyscript/src/assembly/dgraph.ts | 4 +- sdk/assemblyscript/src/assembly/graphql.ts | 4 +- sdk/assemblyscript/src/assembly/http.ts | 4 +- sdk/assemblyscript/src/assembly/index.ts | 4 +- sdk/assemblyscript/src/assembly/inference.ts | 4 +- sdk/assemblyscript/src/assembly/models.ts | 4 +- .../src/assembly/overrides/modus_abort.ts | 4 +- .../src/assembly/overrides/modus_console.ts | 4 +- .../src/assembly/overrides/modus_trace.ts | 4 +- sdk/assemblyscript/src/assembly/postgresql.ts | 4 +- sdk/assemblyscript/src/assembly/utils.ts | 4 +- sdk/assemblyscript/src/bin/build-plugin.js | 4 +- sdk/assemblyscript/src/index.ts | 4 +- .../src/models/anthropic/messages.ts | 4 +- .../src/models/experimental/classification.ts | 4 +- .../src/models/experimental/embeddings.ts | 4 +- .../src/models/gemini/generate.ts | 4 +- sdk/assemblyscript/src/models/meta/llama.ts | 4 +- sdk/assemblyscript/src/models/openai/chat.ts | 4 +- .../src/models/openai/embeddings.ts | 4 +- sdk/assemblyscript/src/package.json | 2 +- sdk/assemblyscript/src/tests/graphql.run.ts | 4 +- sdk/assemblyscript/src/tests/http.run.ts | 4 +- .../src/tools/assemblyscript-eslint.js | 4 +- .../src/transform/src/extractor.ts | 4 +- sdk/assemblyscript/src/transform/src/index.ts | 4 +- sdk/assemblyscript/src/transform/src/logo.ts | 4 +- .../src/transform/src/metadata.ts | 4 +- sdk/assemblyscript/src/transform/src/types.ts | 4 +- sdk/go/doc.go | 4 +- sdk/go/pkg/collections/collections.go | 4 +- sdk/go/pkg/collections/collections_test.go | 4 +- sdk/go/pkg/collections/imports_mock.go | 4 +- sdk/go/pkg/collections/imports_wasi.go | 4 +- sdk/go/pkg/console/console.go | 4 +- sdk/go/pkg/console/console_test.go | 4 +- sdk/go/pkg/console/imports_mock.go | 4 +- sdk/go/pkg/console/imports_wasi.go | 4 +- sdk/go/pkg/console/timers.go | 4 +- sdk/go/pkg/db/db.go | 4 +- sdk/go/pkg/db/db_test.go | 4 +- sdk/go/pkg/db/imports_mock.go | 4 +- sdk/go/pkg/db/imports_wasi.go | 4 +- sdk/go/pkg/dgraph/dgraph.go | 4 +- sdk/go/pkg/dgraph/dgraph_test.go | 4 +- sdk/go/pkg/dgraph/imports_mock.go | 4 +- sdk/go/pkg/dgraph/imports_wasi.go | 4 +- sdk/go/pkg/graphql/graphql.go | 4 +- sdk/go/pkg/graphql/graphql_test.go | 4 +- sdk/go/pkg/graphql/imports_mock.go | 4 +- sdk/go/pkg/graphql/imports_wasi.go | 4 +- sdk/go/pkg/http/content.go | 4 +- sdk/go/pkg/http/headers.go | 4 +- sdk/go/pkg/http/http.go | 4 +- sdk/go/pkg/http/http_test.go | 4 +- sdk/go/pkg/http/imports_mock.go | 4 +- sdk/go/pkg/http/imports_wasi.go | 4 +- sdk/go/pkg/http/request.go | 4 +- sdk/go/pkg/http/response.go | 4 +- .../pkg/models/experimental/classification.go | 4 +- sdk/go/pkg/models/experimental/embeddings.go | 4 +- sdk/go/pkg/models/imports_mock.go | 4 +- sdk/go/pkg/models/imports_wasi.go | 4 +- sdk/go/pkg/models/models.go | 4 +- sdk/go/pkg/models/models_test.go | 4 +- sdk/go/pkg/models/openai/chat.go | 4 +- sdk/go/pkg/models/openai/common.go | 4 +- sdk/go/pkg/models/openai/embeddings.go | 4 +- sdk/go/pkg/postgresql/location.go | 4 +- sdk/go/pkg/postgresql/location_test.go | 4 +- sdk/go/pkg/postgresql/point.go | 4 +- sdk/go/pkg/postgresql/point_test.go | 4 +- sdk/go/pkg/postgresql/postgresql.go | 4 +- sdk/go/pkg/testutils/stack.go | 4 +- sdk/go/pkg/utils/utils.go | 4 +- .../tools/modus-go-build/codegen/codegen.go | 4 +- .../modus-go-build/codegen/postprocess.go | 4 +- .../modus-go-build/codegen/preprocess.go | 4 +- .../tools/modus-go-build/compiler/compiler.go | 4 +- sdk/go/tools/modus-go-build/config/config.go | 4 +- .../modus-go-build/extractor/extractor.go | 4 +- .../modus-go-build/extractor/functions.go | 4 +- .../modus-go-build/extractor/packages.go | 4 +- .../modus-go-build/extractor/transform.go | 4 +- .../tools/modus-go-build/gitinfo/gitinfo.go | 4 +- sdk/go/tools/modus-go-build/main.go | 4 +- .../tools/modus-go-build/metadata/metadata.go | 4 +- .../tools/modus-go-build/metagen/metagen.go | 4 +- sdk/go/tools/modus-go-build/metagen/output.go | 4 +- .../tools/modus-go-build/modinfo/modinfo.go | 4 +- sdk/go/tools/modus-go-build/utils/typeinfo.go | 4 +- sdk/go/tools/modus-go-build/utils/utils.go | 4 +- sdk/go/tools/modus-go-build/wasm/wasm.go | 4 +- 333 files changed, 1037 insertions(+), 1019 deletions(-) diff --git a/pkg/manifest/collection.go b/pkg/manifest/collection.go index 7c9f6ab4..68c90d15 100644 --- a/pkg/manifest/collection.go +++ b/pkg/manifest/collection.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/pkg/manifest/dgraph.go b/pkg/manifest/dgraph.go index aae1a53a..7d544a8e 100644 --- a/pkg/manifest/dgraph.go +++ b/pkg/manifest/dgraph.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/pkg/manifest/http.go b/pkg/manifest/http.go index 5d42908e..26ec89eb 100644 --- a/pkg/manifest/http.go +++ b/pkg/manifest/http.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/pkg/manifest/manifest.go b/pkg/manifest/manifest.go index 55498efc..7b1bb319 100644 --- a/pkg/manifest/manifest.go +++ b/pkg/manifest/manifest.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/pkg/manifest/model.go b/pkg/manifest/model.go index e308377a..3f035f47 100644 --- a/pkg/manifest/model.go +++ b/pkg/manifest/model.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/pkg/manifest/postgresql.go b/pkg/manifest/postgresql.go index 4893da85..68e35004 100644 --- a/pkg/manifest/postgresql.go +++ b/pkg/manifest/postgresql.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/pkg/manifest/test/manifest_test.go b/pkg/manifest/test/manifest_test.go index 72747cf1..0464432b 100644 --- a/pkg/manifest/test/manifest_test.go +++ b/pkg/manifest/test/manifest_test.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/pkg/wasmextractor/wasmextractor.go b/pkg/wasmextractor/wasmextractor.go index 65956ce8..d40b2223 100644 --- a/pkg/wasmextractor/wasmextractor.go +++ b/pkg/wasmextractor/wasmextractor.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/runtime/Dockerfile b/runtime/Dockerfile index 896e33f4..a778de8c 100644 --- a/runtime/Dockerfile +++ b/runtime/Dockerfile @@ -14,7 +14,7 @@ RUN GOOS=$TARGETOS GOARCH=$TARGETARCH go build -o modus_runtime # build the container image FROM ubuntu:22.04 -LABEL maintainer="Hypermode, Inc. " +LABEL maintainer="Hypermode Inc. " # add common tools RUN apt-get update && apt-get install -y --no-install-recommends \ diff --git a/runtime/aws/config.go b/runtime/aws/config.go index 3a6044bf..549928fd 100644 --- a/runtime/aws/config.go +++ b/runtime/aws/config.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/runtime/collections/collection.go b/runtime/collections/collection.go index a8f37dca..bf485001 100644 --- a/runtime/collections/collection.go +++ b/runtime/collections/collection.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/runtime/collections/collections.go b/runtime/collections/collections.go index 10fb4a8e..f58c39eb 100644 --- a/runtime/collections/collections.go +++ b/runtime/collections/collections.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/runtime/collections/factory.go b/runtime/collections/factory.go index 3091dda2..262f40b2 100644 --- a/runtime/collections/factory.go +++ b/runtime/collections/factory.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/runtime/collections/in_mem/hnsw/vector_index.go b/runtime/collections/in_mem/hnsw/vector_index.go index d917d2f5..d93b3137 100644 --- a/runtime/collections/in_mem/hnsw/vector_index.go +++ b/runtime/collections/in_mem/hnsw/vector_index.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/runtime/collections/in_mem/hnsw/vector_index_test.go b/runtime/collections/in_mem/hnsw/vector_index_test.go index 33f58748..8746bea5 100644 --- a/runtime/collections/in_mem/hnsw/vector_index_test.go +++ b/runtime/collections/in_mem/hnsw/vector_index_test.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/runtime/collections/in_mem/sequential/vector_index.go b/runtime/collections/in_mem/sequential/vector_index.go index abddf768..315ba819 100644 --- a/runtime/collections/in_mem/sequential/vector_index.go +++ b/runtime/collections/in_mem/sequential/vector_index.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/runtime/collections/in_mem/sequential/vector_index_test.go b/runtime/collections/in_mem/sequential/vector_index_test.go index 1382fabe..0f7a4013 100644 --- a/runtime/collections/in_mem/sequential/vector_index_test.go +++ b/runtime/collections/in_mem/sequential/vector_index_test.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/runtime/collections/in_mem/text_index.go b/runtime/collections/in_mem/text_index.go index 4f880757..2ed7afe4 100644 --- a/runtime/collections/in_mem/text_index.go +++ b/runtime/collections/in_mem/text_index.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/runtime/collections/in_mem/text_index_test.go b/runtime/collections/in_mem/text_index_test.go index 12d8ca5e..a76e5e7d 100644 --- a/runtime/collections/in_mem/text_index_test.go +++ b/runtime/collections/in_mem/text_index_test.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/runtime/collections/index/helper.go b/runtime/collections/index/helper.go index b989b49d..e642946c 100644 --- a/runtime/collections/index/helper.go +++ b/runtime/collections/index/helper.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/runtime/collections/index/index.go b/runtime/collections/index/index.go index 39d39f97..2657854e 100644 --- a/runtime/collections/index/index.go +++ b/runtime/collections/index/index.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/runtime/collections/index/interfaces/interfaces.go b/runtime/collections/index/interfaces/interfaces.go index 47d532ac..7544a289 100644 --- a/runtime/collections/index/interfaces/interfaces.go +++ b/runtime/collections/index/interfaces/interfaces.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/runtime/collections/index/search_path.go b/runtime/collections/index/search_path.go index a1ae931f..f805572a 100644 --- a/runtime/collections/index/search_path.go +++ b/runtime/collections/index/search_path.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/runtime/collections/types.go b/runtime/collections/types.go index 989d54f3..27ca1a2e 100644 --- a/runtime/collections/types.go +++ b/runtime/collections/types.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/runtime/collections/utils/heap.go b/runtime/collections/utils/heap.go index f6c23d2d..6fc75126 100644 --- a/runtime/collections/utils/heap.go +++ b/runtime/collections/utils/heap.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/runtime/collections/utils/heap_test.go b/runtime/collections/utils/heap_test.go index 163bd8c7..3e59a018 100644 --- a/runtime/collections/utils/heap_test.go +++ b/runtime/collections/utils/heap_test.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/runtime/collections/utils/helper.go b/runtime/collections/utils/helper.go index 9106d62d..681b2886 100644 --- a/runtime/collections/utils/helper.go +++ b/runtime/collections/utils/helper.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/runtime/collections/utils/helper_test.go b/runtime/collections/utils/helper_test.go index 067e3be9..f48cb15a 100644 --- a/runtime/collections/utils/helper_test.go +++ b/runtime/collections/utils/helper_test.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/runtime/collections/vector.go b/runtime/collections/vector.go index d5594ad2..d6a7a764 100644 --- a/runtime/collections/vector.go +++ b/runtime/collections/vector.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/runtime/config/commandline.go b/runtime/config/commandline.go index 76e0211c..9439abb7 100644 --- a/runtime/config/commandline.go +++ b/runtime/config/commandline.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/runtime/config/config.go b/runtime/config/config.go index 5f7586d8..04df2e17 100644 --- a/runtime/config/config.go +++ b/runtime/config/config.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/runtime/config/environment.go b/runtime/config/environment.go index 2079774e..627066a0 100644 --- a/runtime/config/environment.go +++ b/runtime/config/environment.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/runtime/config/version.go b/runtime/config/version.go index 8069a599..65096190 100644 --- a/runtime/config/version.go +++ b/runtime/config/version.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/runtime/db/db.go b/runtime/db/db.go index 2f38b55b..3cbfe6d4 100644 --- a/runtime/db/db.go +++ b/runtime/db/db.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/runtime/dgraphclient/dgraph.go b/runtime/dgraphclient/dgraph.go index b93a8a40..531a68e9 100644 --- a/runtime/dgraphclient/dgraph.go +++ b/runtime/dgraphclient/dgraph.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/runtime/dgraphclient/dgraphclient.go b/runtime/dgraphclient/dgraphclient.go index 32d4adbd..2b5ea527 100644 --- a/runtime/dgraphclient/dgraphclient.go +++ b/runtime/dgraphclient/dgraphclient.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/runtime/dgraphclient/registry.go b/runtime/dgraphclient/registry.go index 4a60a54a..666d3a1a 100644 --- a/runtime/dgraphclient/registry.go +++ b/runtime/dgraphclient/registry.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/runtime/dgraphclient/types.go b/runtime/dgraphclient/types.go index 3f7d7a82..0cb8f787 100644 --- a/runtime/dgraphclient/types.go +++ b/runtime/dgraphclient/types.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/runtime/functions/events.go b/runtime/functions/events.go index d229da12..f32d7fc1 100644 --- a/runtime/functions/events.go +++ b/runtime/functions/events.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/runtime/functions/fninfo.go b/runtime/functions/fninfo.go index 35729184..e5a00e4f 100644 --- a/runtime/functions/fninfo.go +++ b/runtime/functions/fninfo.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/runtime/functions/helpers.go b/runtime/functions/helpers.go index bcbd2434..97fe77e9 100644 --- a/runtime/functions/helpers.go +++ b/runtime/functions/helpers.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/runtime/functions/registration.go b/runtime/functions/registration.go index 6732b853..b747162e 100644 --- a/runtime/functions/registration.go +++ b/runtime/functions/registration.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/runtime/graphql/datasource/configuration.go b/runtime/graphql/datasource/configuration.go index ec7f466e..6ac10c68 100644 --- a/runtime/graphql/datasource/configuration.go +++ b/runtime/graphql/datasource/configuration.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/runtime/graphql/datasource/factory.go b/runtime/graphql/datasource/factory.go index 9b00ea14..2352663a 100644 --- a/runtime/graphql/datasource/factory.go +++ b/runtime/graphql/datasource/factory.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/runtime/graphql/datasource/planner.go b/runtime/graphql/datasource/planner.go index db64a3aa..e8d0b404 100644 --- a/runtime/graphql/datasource/planner.go +++ b/runtime/graphql/datasource/planner.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/runtime/graphql/datasource/source.go b/runtime/graphql/datasource/source.go index ae1ecb86..783955e4 100644 --- a/runtime/graphql/datasource/source.go +++ b/runtime/graphql/datasource/source.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/runtime/graphql/engine/engine.go b/runtime/graphql/engine/engine.go index 8965036f..04ddc252 100644 --- a/runtime/graphql/engine/engine.go +++ b/runtime/graphql/engine/engine.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/runtime/graphql/engine/logging.go b/runtime/graphql/engine/logging.go index 6cf8cb50..0aa27bba 100644 --- a/runtime/graphql/engine/logging.go +++ b/runtime/graphql/engine/logging.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/runtime/graphql/graphql.go b/runtime/graphql/graphql.go index 7e9da4aa..d591c329 100644 --- a/runtime/graphql/graphql.go +++ b/runtime/graphql/graphql.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/runtime/graphql/schemagen/filters.go b/runtime/graphql/schemagen/filters.go index 63d6b2cc..26a36ac9 100644 --- a/runtime/graphql/schemagen/filters.go +++ b/runtime/graphql/schemagen/filters.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/runtime/graphql/schemagen/schemagen.go b/runtime/graphql/schemagen/schemagen.go index e40eb8db..a7afec9d 100644 --- a/runtime/graphql/schemagen/schemagen.go +++ b/runtime/graphql/schemagen/schemagen.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/runtime/graphql/schemagen/schemagen_as_test.go b/runtime/graphql/schemagen/schemagen_as_test.go index 7e53c610..5cd1a3dc 100644 --- a/runtime/graphql/schemagen/schemagen_as_test.go +++ b/runtime/graphql/schemagen/schemagen_as_test.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/runtime/graphql/schemagen/schemagen_go_test.go b/runtime/graphql/schemagen/schemagen_go_test.go index 814da295..ee39648c 100644 --- a/runtime/graphql/schemagen/schemagen_go_test.go +++ b/runtime/graphql/schemagen/schemagen_go_test.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/runtime/graphqlclient/graphqlclient.go b/runtime/graphqlclient/graphqlclient.go index be6c1794..1c4b6ff6 100644 --- a/runtime/graphqlclient/graphqlclient.go +++ b/runtime/graphqlclient/graphqlclient.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/runtime/hostfunctions/collections.go b/runtime/hostfunctions/collections.go index c863f960..c7a14afb 100644 --- a/runtime/hostfunctions/collections.go +++ b/runtime/hostfunctions/collections.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/runtime/hostfunctions/compatibility/compatibility.go b/runtime/hostfunctions/compatibility/compatibility.go index d6a8f66b..f18e5c34 100644 --- a/runtime/hostfunctions/compatibility/compatibility.go +++ b/runtime/hostfunctions/compatibility/compatibility.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/runtime/hostfunctions/compatibility/compatibility_test.go b/runtime/hostfunctions/compatibility/compatibility_test.go index 099526f9..3291d0c2 100644 --- a/runtime/hostfunctions/compatibility/compatibility_test.go +++ b/runtime/hostfunctions/compatibility/compatibility_test.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/runtime/hostfunctions/database.go b/runtime/hostfunctions/database.go index bbfadd4f..f41f12eb 100644 --- a/runtime/hostfunctions/database.go +++ b/runtime/hostfunctions/database.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/runtime/hostfunctions/dgraph.go b/runtime/hostfunctions/dgraph.go index 121855ce..fb674032 100644 --- a/runtime/hostfunctions/dgraph.go +++ b/runtime/hostfunctions/dgraph.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/runtime/hostfunctions/graphql.go b/runtime/hostfunctions/graphql.go index e291fb12..ad073ca5 100644 --- a/runtime/hostfunctions/graphql.go +++ b/runtime/hostfunctions/graphql.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/runtime/hostfunctions/hostfunctions.go b/runtime/hostfunctions/hostfunctions.go index 697768f5..9a63a4fd 100644 --- a/runtime/hostfunctions/hostfunctions.go +++ b/runtime/hostfunctions/hostfunctions.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/runtime/hostfunctions/http.go b/runtime/hostfunctions/http.go index c1699a86..01946c1c 100644 --- a/runtime/hostfunctions/http.go +++ b/runtime/hostfunctions/http.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/runtime/hostfunctions/legacy.go b/runtime/hostfunctions/legacy.go index 5991457e..827b75ec 100644 --- a/runtime/hostfunctions/legacy.go +++ b/runtime/hostfunctions/legacy.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/runtime/hostfunctions/log.go b/runtime/hostfunctions/log.go index 0f6e108d..b039ec27 100644 --- a/runtime/hostfunctions/log.go +++ b/runtime/hostfunctions/log.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/runtime/hostfunctions/models.go b/runtime/hostfunctions/models.go index a72756e0..1feb0920 100644 --- a/runtime/hostfunctions/models.go +++ b/runtime/hostfunctions/models.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/runtime/hosts/hosts.go b/runtime/hosts/hosts.go index 381787dd..447ef18d 100644 --- a/runtime/hosts/hosts.go +++ b/runtime/hosts/hosts.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/runtime/httpclient/fetch.go b/runtime/httpclient/fetch.go index aa41bf33..d3cf6a18 100644 --- a/runtime/httpclient/fetch.go +++ b/runtime/httpclient/fetch.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/runtime/httpclient/types.go b/runtime/httpclient/types.go index e43c4549..64fa99d0 100644 --- a/runtime/httpclient/types.go +++ b/runtime/httpclient/types.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/runtime/httpserver/server.go b/runtime/httpserver/server.go index fb722feb..77d0ea69 100644 --- a/runtime/httpserver/server.go +++ b/runtime/httpserver/server.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/runtime/integration_tests/postgresql_integration_test.go b/runtime/integration_tests/postgresql_integration_test.go index b43ca194..f5330db9 100644 --- a/runtime/integration_tests/postgresql_integration_test.go +++ b/runtime/integration_tests/postgresql_integration_test.go @@ -1,11 +1,11 @@ //go:build integration /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/runtime/langsupport/executionplan.go b/runtime/langsupport/executionplan.go index 7c1e7a53..654200e5 100644 --- a/runtime/langsupport/executionplan.go +++ b/runtime/langsupport/executionplan.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/runtime/langsupport/langtypeinfo.go b/runtime/langsupport/langtypeinfo.go index 6608ec51..2c89b5fb 100644 --- a/runtime/langsupport/langtypeinfo.go +++ b/runtime/langsupport/langtypeinfo.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/runtime/langsupport/language.go b/runtime/langsupport/language.go index 5e629167..c834b5d3 100644 --- a/runtime/langsupport/language.go +++ b/runtime/langsupport/language.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/runtime/langsupport/planner.go b/runtime/langsupport/planner.go index cc925e10..73ffbd37 100644 --- a/runtime/langsupport/planner.go +++ b/runtime/langsupport/planner.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/runtime/langsupport/primitives/converters.go b/runtime/langsupport/primitives/converters.go index 86f40883..17eceeef 100644 --- a/runtime/langsupport/primitives/converters.go +++ b/runtime/langsupport/primitives/converters.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/runtime/langsupport/primitives/decoders.go b/runtime/langsupport/primitives/decoders.go index cf60de8f..e4e0fdbb 100644 --- a/runtime/langsupport/primitives/decoders.go +++ b/runtime/langsupport/primitives/decoders.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/runtime/langsupport/primitives/encoders.go b/runtime/langsupport/primitives/encoders.go index 39a38dc2..731b62ba 100644 --- a/runtime/langsupport/primitives/encoders.go +++ b/runtime/langsupport/primitives/encoders.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/runtime/langsupport/primitives/readers.go b/runtime/langsupport/primitives/readers.go index c204cad6..d8a7527d 100644 --- a/runtime/langsupport/primitives/readers.go +++ b/runtime/langsupport/primitives/readers.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/runtime/langsupport/primitives/writers.go b/runtime/langsupport/primitives/writers.go index 1fedd6b6..1d406e6b 100644 --- a/runtime/langsupport/primitives/writers.go +++ b/runtime/langsupport/primitives/writers.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/runtime/langsupport/typehandler.go b/runtime/langsupport/typehandler.go index 0c4dc7e8..23abe169 100644 --- a/runtime/langsupport/typehandler.go +++ b/runtime/langsupport/typehandler.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/runtime/langsupport/typeinfo.go b/runtime/langsupport/typeinfo.go index b8a38ba8..6e69a2bb 100644 --- a/runtime/langsupport/typeinfo.go +++ b/runtime/langsupport/typeinfo.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/runtime/langsupport/utils.go b/runtime/langsupport/utils.go index 4aff6205..1a0a1e1f 100644 --- a/runtime/langsupport/utils.go +++ b/runtime/langsupport/utils.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/runtime/langsupport/wasmadapter.go b/runtime/langsupport/wasmadapter.go index d97f2d03..13d3bead 100644 --- a/runtime/langsupport/wasmadapter.go +++ b/runtime/langsupport/wasmadapter.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/runtime/languages/assemblyscript/adapter.go b/runtime/languages/assemblyscript/adapter.go index 2e7d1584..90e1c9a0 100644 --- a/runtime/languages/assemblyscript/adapter.go +++ b/runtime/languages/assemblyscript/adapter.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/runtime/languages/assemblyscript/handler_arraybuffers.go b/runtime/languages/assemblyscript/handler_arraybuffers.go index cb389213..a7a59740 100644 --- a/runtime/languages/assemblyscript/handler_arraybuffers.go +++ b/runtime/languages/assemblyscript/handler_arraybuffers.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/runtime/languages/assemblyscript/handler_arrays.go b/runtime/languages/assemblyscript/handler_arrays.go index 2fef2b61..1c613681 100644 --- a/runtime/languages/assemblyscript/handler_arrays.go +++ b/runtime/languages/assemblyscript/handler_arrays.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/runtime/languages/assemblyscript/handler_classes.go b/runtime/languages/assemblyscript/handler_classes.go index 588646ee..a043b4ac 100644 --- a/runtime/languages/assemblyscript/handler_classes.go +++ b/runtime/languages/assemblyscript/handler_classes.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/runtime/languages/assemblyscript/handler_dates.go b/runtime/languages/assemblyscript/handler_dates.go index e5c2725e..7d364e63 100644 --- a/runtime/languages/assemblyscript/handler_dates.go +++ b/runtime/languages/assemblyscript/handler_dates.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/runtime/languages/assemblyscript/handler_maps.go b/runtime/languages/assemblyscript/handler_maps.go index 061cbd08..70cf3272 100644 --- a/runtime/languages/assemblyscript/handler_maps.go +++ b/runtime/languages/assemblyscript/handler_maps.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/runtime/languages/assemblyscript/handler_objects.go b/runtime/languages/assemblyscript/handler_objects.go index 4a93ae0d..1e7a4160 100644 --- a/runtime/languages/assemblyscript/handler_objects.go +++ b/runtime/languages/assemblyscript/handler_objects.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/runtime/languages/assemblyscript/handler_primitivearrays.go b/runtime/languages/assemblyscript/handler_primitivearrays.go index 316d90bc..f8f178c0 100644 --- a/runtime/languages/assemblyscript/handler_primitivearrays.go +++ b/runtime/languages/assemblyscript/handler_primitivearrays.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/runtime/languages/assemblyscript/handler_primitives.go b/runtime/languages/assemblyscript/handler_primitives.go index b6c63b0f..7b173de7 100644 --- a/runtime/languages/assemblyscript/handler_primitives.go +++ b/runtime/languages/assemblyscript/handler_primitives.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/runtime/languages/assemblyscript/handler_strings.go b/runtime/languages/assemblyscript/handler_strings.go index a0cbc8d7..e98ab6c3 100644 --- a/runtime/languages/assemblyscript/handler_strings.go +++ b/runtime/languages/assemblyscript/handler_strings.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/runtime/languages/assemblyscript/handler_typedarrays.go b/runtime/languages/assemblyscript/handler_typedarrays.go index 64a73855..61bc77d6 100644 --- a/runtime/languages/assemblyscript/handler_typedarrays.go +++ b/runtime/languages/assemblyscript/handler_typedarrays.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/runtime/languages/assemblyscript/hash/hash.go b/runtime/languages/assemblyscript/hash/hash.go index ede95a79..43e48019 100644 --- a/runtime/languages/assemblyscript/hash/hash.go +++ b/runtime/languages/assemblyscript/hash/hash.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/runtime/languages/assemblyscript/planner.go b/runtime/languages/assemblyscript/planner.go index cb6b5db9..cb0c2d8a 100644 --- a/runtime/languages/assemblyscript/planner.go +++ b/runtime/languages/assemblyscript/planner.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/runtime/languages/assemblyscript/testdata/assembly/arraybuffers.ts b/runtime/languages/assemblyscript/testdata/assembly/arraybuffers.ts index 364c181c..846e6b79 100644 --- a/runtime/languages/assemblyscript/testdata/assembly/arraybuffers.ts +++ b/runtime/languages/assemblyscript/testdata/assembly/arraybuffers.ts @@ -1,27 +1,27 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ export function testArrayBufferInput(buffer: ArrayBuffer): void { - const view = Uint8Array.wrap(buffer); - assert(view.length == 4); - assert(view[0] == 1); - assert(view[1] == 2); - assert(view[2] == 3); - assert(view[3] == 4); + const view = Uint8Array.wrap(buffer); + assert(view.length == 4); + assert(view[0] == 1); + assert(view[1] == 2); + assert(view[2] == 3); + assert(view[3] == 4); } export function testArrayBufferOutput(): ArrayBuffer { - const buffer = new ArrayBuffer(4); - const view = Uint8Array.wrap(buffer); - view[0] = 1; - view[1] = 2; - view[2] = 3; - view[3] = 4; - return buffer; + const buffer = new ArrayBuffer(4); + const view = Uint8Array.wrap(buffer); + view[0] = 1; + view[1] = 2; + view[2] = 3; + view[3] = 4; + return buffer; } diff --git a/runtime/languages/assemblyscript/testdata/assembly/arrays.ts b/runtime/languages/assemblyscript/testdata/assembly/arrays.ts index 7e17c49c..d8a16e64 100644 --- a/runtime/languages/assemblyscript/testdata/assembly/arrays.ts +++ b/runtime/languages/assemblyscript/testdata/assembly/arrays.ts @@ -1,107 +1,111 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ export function testArrayOutput_i8(): i8[] { - return [1, 2, 3]; + return [1, 2, 3]; } export function testArrayInput_i8(arr: i8[]): void { - assert(arr.length == 3); - assert(arr[0] == 1); - assert(arr[1] == 2); - assert(arr[2] == 3); + assert(arr.length == 3); + assert(arr[0] == 1); + assert(arr[1] == 2); + assert(arr[2] == 3); } export function testArrayOutput_i8_empty(): i8[] { - return []; + return []; } export function testArrayInput_i8_empty(arr: i8[]): void { - assert(arr.length == 0); + assert(arr.length == 0); } export function testArrayOutput_i8_null(): i8[] | null { - return null; + return null; } export function testArrayInput_i8_null(arr: i8[] | null): void { - assert(arr == null); + assert(arr == null); } export function testArrayInput_i32(arr: i32[]): void { - assert(arr.length == 3); - assert(arr[0] == 1); - assert(arr[1] == 2); - assert(arr[2] == 3); + assert(arr.length == 3); + assert(arr[0] == 1); + assert(arr[1] == 2); + assert(arr[2] == 3); } export function testArrayOutput_i32(): i32[] { - return [1, 2, 3]; + return [1, 2, 3]; } export function testArrayInput_f32(arr: f32[]): void { - assert(arr.length == 3); - assert(arr[0] == 1); - assert(arr[1] == 2); - assert(arr[2] == 3); + assert(arr.length == 3); + assert(arr[0] == 1); + assert(arr[1] == 2); + assert(arr[2] == 3); } export function testArrayOutput_f32(): f32[] { - return [1, 2, 3]; + return [1, 2, 3]; } export function testArrayInput_string(arr: string[]): void { - assert(arr.length == 3); - assert(arr[0] == "abc"); - assert(arr[1] == "def"); - assert(arr[2] == "ghi"); + assert(arr.length == 3); + assert(arr[0] == "abc"); + assert(arr[1] == "def"); + assert(arr[2] == "ghi"); } export function testArrayOutput_string(): string[] { - return ["abc", "def", "ghi"]; + return ["abc", "def", "ghi"]; } export function testArrayInput_string_2d(arr: string[][]): void { - assert(arr.length == 3); - assert(arr[0].length == 3); - assert(arr[0][0] == "abc"); - assert(arr[0][1] == "def"); - assert(arr[0][2] == "ghi"); - assert(arr[1].length == 3); - assert(arr[1][0] == "jkl"); - assert(arr[1][1] == "mno"); - assert(arr[1][2] == "pqr"); - assert(arr[2].length == 3); - assert(arr[2][0] == "stu"); - assert(arr[2][1] == "vwx"); - assert(arr[2][2] == "yz"); + assert(arr.length == 3); + assert(arr[0].length == 3); + assert(arr[0][0] == "abc"); + assert(arr[0][1] == "def"); + assert(arr[0][2] == "ghi"); + assert(arr[1].length == 3); + assert(arr[1][0] == "jkl"); + assert(arr[1][1] == "mno"); + assert(arr[1][2] == "pqr"); + assert(arr[2].length == 3); + assert(arr[2][0] == "stu"); + assert(arr[2][1] == "vwx"); + assert(arr[2][2] == "yz"); } export function testArrayOutput_string_2d(): string[][] { - return [["abc", "def", "ghi"], ["jkl", "mno", "pqr"], ["stu", "vwx", "yz"]]; + return [ + ["abc", "def", "ghi"], + ["jkl", "mno", "pqr"], + ["stu", "vwx", "yz"], + ]; } export function testArrayInput_string_2d_empty(arr: string[][]): void { - assert(arr.length == 0); + assert(arr.length == 0); } export function testArrayOutput_string_2d_empty(): string[][] { - return []; + return []; } class TestObject1 { - constructor(public a: i32, public b: i32) { } + constructor(public a: i32, public b: i32) {} } export function testArrayIteration(arr: TestObject1[]): void { - for (let i = 0; i < arr.length; i++) { - let obj = arr[i]; - console.log(`[${i}]: a=${obj.a}, b=${obj.b}`); - } + for (let i = 0; i < arr.length; i++) { + let obj = arr[i]; + console.log(`[${i}]: a=${obj.a}, b=${obj.b}`); + } } diff --git a/runtime/languages/assemblyscript/testdata/assembly/classes.ts b/runtime/languages/assemblyscript/testdata/assembly/classes.ts index 00dd6e9d..4125e4d6 100644 --- a/runtime/languages/assemblyscript/testdata/assembly/classes.ts +++ b/runtime/languages/assemblyscript/testdata/assembly/classes.ts @@ -1,72 +1,72 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ class TestClass1 { - a!: bool; + a!: bool; } class TestClass1_map { - a!: bool; + a!: bool; } class TestClass2 { - a!: bool; - b!: isize; + a!: bool; + b!: isize; } class TestClass2_map { - a!: bool; - b!: isize; + a!: bool; + b!: isize; } class TestClass3 { - a!: bool; - b!: isize; - c!: string; + a!: bool; + b!: isize; + c!: string; } class TestClass3_map { - a!: bool; - b!: isize; - c!: string; + a!: bool; + b!: isize; + c!: string; } class TestClass4 { - a!: bool; - b!: isize; - c!: string | null; + a!: bool; + b!: isize; + c!: string | null; } class TestClass4_map { - a!: bool; - b!: isize; - c!: string | null; + a!: bool; + b!: isize; + c!: string | null; } class TestClass5 { - a!: bool; - b!: TestClass3; + a!: bool; + b!: TestClass3; } class TestClass5_map { - a!: bool; - b!: TestClass3_map; + a!: bool; + b!: TestClass3_map; } class TestRecursiveClass { - a!: bool; - b!: TestRecursiveClass | null; + a!: bool; + b!: TestRecursiveClass | null; } class TestRecursiveClass_map { - a!: bool; - b!: TestRecursiveClass_map | null; + a!: bool; + b!: TestRecursiveClass_map | null; } const testClass1 = { a: true }; @@ -90,110 +90,109 @@ const testRecursiveClass_map = { a: true }; testRecursiveClass_map.b = testRecursiveClass_map; export function testClassInput1(o: TestClass1): void { - assert(o.a == testClass1.a); + assert(o.a == testClass1.a); } export function testClassOutput1(): TestClass1 { - return testClass1; + return testClass1; } export function testClassOutput1_map(): TestClass1_map { - return testClass1_map; + return testClass1_map; } export function testClassInput2(o: TestClass2): void { - assert(o.a == testClass2.a); - assert(o.b == testClass2.b); + assert(o.a == testClass2.a); + assert(o.b == testClass2.b); } export function testClassOutput2(): TestClass2 { - return testClass2; + return testClass2; } export function testClassOutput2_map(): TestClass2_map { - return testClass2_map; + return testClass2_map; } export function testClassInput3(o: TestClass3): void { - assert(o.a == testClass3.a); - assert(o.b == testClass3.b); - assert(o.c == testClass3.c); + assert(o.a == testClass3.a); + assert(o.b == testClass3.b); + assert(o.c == testClass3.c); } export function testClassOutput3(): TestClass3 { - return testClass3; + return testClass3; } export function testClassOutput3_map(): TestClass3_map { - return testClass3_map; + return testClass3_map; } - export function testClassInput4_withNull(o: TestClass4): void { - assert(o.a == testClass4_withNull.a); - assert(o.b == testClass4_withNull.b); - assert(o.c == testClass4_withNull.c); + assert(o.a == testClass4_withNull.a); + assert(o.b == testClass4_withNull.b); + assert(o.c == testClass4_withNull.c); } export function testClassOutput4(): TestClass4 { - return testClass4; + return testClass4; } export function testClassOutput4_map(): TestClass4_map { - return testClass4_map; + return testClass4_map; } export function testClassInput4(o: TestClass4): void { - assert(o.a == testClass4.a); - assert(o.b == testClass4.b); - assert(o.c == testClass4.c); + assert(o.a == testClass4.a); + assert(o.b == testClass4.b); + assert(o.c == testClass4.c); } export function testClassOutput4_withNull(): TestClass4 { - return testClass4_withNull; + return testClass4_withNull; } export function testClassOutput4_map_withNull(): TestClass4_map { - return testClass4_map_withNull; + return testClass4_map_withNull; } export function testClassInput5(o: TestClass5): void { - assert(o.a == testClass5.a); - assert(o.b.a == testClass5.b.a); - assert(o.b.b == testClass5.b.b); - assert(o.b.c == testClass5.b.c); + assert(o.a == testClass5.a); + assert(o.b.a == testClass5.b.a); + assert(o.b.b == testClass5.b.b); + assert(o.b.c == testClass5.b.c); } export function testClassOutput5(): TestClass5 { - return testClass5; + return testClass5; } export function testClassOutput5_map(): TestClass5_map { - return testClass5_map; + return testClass5_map; } export function testRecursiveClassInput(o: TestRecursiveClass): void { - assert(o.a == testRecursiveClass.a); - assert(o.b == testRecursiveClass.b); + assert(o.a == testRecursiveClass.a); + assert(o.b == testRecursiveClass.b); } export function testRecursiveClassOutput(): TestRecursiveClass { - return testRecursiveClass; + return testRecursiveClass; } export function testNullableClassInput1(o: TestClass1 | null): void { - assert(o != null); - assert(o!.a == testClass1.a); + assert(o != null); + assert(o!.a == testClass1.a); } export function testNullableClassOutput1(): TestClass1 | null { - return testClass1; + return testClass1; } export function testNullableClassInput1_null(o: TestClass1 | null): void { - assert(o == null); + assert(o == null); } export function testNullableClassOutput1_null(): TestClass1 | null { - return null; + return null; } diff --git a/runtime/languages/assemblyscript/testdata/assembly/dates.ts b/runtime/languages/assemblyscript/testdata/assembly/dates.ts index c39c4932..5e199f1b 100644 --- a/runtime/languages/assemblyscript/testdata/assembly/dates.ts +++ b/runtime/languages/assemblyscript/testdata/assembly/dates.ts @@ -1,38 +1,38 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ const testTime = Date.parse("2024-12-31T23:59:59.999Z").getTime(); export function testDateInput(d: Date): void { - const ts = d.getTime(); - assert(ts == testTime, `Expected ${testTime}, got ${ts}`); + const ts = d.getTime(); + assert(ts == testTime, `Expected ${testTime}, got ${ts}`); } export function testDateOutput(): Date { - return new Date(testTime); + return new Date(testTime); } export function testNullDateInput(d: Date | null): void { - assert(d != null, `Expected non-null, got null`); + assert(d != null, `Expected non-null, got null`); - const ts = d!.getTime(); - assert(ts == testTime, `Expected ${testTime}, got ${ts}`); + const ts = d!.getTime(); + assert(ts == testTime, `Expected ${testTime}, got ${ts}`); } export function testNullDateOutput(): Date | null { - return new Date(testTime); + return new Date(testTime); } export function testNullDateInput_null(d: Date | null): void { - assert(d == null, `Expected null, got ${d!.getTime()}`); + assert(d == null, `Expected null, got ${d!.getTime()}`); } export function testNullDateOutput_null(): Date | null { - return null; + return null; } diff --git a/runtime/languages/assemblyscript/testdata/assembly/env.ts b/runtime/languages/assemblyscript/testdata/assembly/env.ts index 859798c7..9b96fef4 100644 --- a/runtime/languages/assemblyscript/testdata/assembly/env.ts +++ b/runtime/languages/assemblyscript/testdata/assembly/env.ts @@ -1,25 +1,25 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ export function now(): i64 { - return Date.now(); + return Date.now(); } export function spin(duration: i64): i64 { - const start = performance.now(); + const start = performance.now(); - let d = Date.now(); - while (Date.now() - d <= duration) { - // do nothing - } + let d = Date.now(); + while (Date.now() - d <= duration) { + // do nothing + } - const end = performance.now(); + const end = performance.now(); - return i64(end - start); + return i64(end - start); } diff --git a/runtime/languages/assemblyscript/testdata/assembly/hostfns.ts b/runtime/languages/assemblyscript/testdata/assembly/hostfns.ts index 12ce9fa3..33d9a14e 100644 --- a/runtime/languages/assemblyscript/testdata/assembly/hostfns.ts +++ b/runtime/languages/assemblyscript/testdata/assembly/hostfns.ts @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/runtime/languages/assemblyscript/testdata/assembly/index.ts b/runtime/languages/assemblyscript/testdata/assembly/index.ts index 48f64dd2..f2203538 100644 --- a/runtime/languages/assemblyscript/testdata/assembly/index.ts +++ b/runtime/languages/assemblyscript/testdata/assembly/index.ts @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/runtime/languages/assemblyscript/testdata/assembly/maps.ts b/runtime/languages/assemblyscript/testdata/assembly/maps.ts index 36469ca1..71d24fbe 100644 --- a/runtime/languages/assemblyscript/testdata/assembly/maps.ts +++ b/runtime/languages/assemblyscript/testdata/assembly/maps.ts @@ -1,125 +1,140 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ export function testMapInput_u8_string(m: Map): void { - assert(m.size == 3, "expected size 3"); + assert(m.size == 3, "expected size 3"); - assert(m.has(1), "expected key 1 to be present"); - assert(m.get(1) == "a", "expected value for key 1 to be 'a'"); + assert(m.has(1), "expected key 1 to be present"); + assert(m.get(1) == "a", "expected value for key 1 to be 'a'"); - assert(m.has(2), "expected key 2 to be present"); - assert(m.get(2) == "b", "expected value for key 2 to be 'b'"); + assert(m.has(2), "expected key 2 to be present"); + assert(m.get(2) == "b", "expected value for key 2 to be 'b'"); - assert(m.has(3), "expected key 3 to be present"); - assert(m.get(3) == "c", "expected value for key 3 to be 'c'"); + assert(m.has(3), "expected key 3 to be present"); + assert(m.get(3) == "c", "expected value for key 3 to be 'c'"); } export function testMapOutput_u8_string(): Map { - const m = new Map(); - m.set(1, "a"); - m.set(2, "b"); - m.set(3, "c"); - return m; + const m = new Map(); + m.set(1, "a"); + m.set(2, "b"); + m.set(3, "c"); + return m; } export function testMapInput_string_string(m: Map): void { - assert(m.size == 3, "expected size 3"); + assert(m.size == 3, "expected size 3"); - assert(m.has("a"), "expected key 'a' to be present"); - assert(m.get("a") == "1", "expected value for key 'a' to be '1'"); + assert(m.has("a"), "expected key 'a' to be present"); + assert(m.get("a") == "1", "expected value for key 'a' to be '1'"); - assert(m.has("b"), "expected key 'b' to be present"); - assert(m.get("b") == "2", "expected value for key 'b' to be '2'"); + assert(m.has("b"), "expected key 'b' to be present"); + assert(m.get("b") == "2", "expected value for key 'b' to be '2'"); - assert(m.has("c"), "expected key 'c' to be present"); - assert(m.get("c") == "3", "expected value for key 'c' to be '3'"); + assert(m.has("c"), "expected key 'c' to be present"); + assert(m.get("c") == "3", "expected value for key 'c' to be '3'"); } export function testMapOutput_string_string(): Map { - const m = new Map(); - m.set("a", "1"); - m.set("b", "2"); - m.set("c", "3"); - return m; + const m = new Map(); + m.set("a", "1"); + m.set("b", "2"); + m.set("c", "3"); + return m; } -export function testNullableMapInput_string_string(m: Map | null): void { - assert(m != null, "expected non-null map"); - assert(m!.size == 3, "expected size 3"); +export function testNullableMapInput_string_string( + m: Map | null +): void { + assert(m != null, "expected non-null map"); + assert(m!.size == 3, "expected size 3"); - assert(m!.has("a"), "expected key 'a' to be present"); - assert(m!.get("a") == "1", "expected value for key 'a' to be '1'"); + assert(m!.has("a"), "expected key 'a' to be present"); + assert(m!.get("a") == "1", "expected value for key 'a' to be '1'"); - assert(m!.has("b"), "expected key 'b' to be present"); - assert(m!.get("b") == "2", "expected value for key 'b' to be '2'"); + assert(m!.has("b"), "expected key 'b' to be present"); + assert(m!.get("b") == "2", "expected value for key 'b' to be '2'"); - assert(m!.has("c"), "expected key 'c' to be present"); - assert(m!.get("c") == "3", "expected value for key 'c' to be '3'"); + assert(m!.has("c"), "expected key 'c' to be present"); + assert(m!.get("c") == "3", "expected value for key 'c' to be '3'"); } -export function testNullableMapInput_string_string_null(m: Map | null): void { - assert(m == null, "expected null map"); +export function testNullableMapInput_string_string_null( + m: Map | null +): void { + assert(m == null, "expected null map"); } -export function testNullableMapOutput_string_string(): Map | null { - const m = new Map(); - m.set("a", "1"); - m.set("b", "2"); - m.set("c", "3"); - return m; +export function testNullableMapOutput_string_string(): Map< + string, + string +> | null { + const m = new Map(); + m.set("a", "1"); + m.set("b", "2"); + m.set("c", "3"); + return m; } -export function testNullableMapOutput_string_string_null(): Map | null { - return null; +export function testNullableMapOutput_string_string_null(): Map< + string, + string +> | null { + return null; } export function testIterateMap_string_string(m: Map): void { - const keys = m.keys(); - const values = m.values(); - for (let i = 0; i < m.size; i++) { - const key = keys[i]; - const value = values[i]; - console.log(key + " => " + value); - } + const keys = m.keys(); + const values = m.values(); + for (let i = 0; i < m.size; i++) { + const key = keys[i]; + const value = values[i]; + console.log(key + " => " + value); + } } -export function testMapLookup_string_string(m: Map, key: string): string | null { - if (m.has(key)) { - return m.get(key); - } - return null; +export function testMapLookup_string_string( + m: Map, + key: string +): string | null { + if (m.has(key)) { + return m.get(key); + } + return null; } class TestClassWithMap { - m!: Map; + m!: Map; } -export function testClassContainingMapInput_string_string(c: TestClassWithMap): void { - assert(c != null, "expected non-null class"); - assert(c.m != null, "expected non-null map"); - assert(c.m.size == 3, "expected size 3"); +export function testClassContainingMapInput_string_string( + c: TestClassWithMap +): void { + assert(c != null, "expected non-null class"); + assert(c.m != null, "expected non-null map"); + assert(c.m.size == 3, "expected size 3"); - assert(c.m.has("a"), "expected key 'a' to be present"); - assert(c.m.get("a") == "1", "expected value for key 'a' to be '1'"); + assert(c.m.has("a"), "expected key 'a' to be present"); + assert(c.m.get("a") == "1", "expected value for key 'a' to be '1'"); - assert(c.m.has("b"), "expected key 'b' to be present"); - assert(c.m.get("b") == "2", "expected value for key 'b' to be '2'"); + assert(c.m.has("b"), "expected key 'b' to be present"); + assert(c.m.get("b") == "2", "expected value for key 'b' to be '2'"); - assert(c.m.has("c"), "expected key 'c' to be present"); - assert(c.m.get("c") == "3", "expected value for key 'c' to be '3'"); + assert(c.m.has("c"), "expected key 'c' to be present"); + assert(c.m.get("c") == "3", "expected value for key 'c' to be '3'"); } export function testClassContainingMapOutput_string_string(): TestClassWithMap { - const c = new TestClassWithMap(); - c.m = new Map(); - c.m.set("a", "1"); - c.m.set("b", "2"); - c.m.set("c", "3"); - return c; + const c = new TestClassWithMap(); + c.m = new Map(); + c.m.set("a", "1"); + c.m.set("b", "2"); + c.m.set("c", "3"); + return c; } diff --git a/runtime/languages/assemblyscript/testdata/assembly/primitives.ts b/runtime/languages/assemblyscript/testdata/assembly/primitives.ts index 0c2fbd27..ecb317be 100644 --- a/runtime/languages/assemblyscript/testdata/assembly/primitives.ts +++ b/runtime/languages/assemblyscript/testdata/assembly/primitives.ts @@ -1,216 +1,216 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ export function testBoolInput_false(b: bool): void { - assert(b == false); + assert(b == false); } export function testBoolInput_true(b: bool): void { - assert(b == true); + assert(b == true); } export function testBoolOutput_false(): bool { - return false; + return false; } export function testBoolOutput_true(): bool { - return true; + return true; } export function testI8Input_min(n: i8): void { - assert(n == i8.MIN_VALUE); + assert(n == i8.MIN_VALUE); } export function testI8Input_max(n: i8): void { - assert(n == i8.MAX_VALUE); + assert(n == i8.MAX_VALUE); } export function testI8Output_min(): i8 { - return i8.MIN_VALUE; + return i8.MIN_VALUE; } export function testI8Output_max(): i8 { - return i8.MAX_VALUE; + return i8.MAX_VALUE; } export function testI16Input_min(n: i16): void { - assert(n == i16.MIN_VALUE); + assert(n == i16.MIN_VALUE); } export function testI16Input_max(n: i16): void { - assert(n == i16.MAX_VALUE); + assert(n == i16.MAX_VALUE); } export function testI16Output_min(): i16 { - return i16.MIN_VALUE; + return i16.MIN_VALUE; } export function testI16Output_max(): i16 { - return i16.MAX_VALUE; + return i16.MAX_VALUE; } export function testI32Input_min(n: i32): void { - assert(n == i32.MIN_VALUE); + assert(n == i32.MIN_VALUE); } export function testI32Input_max(n: i32): void { - assert(n == i32.MAX_VALUE); + assert(n == i32.MAX_VALUE); } export function testI32Output_min(): i32 { - return i32.MIN_VALUE; + return i32.MIN_VALUE; } export function testI32Output_max(): i32 { - return i32.MAX_VALUE; + return i32.MAX_VALUE; } export function testI64Input_min(n: i64): void { - assert(n == i64.MIN_VALUE); + assert(n == i64.MIN_VALUE); } export function testI64Input_max(n: i64): void { - assert(n == i64.MAX_VALUE); + assert(n == i64.MAX_VALUE); } export function testI64Output_min(): i64 { - return i64.MIN_VALUE; + return i64.MIN_VALUE; } export function testI64Output_max(): i64 { - return i64.MAX_VALUE; + return i64.MAX_VALUE; } export function testISizeInput_min(n: isize): void { - assert(n == isize.MIN_VALUE); + assert(n == isize.MIN_VALUE); } export function testISizeInput_max(n: isize): void { - assert(n == isize.MAX_VALUE); + assert(n == isize.MAX_VALUE); } export function testISizeOutput_min(): isize { - return isize.MIN_VALUE; + return isize.MIN_VALUE; } export function testISizeOutput_max(): isize { - return isize.MAX_VALUE; + return isize.MAX_VALUE; } export function testU8Input_min(n: u8): void { - assert(n == u8.MIN_VALUE); + assert(n == u8.MIN_VALUE); } export function testU8Input_max(n: u8): void { - assert(n == u8.MAX_VALUE); + assert(n == u8.MAX_VALUE); } export function testU8Output_min(): u8 { - return u8.MIN_VALUE; + return u8.MIN_VALUE; } export function testU8Output_max(): u8 { - return u8.MAX_VALUE; + return u8.MAX_VALUE; } export function testU16Input_min(n: u16): void { - assert(n == u16.MIN_VALUE); + assert(n == u16.MIN_VALUE); } export function testU16Input_max(n: u16): void { - assert(n == u16.MAX_VALUE); + assert(n == u16.MAX_VALUE); } export function testU16Output_min(): u16 { - return u16.MIN_VALUE; + return u16.MIN_VALUE; } export function testU16Output_max(): u16 { - return u16.MAX_VALUE; + return u16.MAX_VALUE; } export function testU32Input_min(n: u32): void { - assert(n == u32.MIN_VALUE); + assert(n == u32.MIN_VALUE); } export function testU32Input_max(n: u32): void { - assert(n == u32.MAX_VALUE); + assert(n == u32.MAX_VALUE); } export function testU32Output_min(): u32 { - return u32.MIN_VALUE; + return u32.MIN_VALUE; } export function testU32Output_max(): u32 { - return u32.MAX_VALUE; + return u32.MAX_VALUE; } export function testU64Input_min(n: u64): void { - assert(n == u64.MIN_VALUE); + assert(n == u64.MIN_VALUE); } export function testU64Input_max(n: u64): void { - assert(n == u64.MAX_VALUE); + assert(n == u64.MAX_VALUE); } export function testU64Output_min(): u64 { - return u64.MIN_VALUE; + return u64.MIN_VALUE; } export function testU64Output_max(): u64 { - return u64.MAX_VALUE; + return u64.MAX_VALUE; } export function testUSizeInput_min(n: usize): void { - assert(n == usize.MIN_VALUE); + assert(n == usize.MIN_VALUE); } export function testUSizeInput_max(n: usize): void { - assert(n == usize.MAX_VALUE); + assert(n == usize.MAX_VALUE); } export function testUSizeOutput_min(): usize { - return usize.MIN_VALUE; + return usize.MIN_VALUE; } export function testUSizeOutput_max(): usize { - return usize.MAX_VALUE; + return usize.MAX_VALUE; } export function testF32Input_min(n: f32): void { - assert(n == f32.MIN_VALUE); + assert(n == f32.MIN_VALUE); } export function testF32Input_max(n: f32): void { - assert(n == f32.MAX_VALUE); + assert(n == f32.MAX_VALUE); } export function testF32Output_min(): f32 { - return f32.MIN_VALUE; + return f32.MIN_VALUE; } export function testF32Output_max(): f32 { - return f32.MAX_VALUE; + return f32.MAX_VALUE; } export function testF64Input_min(n: f64): void { - assert(n == f64.MIN_VALUE); + assert(n == f64.MIN_VALUE); } export function testF64Input_max(n: f64): void { - assert(n == f64.MAX_VALUE); + assert(n == f64.MAX_VALUE); } export function testF64Output_min(): f64 { - return f64.MIN_VALUE; + return f64.MIN_VALUE; } export function testF64Output_max(): f64 { - return f64.MAX_VALUE; + return f64.MAX_VALUE; } diff --git a/runtime/languages/assemblyscript/testdata/assembly/strings.ts b/runtime/languages/assemblyscript/testdata/assembly/strings.ts index 1ef033b8..7de9085e 100644 --- a/runtime/languages/assemblyscript/testdata/assembly/strings.ts +++ b/runtime/languages/assemblyscript/testdata/assembly/strings.ts @@ -1,51 +1,51 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ // "Hello World" in Japanese -const testString = "こんにちは、世界" +const testString = "こんにちは、世界"; export function testStringInput(s: string): void { - assert(s == testString); + assert(s == testString); } export function testStringOutput(): string { - return testString; + return testString; } export function testStringInput_empty(s: string): void { - assert(s == ""); + assert(s == ""); } export function testStringOutput_empty(): string { - return ""; + return ""; } export function testNullStringInput(s: string | null): void { - assert(s == testString); + assert(s == testString); } export function testNullStringOutput(): string | null { - return testString; + return testString; } export function testNullStringInput_empty(s: string | null): void { - assert(s == ""); + assert(s == ""); } export function testNullStringOutput_empty(): string | null { - return ""; + return ""; } export function testNullStringInput_null(s: string | null): void { - assert(s == null); + assert(s == null); } export function testNullStringOutput_null(): string | null { - return null; + return null; } diff --git a/runtime/languages/assemblyscript/testdata/assembly/typedarrays.ts b/runtime/languages/assemblyscript/testdata/assembly/typedarrays.ts index 50d91690..895966fc 100644 --- a/runtime/languages/assemblyscript/testdata/assembly/typedarrays.ts +++ b/runtime/languages/assemblyscript/testdata/assembly/typedarrays.ts @@ -1,178 +1,178 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ export function testInt8ArrayInput(view: Int8Array): void { - assert(view.length == 4); - assert(view[0] == 0); - assert(view[1] == 1); - assert(view[2] == 2); - assert(view[3] == 3); + assert(view.length == 4); + assert(view[0] == 0); + assert(view[1] == 1); + assert(view[2] == 2); + assert(view[3] == 3); } export function testInt8ArrayOutput(): Int8Array { - const view = new Int8Array(4); - view.set([0, 1, 2, 3]); - return view; + const view = new Int8Array(4); + view.set([0, 1, 2, 3]); + return view; } export function testInt16ArrayInput(view: Int16Array): void { - assert(view.length == 4); - assert(view[0] == 0); - assert(view[1] == 1); - assert(view[2] == 2); - assert(view[3] == 3); + assert(view.length == 4); + assert(view[0] == 0); + assert(view[1] == 1); + assert(view[2] == 2); + assert(view[3] == 3); } export function testInt16ArrayOutput(): Int16Array { - const view = new Int16Array(4); - view.set([0, 1, 2, 3]); - return view; + const view = new Int16Array(4); + view.set([0, 1, 2, 3]); + return view; } export function testInt32ArrayInput(view: Int32Array): void { - assert(view.length == 4); - assert(view[0] == 0); - assert(view[1] == 1); - assert(view[2] == 2); - assert(view[3] == 3); + assert(view.length == 4); + assert(view[0] == 0); + assert(view[1] == 1); + assert(view[2] == 2); + assert(view[3] == 3); } export function testInt32ArrayOutput(): Int32Array { - const view = new Int32Array(4); - view.set([0, 1, 2, 3]); - return view; + const view = new Int32Array(4); + view.set([0, 1, 2, 3]); + return view; } export function testInt64ArrayInput(view: Int64Array): void { - assert(view.length == 4); - assert(view[0] == 0); - assert(view[1] == 1); - assert(view[2] == 2); - assert(view[3] == 3); + assert(view.length == 4); + assert(view[0] == 0); + assert(view[1] == 1); + assert(view[2] == 2); + assert(view[3] == 3); } export function testInt64ArrayOutput(): Int64Array { - const view = new Int64Array(4); - view.set([0, 1, 2, 3]); - return view; + const view = new Int64Array(4); + view.set([0, 1, 2, 3]); + return view; } export function testUint8ArrayInput(view: Uint8Array): void { - assert(view.length == 4); - assert(view[0] == 0); - assert(view[1] == 1); - assert(view[2] == 2); - assert(view[3] == 3); + assert(view.length == 4); + assert(view[0] == 0); + assert(view[1] == 1); + assert(view[2] == 2); + assert(view[3] == 3); } export function testUint8ArrayInput_empty(view: Uint8Array): void { - assert(view.length == 0); + assert(view.length == 0); } export function testUint8ArrayInput_null(view: Uint8Array | null): void { - assert(view == null); + assert(view == null); } export function testUint8ArrayOutput(): Uint8Array { - const view = new Uint8Array(4); - view.set([0, 1, 2, 3]); - return view; + const view = new Uint8Array(4); + view.set([0, 1, 2, 3]); + return view; } export function testUint8ArrayOutput_empty(): Uint8Array { - return new Uint8Array(0); + return new Uint8Array(0); } export function testUint8ArrayOutput_null(): Uint8Array | null { - return null; + return null; } export function testUint8ClampedArrayInput(view: Uint8ClampedArray): void { - assert(view.length == 4); - assert(view[0] == 0); - assert(view[1] == 1); - assert(view[2] == 2); - assert(view[3] == 3); + assert(view.length == 4); + assert(view[0] == 0); + assert(view[1] == 1); + assert(view[2] == 2); + assert(view[3] == 3); } export function testUint8ClampedArrayOutput(): Uint8ClampedArray { - const view = new Uint8ClampedArray(4); - view.set([0, 1, 2, 3]); - return view; + const view = new Uint8ClampedArray(4); + view.set([0, 1, 2, 3]); + return view; } export function testUint16ArrayInput(view: Uint16Array): void { - assert(view.length == 4); - assert(view[0] == 0); - assert(view[1] == 1); - assert(view[2] == 2); - assert(view[3] == 3); + assert(view.length == 4); + assert(view[0] == 0); + assert(view[1] == 1); + assert(view[2] == 2); + assert(view[3] == 3); } export function testUint16ArrayOutput(): Uint16Array { - const view = new Uint16Array(4); - view.set([0, 1, 2, 3]); - return view; + const view = new Uint16Array(4); + view.set([0, 1, 2, 3]); + return view; } export function testUint32ArrayInput(view: Uint32Array): void { - assert(view.length == 4); - assert(view[0] == 0); - assert(view[1] == 1); - assert(view[2] == 2); - assert(view[3] == 3); + assert(view.length == 4); + assert(view[0] == 0); + assert(view[1] == 1); + assert(view[2] == 2); + assert(view[3] == 3); } export function testUint32ArrayOutput(): Uint32Array { - const view = new Uint32Array(4); - view.set([0, 1, 2, 3]); - return view; + const view = new Uint32Array(4); + view.set([0, 1, 2, 3]); + return view; } export function testUint64ArrayInput(view: Uint64Array): void { - assert(view.length == 4); - assert(view[0] == 0); - assert(view[1] == 1); - assert(view[2] == 2); - assert(view[3] == 3); + assert(view.length == 4); + assert(view[0] == 0); + assert(view[1] == 1); + assert(view[2] == 2); + assert(view[3] == 3); } export function testUint64ArrayOutput(): Uint64Array { - const view = new Uint64Array(4); - view.set([0, 1, 2, 3]); - return view; + const view = new Uint64Array(4); + view.set([0, 1, 2, 3]); + return view; } export function testFloat32ArrayInput(view: Float32Array): void { - assert(view.length == 4); - assert(view[0] == 0); - assert(view[1] == 1); - assert(view[2] == 2); - assert(view[3] == 3); + assert(view.length == 4); + assert(view[0] == 0); + assert(view[1] == 1); + assert(view[2] == 2); + assert(view[3] == 3); } export function testFloat32ArrayOutput(): Float32Array { - const view = new Float32Array(4); - view.set([0, 1, 2, 3]); - return view; + const view = new Float32Array(4); + view.set([0, 1, 2, 3]); + return view; } export function testFloat64ArrayInput(view: Float64Array): void { - assert(view.length == 4); - assert(view[0] == 0); - assert(view[1] == 1); - assert(view[2] == 2); - assert(view[3] == 3); + assert(view.length == 4); + assert(view[0] == 0); + assert(view[1] == 1); + assert(view[2] == 2); + assert(view[3] == 3); } export function testFloat64ArrayOutput(): Float64Array { - const view = new Float64Array(4); - view.set([0, 1, 2, 3]); - return view; + const view = new Float64Array(4); + view.set([0, 1, 2, 3]); + return view; } diff --git a/runtime/languages/assemblyscript/tests/arraybuffers_test.go b/runtime/languages/assemblyscript/tests/arraybuffers_test.go index b37905e2..df77686c 100644 --- a/runtime/languages/assemblyscript/tests/arraybuffers_test.go +++ b/runtime/languages/assemblyscript/tests/arraybuffers_test.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/runtime/languages/assemblyscript/tests/arrays_test.go b/runtime/languages/assemblyscript/tests/arrays_test.go index 29c85fa3..ba78727b 100644 --- a/runtime/languages/assemblyscript/tests/arrays_test.go +++ b/runtime/languages/assemblyscript/tests/arrays_test.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/runtime/languages/assemblyscript/tests/classes_test.go b/runtime/languages/assemblyscript/tests/classes_test.go index 5428ef5e..f16fc83c 100644 --- a/runtime/languages/assemblyscript/tests/classes_test.go +++ b/runtime/languages/assemblyscript/tests/classes_test.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/runtime/languages/assemblyscript/tests/dates_test.go b/runtime/languages/assemblyscript/tests/dates_test.go index 66c12612..770b03be 100644 --- a/runtime/languages/assemblyscript/tests/dates_test.go +++ b/runtime/languages/assemblyscript/tests/dates_test.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/runtime/languages/assemblyscript/tests/env_test.go b/runtime/languages/assemblyscript/tests/env_test.go index 5910ce28..de0b6ba2 100644 --- a/runtime/languages/assemblyscript/tests/env_test.go +++ b/runtime/languages/assemblyscript/tests/env_test.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/runtime/languages/assemblyscript/tests/hostfns_test.go b/runtime/languages/assemblyscript/tests/hostfns_test.go index 94257a55..6b606a77 100644 --- a/runtime/languages/assemblyscript/tests/hostfns_test.go +++ b/runtime/languages/assemblyscript/tests/hostfns_test.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/runtime/languages/assemblyscript/tests/maps_test.go b/runtime/languages/assemblyscript/tests/maps_test.go index 1bee7472..cfc4c388 100644 --- a/runtime/languages/assemblyscript/tests/maps_test.go +++ b/runtime/languages/assemblyscript/tests/maps_test.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/runtime/languages/assemblyscript/tests/primitives_test.go b/runtime/languages/assemblyscript/tests/primitives_test.go index 313d6d67..009ab38a 100644 --- a/runtime/languages/assemblyscript/tests/primitives_test.go +++ b/runtime/languages/assemblyscript/tests/primitives_test.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/runtime/languages/assemblyscript/tests/setup_test.go b/runtime/languages/assemblyscript/tests/setup_test.go index bbc9b884..8b06a9fc 100644 --- a/runtime/languages/assemblyscript/tests/setup_test.go +++ b/runtime/languages/assemblyscript/tests/setup_test.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/runtime/languages/assemblyscript/tests/special_test.go b/runtime/languages/assemblyscript/tests/special_test.go index 91b2e65c..244ff68f 100644 --- a/runtime/languages/assemblyscript/tests/special_test.go +++ b/runtime/languages/assemblyscript/tests/special_test.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/runtime/languages/assemblyscript/tests/strings_test.go b/runtime/languages/assemblyscript/tests/strings_test.go index 89127aba..5ac25dbc 100644 --- a/runtime/languages/assemblyscript/tests/strings_test.go +++ b/runtime/languages/assemblyscript/tests/strings_test.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/runtime/languages/assemblyscript/tests/typedarrays_test.go b/runtime/languages/assemblyscript/tests/typedarrays_test.go index 64ac8b74..eda4a9cc 100644 --- a/runtime/languages/assemblyscript/tests/typedarrays_test.go +++ b/runtime/languages/assemblyscript/tests/typedarrays_test.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/runtime/languages/assemblyscript/typeinfo.go b/runtime/languages/assemblyscript/typeinfo.go index c0920f44..d25012f1 100644 --- a/runtime/languages/assemblyscript/typeinfo.go +++ b/runtime/languages/assemblyscript/typeinfo.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/runtime/languages/golang/adapter.go b/runtime/languages/golang/adapter.go index 027e6075..0bc421af 100644 --- a/runtime/languages/golang/adapter.go +++ b/runtime/languages/golang/adapter.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/runtime/languages/golang/handler_arrays.go b/runtime/languages/golang/handler_arrays.go index 89ff223c..4aede683 100644 --- a/runtime/languages/golang/handler_arrays.go +++ b/runtime/languages/golang/handler_arrays.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/runtime/languages/golang/handler_maps.go b/runtime/languages/golang/handler_maps.go index 4a94b411..0288f1b3 100644 --- a/runtime/languages/golang/handler_maps.go +++ b/runtime/languages/golang/handler_maps.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/runtime/languages/golang/handler_pointers.go b/runtime/languages/golang/handler_pointers.go index 06ebb60e..16384918 100644 --- a/runtime/languages/golang/handler_pointers.go +++ b/runtime/languages/golang/handler_pointers.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/runtime/languages/golang/handler_primitivearrays.go b/runtime/languages/golang/handler_primitivearrays.go index 059e8370..40e702cf 100644 --- a/runtime/languages/golang/handler_primitivearrays.go +++ b/runtime/languages/golang/handler_primitivearrays.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/runtime/languages/golang/handler_primitives.go b/runtime/languages/golang/handler_primitives.go index e1e7cddd..7a5f980e 100644 --- a/runtime/languages/golang/handler_primitives.go +++ b/runtime/languages/golang/handler_primitives.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/runtime/languages/golang/handler_primitiveslices.go b/runtime/languages/golang/handler_primitiveslices.go index 81fc659f..036a3bdc 100644 --- a/runtime/languages/golang/handler_primitiveslices.go +++ b/runtime/languages/golang/handler_primitiveslices.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/runtime/languages/golang/handler_slices.go b/runtime/languages/golang/handler_slices.go index e1d8e855..fd1bd52f 100644 --- a/runtime/languages/golang/handler_slices.go +++ b/runtime/languages/golang/handler_slices.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/runtime/languages/golang/handler_strings.go b/runtime/languages/golang/handler_strings.go index 6e423379..ba89a44d 100644 --- a/runtime/languages/golang/handler_strings.go +++ b/runtime/languages/golang/handler_strings.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/runtime/languages/golang/handler_structs.go b/runtime/languages/golang/handler_structs.go index 06a69be3..5f2f15f0 100644 --- a/runtime/languages/golang/handler_structs.go +++ b/runtime/languages/golang/handler_structs.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/runtime/languages/golang/handler_time.go b/runtime/languages/golang/handler_time.go index cb1a54f0..92555f32 100644 --- a/runtime/languages/golang/handler_time.go +++ b/runtime/languages/golang/handler_time.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/runtime/languages/golang/planner.go b/runtime/languages/golang/planner.go index b0d5b421..c9cc44e8 100644 --- a/runtime/languages/golang/planner.go +++ b/runtime/languages/golang/planner.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/runtime/languages/golang/testdata/arrays.go b/runtime/languages/golang/testdata/arrays.go index 13a2d6c5..3b7c3894 100644 --- a/runtime/languages/golang/testdata/arrays.go +++ b/runtime/languages/golang/testdata/arrays.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/runtime/languages/golang/testdata/hostfns.go b/runtime/languages/golang/testdata/hostfns.go index 903baef8..98658804 100644 --- a/runtime/languages/golang/testdata/hostfns.go +++ b/runtime/languages/golang/testdata/hostfns.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/runtime/languages/golang/testdata/http.go b/runtime/languages/golang/testdata/http.go index a8074491..43c3f62a 100644 --- a/runtime/languages/golang/testdata/http.go +++ b/runtime/languages/golang/testdata/http.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/runtime/languages/golang/testdata/imports_mock.go b/runtime/languages/golang/testdata/imports_mock.go index 8b23335a..e9834b7c 100644 --- a/runtime/languages/golang/testdata/imports_mock.go +++ b/runtime/languages/golang/testdata/imports_mock.go @@ -1,11 +1,11 @@ //go:build !wasip1 /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/runtime/languages/golang/testdata/imports_wasi.go b/runtime/languages/golang/testdata/imports_wasi.go index be8edb09..982ea731 100644 --- a/runtime/languages/golang/testdata/imports_wasi.go +++ b/runtime/languages/golang/testdata/imports_wasi.go @@ -1,11 +1,11 @@ //go:build wasip1 /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/runtime/languages/golang/testdata/maps.go b/runtime/languages/golang/testdata/maps.go index 4c29d16e..b6431112 100644 --- a/runtime/languages/golang/testdata/maps.go +++ b/runtime/languages/golang/testdata/maps.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/runtime/languages/golang/testdata/primitives.go b/runtime/languages/golang/testdata/primitives.go index 6961abef..1cff0260 100644 --- a/runtime/languages/golang/testdata/primitives.go +++ b/runtime/languages/golang/testdata/primitives.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/runtime/languages/golang/testdata/slices.go b/runtime/languages/golang/testdata/slices.go index d795b816..481500b5 100644 --- a/runtime/languages/golang/testdata/slices.go +++ b/runtime/languages/golang/testdata/slices.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/runtime/languages/golang/testdata/special.go b/runtime/languages/golang/testdata/special.go index f453fa49..68bfe6a0 100644 --- a/runtime/languages/golang/testdata/special.go +++ b/runtime/languages/golang/testdata/special.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/runtime/languages/golang/testdata/strings.go b/runtime/languages/golang/testdata/strings.go index a187066b..369b9b98 100644 --- a/runtime/languages/golang/testdata/strings.go +++ b/runtime/languages/golang/testdata/strings.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/runtime/languages/golang/testdata/structs.go b/runtime/languages/golang/testdata/structs.go index aa75c91a..5a264f94 100644 --- a/runtime/languages/golang/testdata/structs.go +++ b/runtime/languages/golang/testdata/structs.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/runtime/languages/golang/testdata/time.go b/runtime/languages/golang/testdata/time.go index 5dc45c87..e4322a30 100644 --- a/runtime/languages/golang/testdata/time.go +++ b/runtime/languages/golang/testdata/time.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/runtime/languages/golang/testdata/utils.go b/runtime/languages/golang/testdata/utils.go index bf54e80d..b2346b7b 100644 --- a/runtime/languages/golang/testdata/utils.go +++ b/runtime/languages/golang/testdata/utils.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/runtime/languages/golang/tests/arrays_test.go b/runtime/languages/golang/tests/arrays_test.go index 2bebbfcf..e610fff1 100644 --- a/runtime/languages/golang/tests/arrays_test.go +++ b/runtime/languages/golang/tests/arrays_test.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/runtime/languages/golang/tests/hostfns_test.go b/runtime/languages/golang/tests/hostfns_test.go index 4e4726c7..7a080215 100644 --- a/runtime/languages/golang/tests/hostfns_test.go +++ b/runtime/languages/golang/tests/hostfns_test.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/runtime/languages/golang/tests/http_test.go b/runtime/languages/golang/tests/http_test.go index 122f21c8..e62d9d82 100644 --- a/runtime/languages/golang/tests/http_test.go +++ b/runtime/languages/golang/tests/http_test.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/runtime/languages/golang/tests/maps_test.go b/runtime/languages/golang/tests/maps_test.go index fbc8241c..8cc3fd58 100644 --- a/runtime/languages/golang/tests/maps_test.go +++ b/runtime/languages/golang/tests/maps_test.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/runtime/languages/golang/tests/planner_test.go b/runtime/languages/golang/tests/planner_test.go index 95ca12d8..4187949a 100644 --- a/runtime/languages/golang/tests/planner_test.go +++ b/runtime/languages/golang/tests/planner_test.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/runtime/languages/golang/tests/primitives_test.go b/runtime/languages/golang/tests/primitives_test.go index 882bbc0c..280f2a9e 100644 --- a/runtime/languages/golang/tests/primitives_test.go +++ b/runtime/languages/golang/tests/primitives_test.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/runtime/languages/golang/tests/recursivestructs_test.go b/runtime/languages/golang/tests/recursivestructs_test.go index b3904379..26c85adc 100644 --- a/runtime/languages/golang/tests/recursivestructs_test.go +++ b/runtime/languages/golang/tests/recursivestructs_test.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/runtime/languages/golang/tests/setup_test.go b/runtime/languages/golang/tests/setup_test.go index f3987174..6f51f981 100644 --- a/runtime/languages/golang/tests/setup_test.go +++ b/runtime/languages/golang/tests/setup_test.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/runtime/languages/golang/tests/slices_test.go b/runtime/languages/golang/tests/slices_test.go index c6aaa01f..efe8c238 100644 --- a/runtime/languages/golang/tests/slices_test.go +++ b/runtime/languages/golang/tests/slices_test.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/runtime/languages/golang/tests/special_test.go b/runtime/languages/golang/tests/special_test.go index 701b70c7..5cd84e27 100644 --- a/runtime/languages/golang/tests/special_test.go +++ b/runtime/languages/golang/tests/special_test.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/runtime/languages/golang/tests/strings_test.go b/runtime/languages/golang/tests/strings_test.go index d3d19af7..a0b72cad 100644 --- a/runtime/languages/golang/tests/strings_test.go +++ b/runtime/languages/golang/tests/strings_test.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/runtime/languages/golang/tests/structs_test.go b/runtime/languages/golang/tests/structs_test.go index 79ba5be0..2aee7586 100644 --- a/runtime/languages/golang/tests/structs_test.go +++ b/runtime/languages/golang/tests/structs_test.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/runtime/languages/golang/tests/time_test.go b/runtime/languages/golang/tests/time_test.go index 1f612c7d..683180d7 100644 --- a/runtime/languages/golang/tests/time_test.go +++ b/runtime/languages/golang/tests/time_test.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/runtime/languages/golang/typeinfo.go b/runtime/languages/golang/typeinfo.go index 81353cac..3a50b55c 100644 --- a/runtime/languages/golang/typeinfo.go +++ b/runtime/languages/golang/typeinfo.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/runtime/languages/languages.go b/runtime/languages/languages.go index 672ef617..19f1d8ab 100644 --- a/runtime/languages/languages.go +++ b/runtime/languages/languages.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/runtime/logger/logger.go b/runtime/logger/logger.go index 7727bc69..efe1fca9 100644 --- a/runtime/logger/logger.go +++ b/runtime/logger/logger.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/runtime/logger/logwriter.go b/runtime/logger/logwriter.go index d575cb5a..a954c64a 100644 --- a/runtime/logger/logwriter.go +++ b/runtime/logger/logwriter.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/runtime/main.go b/runtime/main.go index fbf1a380..5fe7b192 100644 --- a/runtime/main.go +++ b/runtime/main.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/runtime/manifestdata/events.go b/runtime/manifestdata/events.go index 8c8932a0..adbdb9cb 100644 --- a/runtime/manifestdata/events.go +++ b/runtime/manifestdata/events.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/runtime/manifestdata/manifestdata.go b/runtime/manifestdata/manifestdata.go index 546887b5..1e3676dc 100644 --- a/runtime/manifestdata/manifestdata.go +++ b/runtime/manifestdata/manifestdata.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/runtime/metrics/metrics.go b/runtime/metrics/metrics.go index dc5fa75f..d111c82a 100644 --- a/runtime/metrics/metrics.go +++ b/runtime/metrics/metrics.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/runtime/metrics/metrics_test.go b/runtime/metrics/metrics_test.go index 66174c1a..e27cde85 100644 --- a/runtime/metrics/metrics_test.go +++ b/runtime/metrics/metrics_test.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/runtime/models/bedrock.go b/runtime/models/bedrock.go index a3d46cdd..66542376 100644 --- a/runtime/models/bedrock.go +++ b/runtime/models/bedrock.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/runtime/models/legacymodels/classifier.go b/runtime/models/legacymodels/classifier.go index ad446bde..28a305e7 100644 --- a/runtime/models/legacymodels/classifier.go +++ b/runtime/models/legacymodels/classifier.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/runtime/models/legacymodels/common.go b/runtime/models/legacymodels/common.go index c0086d5b..2c1072df 100644 --- a/runtime/models/legacymodels/common.go +++ b/runtime/models/legacymodels/common.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/runtime/models/legacymodels/embeddings.go b/runtime/models/legacymodels/embeddings.go index deaa2624..c9566d06 100644 --- a/runtime/models/legacymodels/embeddings.go +++ b/runtime/models/legacymodels/embeddings.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/runtime/models/legacymodels/openai.go b/runtime/models/legacymodels/openai.go index 8fa2de5d..a211d7aa 100644 --- a/runtime/models/legacymodels/openai.go +++ b/runtime/models/legacymodels/openai.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/runtime/models/legacymodels/textgeneration.go b/runtime/models/legacymodels/textgeneration.go index 26e2ecff..0af1e59f 100644 --- a/runtime/models/legacymodels/textgeneration.go +++ b/runtime/models/legacymodels/textgeneration.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/runtime/models/models.go b/runtime/models/models.go index 0934ebca..467765b1 100644 --- a/runtime/models/models.go +++ b/runtime/models/models.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/runtime/models/models_test.go b/runtime/models/models_test.go index e18decf5..49bba9cd 100644 --- a/runtime/models/models_test.go +++ b/runtime/models/models_test.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/runtime/models/types.go b/runtime/models/types.go index 110cfc05..4dcabd8a 100644 --- a/runtime/models/types.go +++ b/runtime/models/types.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/runtime/pluginmanager/events.go b/runtime/pluginmanager/events.go index 480d5bf2..ac9b51e6 100644 --- a/runtime/pluginmanager/events.go +++ b/runtime/pluginmanager/events.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/runtime/pluginmanager/loader.go b/runtime/pluginmanager/loader.go index e50c8ad0..f20141dc 100644 --- a/runtime/pluginmanager/loader.go +++ b/runtime/pluginmanager/loader.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/runtime/pluginmanager/pluginmanager.go b/runtime/pluginmanager/pluginmanager.go index 378f9c7d..775b58cf 100644 --- a/runtime/pluginmanager/pluginmanager.go +++ b/runtime/pluginmanager/pluginmanager.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/runtime/pluginmanager/pluginregistry.go b/runtime/pluginmanager/pluginregistry.go index f7ac7424..1e7306c0 100644 --- a/runtime/pluginmanager/pluginregistry.go +++ b/runtime/pluginmanager/pluginregistry.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/runtime/plugins/metadata/builder.go b/runtime/plugins/metadata/builder.go index 998dee8d..a19a1e96 100644 --- a/runtime/plugins/metadata/builder.go +++ b/runtime/plugins/metadata/builder.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/runtime/plugins/metadata/compat.go b/runtime/plugins/metadata/compat.go index c652a781..1a7b549e 100644 --- a/runtime/plugins/metadata/compat.go +++ b/runtime/plugins/metadata/compat.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/runtime/plugins/metadata/extras.go b/runtime/plugins/metadata/extras.go index e9ba4e6e..b18e9db8 100644 --- a/runtime/plugins/metadata/extras.go +++ b/runtime/plugins/metadata/extras.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/runtime/plugins/metadata/legacy/v1/metadata.go b/runtime/plugins/metadata/legacy/v1/metadata.go index 342b4732..cf2545fb 100644 --- a/runtime/plugins/metadata/legacy/v1/metadata.go +++ b/runtime/plugins/metadata/legacy/v1/metadata.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/runtime/plugins/metadata/metadata.go b/runtime/plugins/metadata/metadata.go index 0285354c..7e278b40 100644 --- a/runtime/plugins/metadata/metadata.go +++ b/runtime/plugins/metadata/metadata.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/runtime/plugins/metadata/reader.go b/runtime/plugins/metadata/reader.go index 54aef63d..06a7f2de 100644 --- a/runtime/plugins/metadata/reader.go +++ b/runtime/plugins/metadata/reader.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/runtime/plugins/plugins.go b/runtime/plugins/plugins.go index 48bc5480..f3a73cf4 100644 --- a/runtime/plugins/plugins.go +++ b/runtime/plugins/plugins.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/runtime/secrets/awssecrets.go b/runtime/secrets/awssecrets.go index a7b8fb89..388ebeb1 100644 --- a/runtime/secrets/awssecrets.go +++ b/runtime/secrets/awssecrets.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/runtime/secrets/localsecrets.go b/runtime/secrets/localsecrets.go index 98020b8d..5433c193 100644 --- a/runtime/secrets/localsecrets.go +++ b/runtime/secrets/localsecrets.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/runtime/secrets/secrets.go b/runtime/secrets/secrets.go index c5cb2cd8..62d28272 100644 --- a/runtime/secrets/secrets.go +++ b/runtime/secrets/secrets.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/runtime/services/services.go b/runtime/services/services.go index 78a21bdf..fb9821a5 100644 --- a/runtime/services/services.go +++ b/runtime/services/services.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/runtime/sqlclient/pooling.go b/runtime/sqlclient/pooling.go index f4859957..dee688a6 100644 --- a/runtime/sqlclient/pooling.go +++ b/runtime/sqlclient/pooling.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/runtime/sqlclient/postgresql.go b/runtime/sqlclient/postgresql.go index 33f9e78b..2ced680e 100644 --- a/runtime/sqlclient/postgresql.go +++ b/runtime/sqlclient/postgresql.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/runtime/sqlclient/registry.go b/runtime/sqlclient/registry.go index f80f64b7..b58bd2d7 100644 --- a/runtime/sqlclient/registry.go +++ b/runtime/sqlclient/registry.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/runtime/sqlclient/sqlclient.go b/runtime/sqlclient/sqlclient.go index 41957597..04a0b9a9 100644 --- a/runtime/sqlclient/sqlclient.go +++ b/runtime/sqlclient/sqlclient.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/runtime/sqlclient/types.go b/runtime/sqlclient/types.go index fadc7dc3..d1f16fb4 100644 --- a/runtime/sqlclient/types.go +++ b/runtime/sqlclient/types.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/runtime/storage/awsstorage.go b/runtime/storage/awsstorage.go index 1aa3d81c..3bd5dbeb 100644 --- a/runtime/storage/awsstorage.go +++ b/runtime/storage/awsstorage.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/runtime/storage/localstorage.go b/runtime/storage/localstorage.go index 23c99f38..fa0a2d0c 100644 --- a/runtime/storage/localstorage.go +++ b/runtime/storage/localstorage.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/runtime/storage/storage.go b/runtime/storage/storage.go index 4337056b..e5b99957 100644 --- a/runtime/storage/storage.go +++ b/runtime/storage/storage.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/runtime/storage/storagemonitor.go b/runtime/storage/storagemonitor.go index adb78cd6..107bdfac 100644 --- a/runtime/storage/storagemonitor.go +++ b/runtime/storage/storagemonitor.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/runtime/testutils/testutils.go b/runtime/testutils/testutils.go index 6e4739c2..ceeb5d9e 100644 --- a/runtime/testutils/testutils.go +++ b/runtime/testutils/testutils.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/runtime/tools/generate_version/genversion.go b/runtime/tools/generate_version/genversion.go index f36bdf3a..ac0c9524 100644 --- a/runtime/tools/generate_version/genversion.go +++ b/runtime/tools/generate_version/genversion.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/runtime/utils/buffers.go b/runtime/utils/buffers.go index a70c8aab..c97c3d40 100644 --- a/runtime/utils/buffers.go +++ b/runtime/utils/buffers.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/runtime/utils/cast.go b/runtime/utils/cast.go index f27f4c7a..2eabddd8 100644 --- a/runtime/utils/cast.go +++ b/runtime/utils/cast.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/runtime/utils/cleaner.go b/runtime/utils/cleaner.go index 141bddf4..a5422e70 100644 --- a/runtime/utils/cleaner.go +++ b/runtime/utils/cleaner.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/runtime/utils/console.go b/runtime/utils/console.go index 76d1a958..77f467a8 100644 --- a/runtime/utils/console.go +++ b/runtime/utils/console.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/runtime/utils/context.go b/runtime/utils/context.go index 3cdfaac7..8adcd9a3 100644 --- a/runtime/utils/context.go +++ b/runtime/utils/context.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/runtime/utils/http.go b/runtime/utils/http.go index 8895f922..b6f31c6f 100644 --- a/runtime/utils/http.go +++ b/runtime/utils/http.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/runtime/utils/http_test.go b/runtime/utils/http_test.go index 1bbb6532..7c706d4c 100644 --- a/runtime/utils/http_test.go +++ b/runtime/utils/http_test.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/runtime/utils/json.go b/runtime/utils/json.go index 866d52ae..e0a82b03 100644 --- a/runtime/utils/json.go +++ b/runtime/utils/json.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/runtime/utils/maps.go b/runtime/utils/maps.go index 08c1b6da..31b6360b 100644 --- a/runtime/utils/maps.go +++ b/runtime/utils/maps.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/runtime/utils/mapstructure.go b/runtime/utils/mapstructure.go index 3b27a4d1..86e7b493 100644 --- a/runtime/utils/mapstructure.go +++ b/runtime/utils/mapstructure.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/runtime/utils/pointers.go b/runtime/utils/pointers.go index cbe7830e..1cb8e11b 100644 --- a/runtime/utils/pointers.go +++ b/runtime/utils/pointers.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/runtime/utils/sentry.go b/runtime/utils/sentry.go index bf624664..caf9af53 100644 --- a/runtime/utils/sentry.go +++ b/runtime/utils/sentry.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/runtime/utils/slices.go b/runtime/utils/slices.go index ad666be4..52a47e92 100644 --- a/runtime/utils/slices.go +++ b/runtime/utils/slices.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/runtime/utils/strings.go b/runtime/utils/strings.go index 39f18d07..f84d30ac 100644 --- a/runtime/utils/strings.go +++ b/runtime/utils/strings.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/runtime/utils/strings_test.go b/runtime/utils/strings_test.go index 966f7852..c38cb755 100644 --- a/runtime/utils/strings_test.go +++ b/runtime/utils/strings_test.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/runtime/utils/time.go b/runtime/utils/time.go index 48adae2f..1eb501c7 100644 --- a/runtime/utils/time.go +++ b/runtime/utils/time.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/runtime/utils/utils.go b/runtime/utils/utils.go index eee164e1..5a842cb6 100644 --- a/runtime/utils/utils.go +++ b/runtime/utils/utils.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/runtime/utils/wasm.go b/runtime/utils/wasm.go index cd404115..e9b122c2 100644 --- a/runtime/utils/wasm.go +++ b/runtime/utils/wasm.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/runtime/wasmhost/env.go b/runtime/wasmhost/env.go index b123e2b1..0ff0829d 100644 --- a/runtime/wasmhost/env.go +++ b/runtime/wasmhost/env.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/runtime/wasmhost/fncall.go b/runtime/wasmhost/fncall.go index 34481d0e..e68c252b 100644 --- a/runtime/wasmhost/fncall.go +++ b/runtime/wasmhost/fncall.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/runtime/wasmhost/hostfns.go b/runtime/wasmhost/hostfns.go index d037bd36..eee233b4 100644 --- a/runtime/wasmhost/hostfns.go +++ b/runtime/wasmhost/hostfns.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/runtime/wasmhost/initialization.go b/runtime/wasmhost/initialization.go index 31591b2e..557510ff 100644 --- a/runtime/wasmhost/initialization.go +++ b/runtime/wasmhost/initialization.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/runtime/wasmhost/wasmhost.go b/runtime/wasmhost/wasmhost.go index e661a9be..8c77bf4e 100644 --- a/runtime/wasmhost/wasmhost.go +++ b/runtime/wasmhost/wasmhost.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/sdk/assemblyscript/examples/anthropic-functions/package.json b/sdk/assemblyscript/examples/anthropic-functions/package.json index 0592f76b..0037baf3 100644 --- a/sdk/assemblyscript/examples/anthropic-functions/package.json +++ b/sdk/assemblyscript/examples/anthropic-functions/package.json @@ -2,7 +2,7 @@ "name": "anthropic-functions-example", "private": true, "description": "Hypermode Function Calling Example using Anthropic", - "author": "Hypermode, Inc.", + "author": "Hypermode Inc.", "license": "Apache-2.0", "type": "module", "scripts": { diff --git a/sdk/assemblyscript/examples/classification/package.json b/sdk/assemblyscript/examples/classification/package.json index 4f4e1c24..41e5064c 100644 --- a/sdk/assemblyscript/examples/classification/package.json +++ b/sdk/assemblyscript/examples/classification/package.json @@ -2,7 +2,7 @@ "name": "classification-example", "private": true, "description": "Modus AssemblyScript Classification Example", - "author": "Hypermode, Inc.", + "author": "Hypermode Inc.", "license": "Apache-2.0", "type": "module", "scripts": { diff --git a/sdk/assemblyscript/examples/collection/package.json b/sdk/assemblyscript/examples/collection/package.json index 92504070..a7323f28 100644 --- a/sdk/assemblyscript/examples/collection/package.json +++ b/sdk/assemblyscript/examples/collection/package.json @@ -2,7 +2,7 @@ "name": "collection-example", "private": true, "description": "Modus AssemblyScript Collection Example", - "author": "Hypermode, Inc.", + "author": "Hypermode Inc.", "license": "Apache-2.0", "type": "module", "scripts": { diff --git a/sdk/assemblyscript/examples/dgraph/package.json b/sdk/assemblyscript/examples/dgraph/package.json index 825775f5..c22a9b0b 100644 --- a/sdk/assemblyscript/examples/dgraph/package.json +++ b/sdk/assemblyscript/examples/dgraph/package.json @@ -2,7 +2,7 @@ "name": "dgraph-example", "private": true, "description": "Modus AssemblyScript Dgraph Example", - "author": "Hypermode, Inc.", + "author": "Hypermode Inc.", "license": "Apache-2.0", "type": "module", "scripts": { diff --git a/sdk/assemblyscript/examples/embedding/package.json b/sdk/assemblyscript/examples/embedding/package.json index c0b97556..0f22989d 100644 --- a/sdk/assemblyscript/examples/embedding/package.json +++ b/sdk/assemblyscript/examples/embedding/package.json @@ -2,7 +2,7 @@ "name": "embedding-example", "private": true, "description": "Modus AssemblyScript Embedding Example", - "author": "Hypermode, Inc.", + "author": "Hypermode Inc.", "license": "Apache-2.0", "type": "module", "scripts": { diff --git a/sdk/assemblyscript/examples/graphql/package.json b/sdk/assemblyscript/examples/graphql/package.json index 4482f01b..36610bad 100644 --- a/sdk/assemblyscript/examples/graphql/package.json +++ b/sdk/assemblyscript/examples/graphql/package.json @@ -2,7 +2,7 @@ "name": "graphql-example", "private": true, "description": "Modus AssemblyScript GraphQL Example", - "author": "Hypermode, Inc.", + "author": "Hypermode Inc.", "license": "Apache-2.0", "type": "module", "scripts": { diff --git a/sdk/assemblyscript/examples/http/package.json b/sdk/assemblyscript/examples/http/package.json index fe718e15..d354a874 100644 --- a/sdk/assemblyscript/examples/http/package.json +++ b/sdk/assemblyscript/examples/http/package.json @@ -2,7 +2,7 @@ "name": "http-example", "private": true, "description": "Modus AssemblyScript HTTP Example", - "author": "Hypermode, Inc.", + "author": "Hypermode Inc.", "license": "Apache-2.0", "type": "module", "scripts": { diff --git a/sdk/assemblyscript/examples/postgresql/package.json b/sdk/assemblyscript/examples/postgresql/package.json index 1bebf000..2e4a11e6 100644 --- a/sdk/assemblyscript/examples/postgresql/package.json +++ b/sdk/assemblyscript/examples/postgresql/package.json @@ -2,7 +2,7 @@ "name": "postgresql-example", "private": true, "description": "Modus AssemblyScript Example using PostgreSQL database", - "author": "Hypermode, Inc.", + "author": "Hypermode Inc.", "license": "Apache-2.0", "type": "module", "scripts": { diff --git a/sdk/assemblyscript/examples/simple/package.json b/sdk/assemblyscript/examples/simple/package.json index 284940d0..3ff4d6e8 100644 --- a/sdk/assemblyscript/examples/simple/package.json +++ b/sdk/assemblyscript/examples/simple/package.json @@ -2,7 +2,7 @@ "name": "simple-example", "private": true, "description": "Modus AssemblyScript Simple Example", - "author": "Hypermode, Inc.", + "author": "Hypermode Inc.", "license": "Apache-2.0", "type": "module", "scripts": { diff --git a/sdk/assemblyscript/examples/textgeneration/package.json b/sdk/assemblyscript/examples/textgeneration/package.json index 7d7dbf10..f25d3395 100644 --- a/sdk/assemblyscript/examples/textgeneration/package.json +++ b/sdk/assemblyscript/examples/textgeneration/package.json @@ -2,7 +2,7 @@ "name": "text-generation-example", "private": true, "description": "Modus AssemblyScript Text Generation Example", - "author": "Hypermode, Inc.", + "author": "Hypermode Inc.", "license": "Apache-2.0", "type": "module", "scripts": { diff --git a/sdk/assemblyscript/src/assembly/__tests__/graphql.spec.ts b/sdk/assemblyscript/src/assembly/__tests__/graphql.spec.ts index 455d2e9d..bf1eb685 100644 --- a/sdk/assemblyscript/src/assembly/__tests__/graphql.spec.ts +++ b/sdk/assemblyscript/src/assembly/__tests__/graphql.spec.ts @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/sdk/assemblyscript/src/assembly/__tests__/http.spec.ts b/sdk/assemblyscript/src/assembly/__tests__/http.spec.ts index bfd39774..c31ca181 100644 --- a/sdk/assemblyscript/src/assembly/__tests__/http.spec.ts +++ b/sdk/assemblyscript/src/assembly/__tests__/http.spec.ts @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/sdk/assemblyscript/src/assembly/collections.ts b/sdk/assemblyscript/src/assembly/collections.ts index b03ca93f..dac0fcc0 100644 --- a/sdk/assemblyscript/src/assembly/collections.ts +++ b/sdk/assemblyscript/src/assembly/collections.ts @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/sdk/assemblyscript/src/assembly/compat.ts b/sdk/assemblyscript/src/assembly/compat.ts index d17a5a3c..54feb28a 100644 --- a/sdk/assemblyscript/src/assembly/compat.ts +++ b/sdk/assemblyscript/src/assembly/compat.ts @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/sdk/assemblyscript/src/assembly/database.ts b/sdk/assemblyscript/src/assembly/database.ts index 03c47cae..8a6b5287 100644 --- a/sdk/assemblyscript/src/assembly/database.ts +++ b/sdk/assemblyscript/src/assembly/database.ts @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/sdk/assemblyscript/src/assembly/dgraph.ts b/sdk/assemblyscript/src/assembly/dgraph.ts index ad7e398e..114de249 100644 --- a/sdk/assemblyscript/src/assembly/dgraph.ts +++ b/sdk/assemblyscript/src/assembly/dgraph.ts @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/sdk/assemblyscript/src/assembly/graphql.ts b/sdk/assemblyscript/src/assembly/graphql.ts index 2b182b2c..b3215aca 100644 --- a/sdk/assemblyscript/src/assembly/graphql.ts +++ b/sdk/assemblyscript/src/assembly/graphql.ts @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/sdk/assemblyscript/src/assembly/http.ts b/sdk/assemblyscript/src/assembly/http.ts index 6c972246..b75995eb 100644 --- a/sdk/assemblyscript/src/assembly/http.ts +++ b/sdk/assemblyscript/src/assembly/http.ts @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/sdk/assemblyscript/src/assembly/index.ts b/sdk/assemblyscript/src/assembly/index.ts index 8491bac5..e8d151da 100644 --- a/sdk/assemblyscript/src/assembly/index.ts +++ b/sdk/assemblyscript/src/assembly/index.ts @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/sdk/assemblyscript/src/assembly/inference.ts b/sdk/assemblyscript/src/assembly/inference.ts index f9bdf0ee..61f4d844 100644 --- a/sdk/assemblyscript/src/assembly/inference.ts +++ b/sdk/assemblyscript/src/assembly/inference.ts @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/sdk/assemblyscript/src/assembly/models.ts b/sdk/assemblyscript/src/assembly/models.ts index 6f3f1723..6e8ac816 100644 --- a/sdk/assemblyscript/src/assembly/models.ts +++ b/sdk/assemblyscript/src/assembly/models.ts @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/sdk/assemblyscript/src/assembly/overrides/modus_abort.ts b/sdk/assemblyscript/src/assembly/overrides/modus_abort.ts index cc8d8159..25aba667 100644 --- a/sdk/assemblyscript/src/assembly/overrides/modus_abort.ts +++ b/sdk/assemblyscript/src/assembly/overrides/modus_abort.ts @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/sdk/assemblyscript/src/assembly/overrides/modus_console.ts b/sdk/assemblyscript/src/assembly/overrides/modus_console.ts index 1a48a2ad..9c156e11 100644 --- a/sdk/assemblyscript/src/assembly/overrides/modus_console.ts +++ b/sdk/assemblyscript/src/assembly/overrides/modus_console.ts @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/sdk/assemblyscript/src/assembly/overrides/modus_trace.ts b/sdk/assemblyscript/src/assembly/overrides/modus_trace.ts index b3277f9b..a44afd47 100644 --- a/sdk/assemblyscript/src/assembly/overrides/modus_trace.ts +++ b/sdk/assemblyscript/src/assembly/overrides/modus_trace.ts @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/sdk/assemblyscript/src/assembly/postgresql.ts b/sdk/assemblyscript/src/assembly/postgresql.ts index dc59e054..6a9bdd62 100644 --- a/sdk/assemblyscript/src/assembly/postgresql.ts +++ b/sdk/assemblyscript/src/assembly/postgresql.ts @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/sdk/assemblyscript/src/assembly/utils.ts b/sdk/assemblyscript/src/assembly/utils.ts index b5aa1fdf..6e21dd5a 100644 --- a/sdk/assemblyscript/src/assembly/utils.ts +++ b/sdk/assemblyscript/src/assembly/utils.ts @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/sdk/assemblyscript/src/bin/build-plugin.js b/sdk/assemblyscript/src/bin/build-plugin.js index 77939c66..38dff6a3 100644 --- a/sdk/assemblyscript/src/bin/build-plugin.js +++ b/sdk/assemblyscript/src/bin/build-plugin.js @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/sdk/assemblyscript/src/index.ts b/sdk/assemblyscript/src/index.ts index 96a97ca6..9884b30a 100644 --- a/sdk/assemblyscript/src/index.ts +++ b/sdk/assemblyscript/src/index.ts @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/sdk/assemblyscript/src/models/anthropic/messages.ts b/sdk/assemblyscript/src/models/anthropic/messages.ts index 922bd4e7..b22601e9 100644 --- a/sdk/assemblyscript/src/models/anthropic/messages.ts +++ b/sdk/assemblyscript/src/models/anthropic/messages.ts @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/sdk/assemblyscript/src/models/experimental/classification.ts b/sdk/assemblyscript/src/models/experimental/classification.ts index 8127ef02..e2c8c6fc 100644 --- a/sdk/assemblyscript/src/models/experimental/classification.ts +++ b/sdk/assemblyscript/src/models/experimental/classification.ts @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/sdk/assemblyscript/src/models/experimental/embeddings.ts b/sdk/assemblyscript/src/models/experimental/embeddings.ts index 500be1e0..ea5056f5 100644 --- a/sdk/assemblyscript/src/models/experimental/embeddings.ts +++ b/sdk/assemblyscript/src/models/experimental/embeddings.ts @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/sdk/assemblyscript/src/models/gemini/generate.ts b/sdk/assemblyscript/src/models/gemini/generate.ts index 0731e6c5..87726c7f 100644 --- a/sdk/assemblyscript/src/models/gemini/generate.ts +++ b/sdk/assemblyscript/src/models/gemini/generate.ts @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/sdk/assemblyscript/src/models/meta/llama.ts b/sdk/assemblyscript/src/models/meta/llama.ts index 91c3cddc..09a90437 100644 --- a/sdk/assemblyscript/src/models/meta/llama.ts +++ b/sdk/assemblyscript/src/models/meta/llama.ts @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/sdk/assemblyscript/src/models/openai/chat.ts b/sdk/assemblyscript/src/models/openai/chat.ts index 97805d61..6cfb4436 100644 --- a/sdk/assemblyscript/src/models/openai/chat.ts +++ b/sdk/assemblyscript/src/models/openai/chat.ts @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/sdk/assemblyscript/src/models/openai/embeddings.ts b/sdk/assemblyscript/src/models/openai/embeddings.ts index 21e2ae84..8b6aaed1 100644 --- a/sdk/assemblyscript/src/models/openai/embeddings.ts +++ b/sdk/assemblyscript/src/models/openai/embeddings.ts @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/sdk/assemblyscript/src/package.json b/sdk/assemblyscript/src/package.json index 6397f742..700d1e15 100644 --- a/sdk/assemblyscript/src/package.json +++ b/sdk/assemblyscript/src/package.json @@ -2,7 +2,7 @@ "name": "@hypermode/modus-sdk-as", "version": "0.12.0", "description": "Modus SDK for AssemblyScript", - "author": "Hypermode, Inc.", + "author": "Hypermode Inc.", "license": "Apache-2.0", "type": "module", "scripts": { diff --git a/sdk/assemblyscript/src/tests/graphql.run.ts b/sdk/assemblyscript/src/tests/graphql.run.ts index b62b2147..32e75834 100644 --- a/sdk/assemblyscript/src/tests/graphql.run.ts +++ b/sdk/assemblyscript/src/tests/graphql.run.ts @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/sdk/assemblyscript/src/tests/http.run.ts b/sdk/assemblyscript/src/tests/http.run.ts index 54cba080..c6c3cd7a 100644 --- a/sdk/assemblyscript/src/tests/http.run.ts +++ b/sdk/assemblyscript/src/tests/http.run.ts @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/sdk/assemblyscript/src/tools/assemblyscript-eslint.js b/sdk/assemblyscript/src/tools/assemblyscript-eslint.js index 27a77d8a..fa893f3e 100644 --- a/sdk/assemblyscript/src/tools/assemblyscript-eslint.js +++ b/sdk/assemblyscript/src/tools/assemblyscript-eslint.js @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/sdk/assemblyscript/src/transform/src/extractor.ts b/sdk/assemblyscript/src/transform/src/extractor.ts index 346e852e..2262bb6a 100644 --- a/sdk/assemblyscript/src/transform/src/extractor.ts +++ b/sdk/assemblyscript/src/transform/src/extractor.ts @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/sdk/assemblyscript/src/transform/src/index.ts b/sdk/assemblyscript/src/transform/src/index.ts index abce215e..43ae8001 100644 --- a/sdk/assemblyscript/src/transform/src/index.ts +++ b/sdk/assemblyscript/src/transform/src/index.ts @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/sdk/assemblyscript/src/transform/src/logo.ts b/sdk/assemblyscript/src/transform/src/logo.ts index 7257564b..4ebc13c8 100644 --- a/sdk/assemblyscript/src/transform/src/logo.ts +++ b/sdk/assemblyscript/src/transform/src/logo.ts @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/sdk/assemblyscript/src/transform/src/metadata.ts b/sdk/assemblyscript/src/transform/src/metadata.ts index 8008463b..de15b853 100644 --- a/sdk/assemblyscript/src/transform/src/metadata.ts +++ b/sdk/assemblyscript/src/transform/src/metadata.ts @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/sdk/assemblyscript/src/transform/src/types.ts b/sdk/assemblyscript/src/transform/src/types.ts index 255d59db..189b6636 100644 --- a/sdk/assemblyscript/src/transform/src/types.ts +++ b/sdk/assemblyscript/src/transform/src/types.ts @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/sdk/go/doc.go b/sdk/go/doc.go index 18b4dad2..06a77aed 100644 --- a/sdk/go/doc.go +++ b/sdk/go/doc.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/sdk/go/pkg/collections/collections.go b/sdk/go/pkg/collections/collections.go index 33b807e9..96684975 100644 --- a/sdk/go/pkg/collections/collections.go +++ b/sdk/go/pkg/collections/collections.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/sdk/go/pkg/collections/collections_test.go b/sdk/go/pkg/collections/collections_test.go index 1787b878..74816f74 100644 --- a/sdk/go/pkg/collections/collections_test.go +++ b/sdk/go/pkg/collections/collections_test.go @@ -1,11 +1,11 @@ //go:build !wasip1 /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/sdk/go/pkg/collections/imports_mock.go b/sdk/go/pkg/collections/imports_mock.go index 7b81f068..873110c4 100644 --- a/sdk/go/pkg/collections/imports_mock.go +++ b/sdk/go/pkg/collections/imports_mock.go @@ -1,11 +1,11 @@ //go:build !wasip1 /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/sdk/go/pkg/collections/imports_wasi.go b/sdk/go/pkg/collections/imports_wasi.go index 6e2a15cc..dc69c980 100644 --- a/sdk/go/pkg/collections/imports_wasi.go +++ b/sdk/go/pkg/collections/imports_wasi.go @@ -1,11 +1,11 @@ //go:build wasip1 /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/sdk/go/pkg/console/console.go b/sdk/go/pkg/console/console.go index 9e509a40..a9244ae2 100644 --- a/sdk/go/pkg/console/console.go +++ b/sdk/go/pkg/console/console.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/sdk/go/pkg/console/console_test.go b/sdk/go/pkg/console/console_test.go index 9ae73f07..5e1276b1 100644 --- a/sdk/go/pkg/console/console_test.go +++ b/sdk/go/pkg/console/console_test.go @@ -1,11 +1,11 @@ //go:build !wasip1 /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/sdk/go/pkg/console/imports_mock.go b/sdk/go/pkg/console/imports_mock.go index 294e5290..7516ec81 100644 --- a/sdk/go/pkg/console/imports_mock.go +++ b/sdk/go/pkg/console/imports_mock.go @@ -1,11 +1,11 @@ //go:build !wasip1 /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/sdk/go/pkg/console/imports_wasi.go b/sdk/go/pkg/console/imports_wasi.go index b2d49046..a781efaf 100644 --- a/sdk/go/pkg/console/imports_wasi.go +++ b/sdk/go/pkg/console/imports_wasi.go @@ -1,11 +1,11 @@ //go:build wasip1 /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/sdk/go/pkg/console/timers.go b/sdk/go/pkg/console/timers.go index b16a528e..a27c4b0f 100644 --- a/sdk/go/pkg/console/timers.go +++ b/sdk/go/pkg/console/timers.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/sdk/go/pkg/db/db.go b/sdk/go/pkg/db/db.go index de149a3a..b8140262 100644 --- a/sdk/go/pkg/db/db.go +++ b/sdk/go/pkg/db/db.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/sdk/go/pkg/db/db_test.go b/sdk/go/pkg/db/db_test.go index a9d0e8df..74427537 100644 --- a/sdk/go/pkg/db/db_test.go +++ b/sdk/go/pkg/db/db_test.go @@ -1,11 +1,11 @@ //go:build !wasip1 /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/sdk/go/pkg/db/imports_mock.go b/sdk/go/pkg/db/imports_mock.go index e615c902..ee70af6c 100644 --- a/sdk/go/pkg/db/imports_mock.go +++ b/sdk/go/pkg/db/imports_mock.go @@ -1,11 +1,11 @@ //go:build !wasip1 /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/sdk/go/pkg/db/imports_wasi.go b/sdk/go/pkg/db/imports_wasi.go index 93a876f5..95b0927a 100644 --- a/sdk/go/pkg/db/imports_wasi.go +++ b/sdk/go/pkg/db/imports_wasi.go @@ -1,11 +1,11 @@ //go:build wasip1 /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/sdk/go/pkg/dgraph/dgraph.go b/sdk/go/pkg/dgraph/dgraph.go index 4d3946ac..62570a4b 100644 --- a/sdk/go/pkg/dgraph/dgraph.go +++ b/sdk/go/pkg/dgraph/dgraph.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/sdk/go/pkg/dgraph/dgraph_test.go b/sdk/go/pkg/dgraph/dgraph_test.go index bc491ae2..c6fc5382 100644 --- a/sdk/go/pkg/dgraph/dgraph_test.go +++ b/sdk/go/pkg/dgraph/dgraph_test.go @@ -1,11 +1,11 @@ //go:build !wasip1 /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/sdk/go/pkg/dgraph/imports_mock.go b/sdk/go/pkg/dgraph/imports_mock.go index 553d04ba..f29f2780 100644 --- a/sdk/go/pkg/dgraph/imports_mock.go +++ b/sdk/go/pkg/dgraph/imports_mock.go @@ -1,11 +1,11 @@ //go:build !wasip1 /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/sdk/go/pkg/dgraph/imports_wasi.go b/sdk/go/pkg/dgraph/imports_wasi.go index fcbf5b1a..fd062793 100644 --- a/sdk/go/pkg/dgraph/imports_wasi.go +++ b/sdk/go/pkg/dgraph/imports_wasi.go @@ -1,11 +1,11 @@ //go:build wasip1 /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/sdk/go/pkg/graphql/graphql.go b/sdk/go/pkg/graphql/graphql.go index 1056859e..0f44d179 100644 --- a/sdk/go/pkg/graphql/graphql.go +++ b/sdk/go/pkg/graphql/graphql.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/sdk/go/pkg/graphql/graphql_test.go b/sdk/go/pkg/graphql/graphql_test.go index 97db780f..7669860f 100644 --- a/sdk/go/pkg/graphql/graphql_test.go +++ b/sdk/go/pkg/graphql/graphql_test.go @@ -1,11 +1,11 @@ //go:build !wasip1 /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/sdk/go/pkg/graphql/imports_mock.go b/sdk/go/pkg/graphql/imports_mock.go index 399fa37d..e1b20112 100644 --- a/sdk/go/pkg/graphql/imports_mock.go +++ b/sdk/go/pkg/graphql/imports_mock.go @@ -1,11 +1,11 @@ //go:build !wasip1 /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/sdk/go/pkg/graphql/imports_wasi.go b/sdk/go/pkg/graphql/imports_wasi.go index ba708992..fde031a2 100644 --- a/sdk/go/pkg/graphql/imports_wasi.go +++ b/sdk/go/pkg/graphql/imports_wasi.go @@ -1,11 +1,11 @@ //go:build wasip1 /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/sdk/go/pkg/http/content.go b/sdk/go/pkg/http/content.go index e515e8a4..47b7392f 100644 --- a/sdk/go/pkg/http/content.go +++ b/sdk/go/pkg/http/content.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/sdk/go/pkg/http/headers.go b/sdk/go/pkg/http/headers.go index e477459f..9925fa89 100644 --- a/sdk/go/pkg/http/headers.go +++ b/sdk/go/pkg/http/headers.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/sdk/go/pkg/http/http.go b/sdk/go/pkg/http/http.go index 89fb7b5e..3725425b 100644 --- a/sdk/go/pkg/http/http.go +++ b/sdk/go/pkg/http/http.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/sdk/go/pkg/http/http_test.go b/sdk/go/pkg/http/http_test.go index 20119a72..4ab83d69 100644 --- a/sdk/go/pkg/http/http_test.go +++ b/sdk/go/pkg/http/http_test.go @@ -1,11 +1,11 @@ //go:build !wasip1 /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/sdk/go/pkg/http/imports_mock.go b/sdk/go/pkg/http/imports_mock.go index c8dbe8c8..26d0e013 100644 --- a/sdk/go/pkg/http/imports_mock.go +++ b/sdk/go/pkg/http/imports_mock.go @@ -1,11 +1,11 @@ //go:build !wasip1 /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/sdk/go/pkg/http/imports_wasi.go b/sdk/go/pkg/http/imports_wasi.go index 57d1180d..2e9429ef 100644 --- a/sdk/go/pkg/http/imports_wasi.go +++ b/sdk/go/pkg/http/imports_wasi.go @@ -1,11 +1,11 @@ //go:build wasip1 /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/sdk/go/pkg/http/request.go b/sdk/go/pkg/http/request.go index c72e1257..a4d04b41 100644 --- a/sdk/go/pkg/http/request.go +++ b/sdk/go/pkg/http/request.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/sdk/go/pkg/http/response.go b/sdk/go/pkg/http/response.go index 995b26c0..ff8837ac 100644 --- a/sdk/go/pkg/http/response.go +++ b/sdk/go/pkg/http/response.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/sdk/go/pkg/models/experimental/classification.go b/sdk/go/pkg/models/experimental/classification.go index 6040e8ce..1ad91610 100644 --- a/sdk/go/pkg/models/experimental/classification.go +++ b/sdk/go/pkg/models/experimental/classification.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/sdk/go/pkg/models/experimental/embeddings.go b/sdk/go/pkg/models/experimental/embeddings.go index 873c1ae3..cc57c6b7 100644 --- a/sdk/go/pkg/models/experimental/embeddings.go +++ b/sdk/go/pkg/models/experimental/embeddings.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/sdk/go/pkg/models/imports_mock.go b/sdk/go/pkg/models/imports_mock.go index d8489ed6..95308d3d 100644 --- a/sdk/go/pkg/models/imports_mock.go +++ b/sdk/go/pkg/models/imports_mock.go @@ -1,11 +1,11 @@ //go:build !wasip1 /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/sdk/go/pkg/models/imports_wasi.go b/sdk/go/pkg/models/imports_wasi.go index 219993ed..5f5deb3f 100644 --- a/sdk/go/pkg/models/imports_wasi.go +++ b/sdk/go/pkg/models/imports_wasi.go @@ -1,11 +1,11 @@ //go:build wasip1 /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/sdk/go/pkg/models/models.go b/sdk/go/pkg/models/models.go index e1e8971c..59ce89e3 100644 --- a/sdk/go/pkg/models/models.go +++ b/sdk/go/pkg/models/models.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/sdk/go/pkg/models/models_test.go b/sdk/go/pkg/models/models_test.go index 76838a52..fb166dde 100644 --- a/sdk/go/pkg/models/models_test.go +++ b/sdk/go/pkg/models/models_test.go @@ -1,11 +1,11 @@ //go:build !wasip1 /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/sdk/go/pkg/models/openai/chat.go b/sdk/go/pkg/models/openai/chat.go index b8d27a4f..53166fb8 100644 --- a/sdk/go/pkg/models/openai/chat.go +++ b/sdk/go/pkg/models/openai/chat.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/sdk/go/pkg/models/openai/common.go b/sdk/go/pkg/models/openai/common.go index 89082d82..60dc6ad9 100644 --- a/sdk/go/pkg/models/openai/common.go +++ b/sdk/go/pkg/models/openai/common.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/sdk/go/pkg/models/openai/embeddings.go b/sdk/go/pkg/models/openai/embeddings.go index 47336939..73fb46b6 100644 --- a/sdk/go/pkg/models/openai/embeddings.go +++ b/sdk/go/pkg/models/openai/embeddings.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/sdk/go/pkg/postgresql/location.go b/sdk/go/pkg/postgresql/location.go index e33c38e9..67d8f5bb 100644 --- a/sdk/go/pkg/postgresql/location.go +++ b/sdk/go/pkg/postgresql/location.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/sdk/go/pkg/postgresql/location_test.go b/sdk/go/pkg/postgresql/location_test.go index a3cdbb81..779af6ed 100644 --- a/sdk/go/pkg/postgresql/location_test.go +++ b/sdk/go/pkg/postgresql/location_test.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/sdk/go/pkg/postgresql/point.go b/sdk/go/pkg/postgresql/point.go index d00bc03e..f0699f36 100644 --- a/sdk/go/pkg/postgresql/point.go +++ b/sdk/go/pkg/postgresql/point.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/sdk/go/pkg/postgresql/point_test.go b/sdk/go/pkg/postgresql/point_test.go index abbc0e32..f21faa9f 100644 --- a/sdk/go/pkg/postgresql/point_test.go +++ b/sdk/go/pkg/postgresql/point_test.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/sdk/go/pkg/postgresql/postgresql.go b/sdk/go/pkg/postgresql/postgresql.go index 37ae3dda..ced4a7f4 100644 --- a/sdk/go/pkg/postgresql/postgresql.go +++ b/sdk/go/pkg/postgresql/postgresql.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/sdk/go/pkg/testutils/stack.go b/sdk/go/pkg/testutils/stack.go index c2e4f6a1..4deffa5a 100644 --- a/sdk/go/pkg/testutils/stack.go +++ b/sdk/go/pkg/testutils/stack.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/sdk/go/pkg/utils/utils.go b/sdk/go/pkg/utils/utils.go index 93e68fad..d6be3f60 100644 --- a/sdk/go/pkg/utils/utils.go +++ b/sdk/go/pkg/utils/utils.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/sdk/go/tools/modus-go-build/codegen/codegen.go b/sdk/go/tools/modus-go-build/codegen/codegen.go index 04d20c19..e6667b9b 100644 --- a/sdk/go/tools/modus-go-build/codegen/codegen.go +++ b/sdk/go/tools/modus-go-build/codegen/codegen.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/sdk/go/tools/modus-go-build/codegen/postprocess.go b/sdk/go/tools/modus-go-build/codegen/postprocess.go index e7e4be30..7e3b29df 100644 --- a/sdk/go/tools/modus-go-build/codegen/postprocess.go +++ b/sdk/go/tools/modus-go-build/codegen/postprocess.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/sdk/go/tools/modus-go-build/codegen/preprocess.go b/sdk/go/tools/modus-go-build/codegen/preprocess.go index 6903b3ea..c36cb3e7 100644 --- a/sdk/go/tools/modus-go-build/codegen/preprocess.go +++ b/sdk/go/tools/modus-go-build/codegen/preprocess.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/sdk/go/tools/modus-go-build/compiler/compiler.go b/sdk/go/tools/modus-go-build/compiler/compiler.go index f534323d..437a9b1b 100644 --- a/sdk/go/tools/modus-go-build/compiler/compiler.go +++ b/sdk/go/tools/modus-go-build/compiler/compiler.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/sdk/go/tools/modus-go-build/config/config.go b/sdk/go/tools/modus-go-build/config/config.go index 0dd6fdfc..ad1266ec 100644 --- a/sdk/go/tools/modus-go-build/config/config.go +++ b/sdk/go/tools/modus-go-build/config/config.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/sdk/go/tools/modus-go-build/extractor/extractor.go b/sdk/go/tools/modus-go-build/extractor/extractor.go index f0189a20..6d5c44ad 100644 --- a/sdk/go/tools/modus-go-build/extractor/extractor.go +++ b/sdk/go/tools/modus-go-build/extractor/extractor.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/sdk/go/tools/modus-go-build/extractor/functions.go b/sdk/go/tools/modus-go-build/extractor/functions.go index 0c89f762..c875f1f6 100644 --- a/sdk/go/tools/modus-go-build/extractor/functions.go +++ b/sdk/go/tools/modus-go-build/extractor/functions.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/sdk/go/tools/modus-go-build/extractor/packages.go b/sdk/go/tools/modus-go-build/extractor/packages.go index 20f2e6db..cc339120 100644 --- a/sdk/go/tools/modus-go-build/extractor/packages.go +++ b/sdk/go/tools/modus-go-build/extractor/packages.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/sdk/go/tools/modus-go-build/extractor/transform.go b/sdk/go/tools/modus-go-build/extractor/transform.go index c9f2ab2c..d79d9420 100644 --- a/sdk/go/tools/modus-go-build/extractor/transform.go +++ b/sdk/go/tools/modus-go-build/extractor/transform.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/sdk/go/tools/modus-go-build/gitinfo/gitinfo.go b/sdk/go/tools/modus-go-build/gitinfo/gitinfo.go index 22d617f5..4fb821af 100644 --- a/sdk/go/tools/modus-go-build/gitinfo/gitinfo.go +++ b/sdk/go/tools/modus-go-build/gitinfo/gitinfo.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/sdk/go/tools/modus-go-build/main.go b/sdk/go/tools/modus-go-build/main.go index 6b88f26e..a1ed736c 100644 --- a/sdk/go/tools/modus-go-build/main.go +++ b/sdk/go/tools/modus-go-build/main.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/sdk/go/tools/modus-go-build/metadata/metadata.go b/sdk/go/tools/modus-go-build/metadata/metadata.go index ae931974..8f11af3d 100644 --- a/sdk/go/tools/modus-go-build/metadata/metadata.go +++ b/sdk/go/tools/modus-go-build/metadata/metadata.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/sdk/go/tools/modus-go-build/metagen/metagen.go b/sdk/go/tools/modus-go-build/metagen/metagen.go index f9f56542..27bccc7b 100644 --- a/sdk/go/tools/modus-go-build/metagen/metagen.go +++ b/sdk/go/tools/modus-go-build/metagen/metagen.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/sdk/go/tools/modus-go-build/metagen/output.go b/sdk/go/tools/modus-go-build/metagen/output.go index 23973d5a..66a45264 100644 --- a/sdk/go/tools/modus-go-build/metagen/output.go +++ b/sdk/go/tools/modus-go-build/metagen/output.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/sdk/go/tools/modus-go-build/modinfo/modinfo.go b/sdk/go/tools/modus-go-build/modinfo/modinfo.go index 2e8a3998..a2acf55c 100644 --- a/sdk/go/tools/modus-go-build/modinfo/modinfo.go +++ b/sdk/go/tools/modus-go-build/modinfo/modinfo.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/sdk/go/tools/modus-go-build/utils/typeinfo.go b/sdk/go/tools/modus-go-build/utils/typeinfo.go index 5a1d7094..c8c548b1 100644 --- a/sdk/go/tools/modus-go-build/utils/typeinfo.go +++ b/sdk/go/tools/modus-go-build/utils/typeinfo.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/sdk/go/tools/modus-go-build/utils/utils.go b/sdk/go/tools/modus-go-build/utils/utils.go index 5d251cb5..922412ff 100644 --- a/sdk/go/tools/modus-go-build/utils/utils.go +++ b/sdk/go/tools/modus-go-build/utils/utils.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/sdk/go/tools/modus-go-build/wasm/wasm.go b/sdk/go/tools/modus-go-build/wasm/wasm.go index 0d691df1..2b97ecc6 100644 --- a/sdk/go/tools/modus-go-build/wasm/wasm.go +++ b/sdk/go/tools/modus-go-build/wasm/wasm.go @@ -1,9 +1,9 @@ /* - * Copyright 2024 Hypermode, Inc. + * Copyright 2024 Hypermode Inc. * Licensed under the terms of the Apache License, Version 2.0 * See the LICENSE file that accompanied this code for further details. * - * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-FileCopyrightText: 2024 Hypermode Inc. * SPDX-License-Identifier: Apache-2.0 */ From 538f24211ee54e1901a401da0a518fb05e925f43 Mon Sep 17 00:00:00 2001 From: Ryan Fox-Tyler <60440289+ryanfoxtyler@users.noreply.github.com> Date: Mon, 7 Oct 2024 20:35:03 -0400 Subject: [PATCH 3/9] update issue templates (#434) --- .github/ISSUE_TEMPLATE/bug_report.md | 32 +++++++++++++++++++++++ .github/ISSUE_TEMPLATE/feature_request.md | 20 ++++++++++++++ 2 files changed, 52 insertions(+) create mode 100644 .github/ISSUE_TEMPLATE/bug_report.md create mode 100644 .github/ISSUE_TEMPLATE/feature_request.md diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md new file mode 100644 index 00000000..93654f2b --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -0,0 +1,32 @@ +--- +name: Bug report +about: Create a report to help us improve +title: '' +labels: bug +assignees: '' + +--- + +**Describe the bug** +A clear and concise description of what the bug is. + +**To Reproduce** +Steps to reproduce the behavior: +1. Go to '...' +2. Click on '....' +3. Scroll down to '....' +4. See error + +**Expected behavior** +A clear and concise description of what you expected to happen. + +**Screenshots** +If applicable, add screenshots to help explain your problem. + +**Environment** + - OS: [e.g. macOS, Windows, Ubuntu] + - Language [e.g. AssemblyScript, Go] + - Version [e.g. v0.xx] + +**Additional context** +Add any other context about the problem here. diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md new file mode 100644 index 00000000..bbcbbe7d --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature_request.md @@ -0,0 +1,20 @@ +--- +name: Feature request +about: Suggest an idea for this project +title: '' +labels: '' +assignees: '' + +--- + +**Is your feature request related to a problem? Please describe.** +A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] + +**Describe the solution you'd like** +A clear and concise description of what you want to happen. + +**Describe alternatives you've considered** +A clear and concise description of any alternative solutions or features you've considered. + +**Additional context** +Add any other context or screenshots about the feature request here. From 03f5bccf74c8f5964b3f97c9cacb3c941d5b401b Mon Sep 17 00:00:00 2001 From: Matt Johnson-Pint Date: Mon, 7 Oct 2024 19:01:39 -0700 Subject: [PATCH 4/9] Fix vulnerability in AssemblyScript SDK install script (#435) Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com> --- CHANGELOG.md | 1 + sdk/assemblyscript/src/bin/build-plugin.js | 16 +++++++++++++--- 2 files changed, 14 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index dffbb397..6434b5ec 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,6 +12,7 @@ - Add Modus AssemblyScript SDK [#423](https://github.com/hypermodeinc/modus/pull/423) - Add models to Modus AssemblyScript SDK [#428](https://github.com/hypermodeinc/modus/pull/428) - Update Readme files [#432](https://github.com/hypermodeinc/modus/pull/432) +- Fix vulnerability in AssemblyScript SDK install script [#435](https://github.com/hypermodeinc/modus/pull/435) ## 2024-10-02 - Version 0.12.7 diff --git a/sdk/assemblyscript/src/bin/build-plugin.js b/sdk/assemblyscript/src/bin/build-plugin.js index 38dff6a3..92873e76 100644 --- a/sdk/assemblyscript/src/bin/build-plugin.js +++ b/sdk/assemblyscript/src/bin/build-plugin.js @@ -7,7 +7,7 @@ * SPDX-License-Identifier: Apache-2.0 */ -import { execSync } from "child_process"; +import { execFileSync } from "child_process"; import { readFile } from "fs/promises"; import { existsSync } from "fs"; import process from "process"; @@ -37,9 +37,19 @@ await validatePackageJson(); await validateAsJson(); console.log(`Building ${pkg}.wasm ...`); -const cmd = `node "${npmPath}" exec -- asc assembly/index.ts -o build/${pkg}.wasm --target ${target}`; +const cmdArgs = [ + npmPath, + "exec", + "--", + "asc", + "assembly/index.ts", + "-o", + `build/${pkg}.wasm`, + "--target", + target, +]; try { - execSync(cmd, { stdio: "inherit" }); + execFileSync("node", cmdArgs, { stdio: "inherit" }); } catch { console.error("Build failed.\n"); process.exit(1); From caafc0af6fae7013d8b77bda434b7f695ff47e07 Mon Sep 17 00:00:00 2001 From: Ryan Fox-Tyler <60440289+ryanfoxtyler@users.noreply.github.com> Date: Mon, 7 Oct 2024 22:05:18 -0400 Subject: [PATCH 5/9] create pull_request_template.md (#436) Co-authored-by: Matt Johnson-Pint --- .github/pull_request_template.md | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 .github/pull_request_template.md diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md new file mode 100644 index 00000000..4d373795 --- /dev/null +++ b/.github/pull_request_template.md @@ -0,0 +1,10 @@ +# Description +Please explain the changes you made here. + +# Checklist +- [ ] Code compiles correctly and linting passes locally +- [ ] Tests for new functionality and regression tests for bug fixes added +- [ ] Documentation added or updated +- [ ] Entry added to the `CHANGELOG.md` file describing and linking to this PR + +Thank you for your contribution to the Modus project! From 1ed52564034b33838a258dfff733a9e5c9a4903f Mon Sep 17 00:00:00 2001 From: Matt Johnson-Pint Date: Mon, 7 Oct 2024 19:11:48 -0700 Subject: [PATCH 6/9] Fix potential array out of bounds in the runtime (#437) Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com> --- CHANGELOG.md | 1 + runtime/languages/golang/typeinfo.go | 11 ++++++++++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6434b5ec..b4969a80 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,6 +13,7 @@ - Add models to Modus AssemblyScript SDK [#428](https://github.com/hypermodeinc/modus/pull/428) - Update Readme files [#432](https://github.com/hypermodeinc/modus/pull/432) - Fix vulnerability in AssemblyScript SDK install script [#435](https://github.com/hypermodeinc/modus/pull/435) +- Fix potential array out of bounds in the runtime [#437](https://github.com/hypermodeinc/modus/pull/437) ## 2024-10-02 - Version 0.12.7 diff --git a/runtime/languages/golang/typeinfo.go b/runtime/languages/golang/typeinfo.go index 3a50b55c..caed6a39 100644 --- a/runtime/languages/golang/typeinfo.go +++ b/runtime/languages/golang/typeinfo.go @@ -12,6 +12,7 @@ package golang import ( "context" "fmt" + "math" "reflect" "strconv" "strings" @@ -117,7 +118,15 @@ func (lti *langTypeInfo) ArrayLength(typ string) (int, error) { return -1, fmt.Errorf("invalid array type: %s", typ) } - return strconv.Atoi(size) + parsedSize, err := strconv.Atoi(size) + if err != nil { + return -1, err + } + if parsedSize < 0 || parsedSize > math.MaxUint32 { + return -1, fmt.Errorf("array size out of bounds: %s", size) + } + + return parsedSize, nil } func (lti *langTypeInfo) IsBooleanType(typ string) bool { From 2793b891c26bec4454e69e32281a181ba6f75da2 Mon Sep 17 00:00:00 2001 From: Matt Johnson-Pint Date: Mon, 7 Oct 2024 19:14:47 -0700 Subject: [PATCH 7/9] Set go 1.23.0 (#438) --- go.mod | 2 +- runtime/go.mod | 2 +- runtime/languages/golang/testdata/go.mod | 2 +- sdk/go/examples/classification/go.mod | 2 +- sdk/go/examples/collections/go.mod | 2 +- sdk/go/examples/dgraph/go.mod | 2 +- sdk/go/examples/embedding/go.mod | 2 +- sdk/go/examples/graphql/go.mod | 2 +- sdk/go/examples/http/go.mod | 2 +- sdk/go/examples/postgresql/go.mod | 2 +- sdk/go/examples/simple/go.mod | 2 +- sdk/go/examples/textgeneration/go.mod | 2 +- sdk/go/go.mod | 2 +- sdk/go/tools/modus-go-build/go.mod | 2 +- 14 files changed, 14 insertions(+), 14 deletions(-) diff --git a/go.mod b/go.mod index d56ec9da..ecd2543c 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/hypermodeinc/modus -go 1.23 +go 1.23.0 require ( github.com/santhosh-tekuri/jsonschema/v5 v5.3.1 diff --git a/runtime/go.mod b/runtime/go.mod index ecf6decc..12606311 100644 --- a/runtime/go.mod +++ b/runtime/go.mod @@ -1,6 +1,6 @@ module github.com/hypermodeinc/modus/runtime -go 1.23 +go 1.23.0 require github.com/hypermodeinc/modus v0.0.0 diff --git a/runtime/languages/golang/testdata/go.mod b/runtime/languages/golang/testdata/go.mod index ef512313..471487cf 100644 --- a/runtime/languages/golang/testdata/go.mod +++ b/runtime/languages/golang/testdata/go.mod @@ -1,6 +1,6 @@ module testdata -go 1.23 +go 1.23.0 require github.com/hypermodeinc/modus/sdk/go v0.0.0 diff --git a/sdk/go/examples/classification/go.mod b/sdk/go/examples/classification/go.mod index e57cbb81..af8a9d0e 100644 --- a/sdk/go/examples/classification/go.mod +++ b/sdk/go/examples/classification/go.mod @@ -1,6 +1,6 @@ module classification-example -go 1.23 +go 1.23.0 require github.com/hypermodeinc/modus/sdk/go v0.0.0 diff --git a/sdk/go/examples/collections/go.mod b/sdk/go/examples/collections/go.mod index e1001224..edcdeba2 100644 --- a/sdk/go/examples/collections/go.mod +++ b/sdk/go/examples/collections/go.mod @@ -1,6 +1,6 @@ module collection-example -go 1.23 +go 1.23.0 require github.com/hypermodeinc/modus/sdk/go v0.0.0 diff --git a/sdk/go/examples/dgraph/go.mod b/sdk/go/examples/dgraph/go.mod index 35b456ce..4b469d25 100644 --- a/sdk/go/examples/dgraph/go.mod +++ b/sdk/go/examples/dgraph/go.mod @@ -1,6 +1,6 @@ module dgraph-example -go 1.23 +go 1.23.0 require github.com/hypermodeinc/modus/sdk/go v0.0.0 diff --git a/sdk/go/examples/embedding/go.mod b/sdk/go/examples/embedding/go.mod index 6a331d46..d17bec34 100644 --- a/sdk/go/examples/embedding/go.mod +++ b/sdk/go/examples/embedding/go.mod @@ -1,6 +1,6 @@ module embedding-example -go 1.23 +go 1.23.0 require github.com/hypermodeinc/modus/sdk/go v0.0.0 diff --git a/sdk/go/examples/graphql/go.mod b/sdk/go/examples/graphql/go.mod index 7148a182..900e76e1 100644 --- a/sdk/go/examples/graphql/go.mod +++ b/sdk/go/examples/graphql/go.mod @@ -1,6 +1,6 @@ module graphql-example -go 1.23 +go 1.23.0 require github.com/hypermodeinc/modus/sdk/go v0.0.0 diff --git a/sdk/go/examples/http/go.mod b/sdk/go/examples/http/go.mod index 66ce4bcd..dc9cdb23 100644 --- a/sdk/go/examples/http/go.mod +++ b/sdk/go/examples/http/go.mod @@ -1,6 +1,6 @@ module http-example -go 1.23 +go 1.23.0 require github.com/hypermodeinc/modus/sdk/go v0.0.0 diff --git a/sdk/go/examples/postgresql/go.mod b/sdk/go/examples/postgresql/go.mod index 09761f11..ec00b1cc 100644 --- a/sdk/go/examples/postgresql/go.mod +++ b/sdk/go/examples/postgresql/go.mod @@ -1,6 +1,6 @@ module postgresql-example -go 1.23 +go 1.23.0 require github.com/hypermodeinc/modus/sdk/go v0.0.0 diff --git a/sdk/go/examples/simple/go.mod b/sdk/go/examples/simple/go.mod index bdcc3d3f..8914634d 100644 --- a/sdk/go/examples/simple/go.mod +++ b/sdk/go/examples/simple/go.mod @@ -1,6 +1,6 @@ module simple-example -go 1.23 +go 1.23.0 require github.com/hypermodeinc/modus/sdk/go v0.0.0 diff --git a/sdk/go/examples/textgeneration/go.mod b/sdk/go/examples/textgeneration/go.mod index 961c2d57..b8bf4a8d 100644 --- a/sdk/go/examples/textgeneration/go.mod +++ b/sdk/go/examples/textgeneration/go.mod @@ -1,6 +1,6 @@ module text-generation-example -go 1.23 +go 1.23.0 require github.com/hypermodeinc/modus/sdk/go v0.0.0 diff --git a/sdk/go/go.mod b/sdk/go/go.mod index c0788b41..0fed84ee 100644 --- a/sdk/go/go.mod +++ b/sdk/go/go.mod @@ -1,6 +1,6 @@ module github.com/hypermodeinc/modus/sdk/go -go 1.23 +go 1.23.0 require github.com/tidwall/sjson v1.2.5 diff --git a/sdk/go/tools/modus-go-build/go.mod b/sdk/go/tools/modus-go-build/go.mod index 44473fcc..b264d5b8 100644 --- a/sdk/go/tools/modus-go-build/go.mod +++ b/sdk/go/tools/modus-go-build/go.mod @@ -1,6 +1,6 @@ module github.com/hypermodeinc/modus/sdk/go/tools/modus-go-build -go 1.23 +go 1.23.0 require github.com/hypermodeinc/modus v0.0.0 From 1054e1c3d362eda458ca458a044759f377f6891e Mon Sep 17 00:00:00 2001 From: Jai Radhakrishnan <55522316+jairad26@users.noreply.github.com> Date: Tue, 8 Oct 2024 10:33:24 -0700 Subject: [PATCH 8/9] add vector sdk (#431) --- CHANGELOG.md | 1 + .../examples/vectors/.prettierrc | 3 + sdk/assemblyscript/examples/vectors/README.md | 3 + .../examples/vectors/asconfig.json | 6 + .../examples/vectors/assembly/index.ts | 106 + .../examples/vectors/assembly/tsconfig.json | 4 + .../examples/vectors/eslint.config.js | 11 + .../examples/vectors/hypermode.json | 12 + .../examples/vectors/package-lock.json | 3391 +++++++++++++++++ .../examples/vectors/package.json | 32 + .../src/assembly/__tests__/vectors.spec.ts | 166 + sdk/assemblyscript/src/assembly/index.ts | 3 + sdk/assemblyscript/src/assembly/vectors.ts | 377 ++ sdk/assemblyscript/src/package-lock.json | 10 +- sdk/assemblyscript/src/package.json | 2 +- sdk/assemblyscript/src/tests/vectors.run.ts | 17 + sdk/go/examples/vectors/build.cmd | 12 + sdk/go/examples/vectors/build.sh | 12 + sdk/go/examples/vectors/go.mod | 9 + sdk/go/examples/vectors/go.sum | 2 + sdk/go/examples/vectors/hypermode.json | 12 + sdk/go/examples/vectors/main.go | 110 + sdk/go/go.mod | 5 +- sdk/go/go.sum | 4 +- sdk/go/pkg/vectors/vectors.go | 245 ++ sdk/go/pkg/vectors/vectors_test.go | 313 ++ 26 files changed, 4859 insertions(+), 9 deletions(-) create mode 100644 sdk/assemblyscript/examples/vectors/.prettierrc create mode 100644 sdk/assemblyscript/examples/vectors/README.md create mode 100644 sdk/assemblyscript/examples/vectors/asconfig.json create mode 100644 sdk/assemblyscript/examples/vectors/assembly/index.ts create mode 100644 sdk/assemblyscript/examples/vectors/assembly/tsconfig.json create mode 100644 sdk/assemblyscript/examples/vectors/eslint.config.js create mode 100644 sdk/assemblyscript/examples/vectors/hypermode.json create mode 100644 sdk/assemblyscript/examples/vectors/package-lock.json create mode 100644 sdk/assemblyscript/examples/vectors/package.json create mode 100644 sdk/assemblyscript/src/assembly/__tests__/vectors.spec.ts create mode 100644 sdk/assemblyscript/src/assembly/vectors.ts create mode 100644 sdk/assemblyscript/src/tests/vectors.run.ts create mode 100644 sdk/go/examples/vectors/build.cmd create mode 100755 sdk/go/examples/vectors/build.sh create mode 100644 sdk/go/examples/vectors/go.mod create mode 100644 sdk/go/examples/vectors/go.sum create mode 100644 sdk/go/examples/vectors/hypermode.json create mode 100644 sdk/go/examples/vectors/main.go create mode 100644 sdk/go/pkg/vectors/vectors.go create mode 100644 sdk/go/pkg/vectors/vectors_test.go diff --git a/CHANGELOG.md b/CHANGELOG.md index b4969a80..524ba3b2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,7 @@ - Remove HTTP Timeout, Add Context Timeout on Collections [#422](https://github.com/hypermodeinc/modus/pull/422) - Add Modus AssemblyScript SDK [#423](https://github.com/hypermodeinc/modus/pull/423) - Add models to Modus AssemblyScript SDK [#428](https://github.com/hypermodeinc/modus/pull/428) +- Add Vectors SDK support [#431](https://github.com/hypermodeinc/modus/pull/431) - Update Readme files [#432](https://github.com/hypermodeinc/modus/pull/432) - Fix vulnerability in AssemblyScript SDK install script [#435](https://github.com/hypermodeinc/modus/pull/435) - Fix potential array out of bounds in the runtime [#437](https://github.com/hypermodeinc/modus/pull/437) diff --git a/sdk/assemblyscript/examples/vectors/.prettierrc b/sdk/assemblyscript/examples/vectors/.prettierrc new file mode 100644 index 00000000..64cb35ca --- /dev/null +++ b/sdk/assemblyscript/examples/vectors/.prettierrc @@ -0,0 +1,3 @@ +{ + "plugins": ["assemblyscript-prettier"] +} diff --git a/sdk/assemblyscript/examples/vectors/README.md b/sdk/assemblyscript/examples/vectors/README.md new file mode 100644 index 00000000..3e386a2b --- /dev/null +++ b/sdk/assemblyscript/examples/vectors/README.md @@ -0,0 +1,3 @@ +# Hypermode Vectors Example Plugin + +This is an example displaying the capabilities of Modus's vector support. diff --git a/sdk/assemblyscript/examples/vectors/asconfig.json b/sdk/assemblyscript/examples/vectors/asconfig.json new file mode 100644 index 00000000..d8372651 --- /dev/null +++ b/sdk/assemblyscript/examples/vectors/asconfig.json @@ -0,0 +1,6 @@ +{ + "extends": "./node_modules/@hypermode/modus-sdk-as/plugin.asconfig.json", + "options": { + "transform": ["@hypermode/modus-sdk-as/transform", "json-as/transform"] + } +} diff --git a/sdk/assemblyscript/examples/vectors/assembly/index.ts b/sdk/assemblyscript/examples/vectors/assembly/index.ts new file mode 100644 index 00000000..596f0317 --- /dev/null +++ b/sdk/assemblyscript/examples/vectors/assembly/index.ts @@ -0,0 +1,106 @@ +/* + * This example is part of the Modus project, licensed under the Apache License 2.0. + * You may modify and use this example in accordance with the license. + * See the LICENSE file that accompanied this code for further details. + */ + +import { vectors } from "@hypermode/modus-sdk-as"; + +export function add(a: f64[], b: f64[]): f64[] { + return vectors.add(a, b); +} + +export function addInPlace(a: f64[], b: f64[]): f64[] { + vectors.addInPlace(a, b); + return a; +} + +export function subtract(a: f64[], b: f64[]): f64[] { + return vectors.subtract(a, b); +} + +export function subtractInPlace(a: f64[], b: f64[]): f64[] { + vectors.subtractInPlace(a, b); + return a; +} + +export function addNumber(a: f64[], b: f64): f64[] { + return vectors.addNumber(a, b); +} + +export function addNumberInPlace(a: f64[], b: f64): f64[] { + vectors.addNumberInPlace(a, b); + return a; +} + +export function subtractNumber(a: f64[], b: f64): f64[] { + return vectors.subtractNumber(a, b); +} + +export function subtractNumberInPlace(a: f64[], b: f64): f64[] { + vectors.subtractNumberInPlace(a, b); + return a; +} + +export function multiplyNumber(a: f64[], b: f64): f64[] { + return vectors.multiplyNumber(a, b); +} + +export function multiplyNumberInPlace(a: f64[], b: f64): f64[] { + vectors.multiplyNumberInPlace(a, b); + return a; +} + +export function divideNumber(a: f64[], b: f64): f64[] { + return vectors.divideNumber(a, b); +} + +export function divideNumberInPlace(a: f64[], b: f64): f64[] { + vectors.divideNumberInPlace(a, b); + return a; +} + +export function dot(a: f64[], b: f64[]): f64 { + return vectors.dot(a, b); +} + +export function magnitude(a: f64[]): f64 { + return vectors.magnitude(a); +} + +export function normalize(a: f64[]): f64[] { + return vectors.normalize(a); +} + +export function sum(a: f64[]): f64 { + return vectors.sum(a); +} + +export function product(a: f64[]): f64 { + return vectors.product(a); +} + +export function mean(a: f64[]): f64 { + return vectors.mean(a); +} + +export function min(a: f64[]): f64 { + return vectors.min(a); +} + +export function max(a: f64[]): f64 { + return vectors.max(a); +} + +export function abs(a: f64[]): f64[] { + return vectors.abs(a); +} + +export function absInPlace(a: f64[]): f64[] { + vectors.absInPlace(a); + return a; +} + +export function euclidianDistance(a: f64[], b: f64[]): f64 { + return vectors.euclidianDistance(a, b); +} diff --git a/sdk/assemblyscript/examples/vectors/assembly/tsconfig.json b/sdk/assemblyscript/examples/vectors/assembly/tsconfig.json new file mode 100644 index 00000000..798b474e --- /dev/null +++ b/sdk/assemblyscript/examples/vectors/assembly/tsconfig.json @@ -0,0 +1,4 @@ +{ + "extends": "assemblyscript/std/assembly.json", + "include": ["./**/*.ts"] +} diff --git a/sdk/assemblyscript/examples/vectors/eslint.config.js b/sdk/assemblyscript/examples/vectors/eslint.config.js new file mode 100644 index 00000000..7ad50aea --- /dev/null +++ b/sdk/assemblyscript/examples/vectors/eslint.config.js @@ -0,0 +1,11 @@ +// @ts-check + +import eslint from "@eslint/js"; +import tseslint from "typescript-eslint"; +import aseslint from "@hypermode/modus-sdk-as/tools/assemblyscript-eslint"; + +export default tseslint.config( + eslint.configs.recommended, + ...tseslint.configs.recommended, + aseslint.config, +); diff --git a/sdk/assemblyscript/examples/vectors/hypermode.json b/sdk/assemblyscript/examples/vectors/hypermode.json new file mode 100644 index 00000000..76c0b20a --- /dev/null +++ b/sdk/assemblyscript/examples/vectors/hypermode.json @@ -0,0 +1,12 @@ +{ + "$schema": "https://manifest.hypermode.com/hypermode.json", + "models": { + // No models are used by this example, but if you add any, they would go here. + }, + "hosts": { + // No hosts are used by this example, but if you add any, they would go here. + }, + "collections": { + // No collections are used by this example, but if you add any, they would go here. + } +} diff --git a/sdk/assemblyscript/examples/vectors/package-lock.json b/sdk/assemblyscript/examples/vectors/package-lock.json new file mode 100644 index 00000000..94e20471 --- /dev/null +++ b/sdk/assemblyscript/examples/vectors/package-lock.json @@ -0,0 +1,3391 @@ +{ + "name": "simple-example", + "lockfileVersion": 3, + "requires": true, + "packages": { + "": { + "name": "simple-example", + "license": "Apache-2.0", + "dependencies": { + "@hypermode/modus-sdk-as": "../../src", + "json-as": "^0.9.21" + }, + "devDependencies": { + "@eslint/js": "^9.11.1", + "@types/eslint__js": "^8.42.3", + "assemblyscript": "^0.27.30", + "assemblyscript-prettier": "^3.0.1", + "eslint": "^9.11.1", + "prettier": "^3.3.3", + "typescript": "^5.6.2", + "typescript-eslint": "^8.8.0", + "visitor-as": "^0.11.4" + } + }, + "../../src": { + "name": "@hypermode/modus-sdk-as", + "version": "0.12.0", + "license": "Apache-2.0", + "dependencies": { + "@assemblyscript/wasi-shim": "^0.1.0", + "json-as": "^0.9.21", + "semver": "^7.6.3", + "xid-ts": "^1.1.4" + }, + "devDependencies": { + "@eslint/js": "^9.12.0", + "@types/eslint__js": "^8.42.3", + "@types/node": "^20.16.10", + "as-test": "^0.3.4", + "assemblyscript": "^0.27.30", + "assemblyscript-prettier": "^3.0.1", + "eslint": "^9.12.0", + "prettier": "^3.3.3", + "typescript": "^5.6.2", + "typescript-eslint": "^8.8.0", + "visitor-as": "^0.11.4" + } + }, + "../../src/node_modules/@assemblyscript/wasi-shim": { + "version": "0.1.0", + "license": "Apache-2.0", + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/assemblyscript" + } + }, + "../../src/node_modules/@eslint-community/eslint-utils": { + "version": "4.4.0", + "dev": true, + "license": "MIT", + "dependencies": { + "eslint-visitor-keys": "^3.3.0" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "peerDependencies": { + "eslint": "^6.0.0 || ^7.0.0 || >=8.0.0" + } + }, + "../../src/node_modules/@eslint-community/regexpp": { + "version": "4.11.0", + "dev": true, + "license": "MIT", + "engines": { + "node": "^12.0.0 || ^14.0.0 || >=16.0.0" + } + }, + "../../src/node_modules/@eslint/config-array": { + "version": "0.18.0", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@eslint/object-schema": "^2.1.4", + "debug": "^4.3.1", + "minimatch": "^3.1.2" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + } + }, + "../../src/node_modules/@eslint/core": { + "version": "0.6.0", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + } + }, + "../../src/node_modules/@eslint/eslintrc": { + "version": "3.1.0", + "dev": true, + "license": "MIT", + "dependencies": { + "ajv": "^6.12.4", + "debug": "^4.3.2", + "espree": "^10.0.1", + "globals": "^14.0.0", + "ignore": "^5.2.0", + "import-fresh": "^3.2.1", + "js-yaml": "^4.1.0", + "minimatch": "^3.1.2", + "strip-json-comments": "^3.1.1" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" + } + }, + "../../src/node_modules/@eslint/js": { + "version": "9.12.0", + "dev": true, + "license": "MIT", + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + } + }, + "../../src/node_modules/@eslint/object-schema": { + "version": "2.1.4", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + } + }, + "../../src/node_modules/@eslint/plugin-kit": { + "version": "0.2.0", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "levn": "^0.4.1" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + } + }, + "../../src/node_modules/@humanfs/core": { + "version": "0.19.0", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": ">=18.18.0" + } + }, + "../../src/node_modules/@humanfs/node": { + "version": "0.16.5", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@humanfs/core": "^0.19.0", + "@humanwhocodes/retry": "^0.3.0" + }, + "engines": { + "node": ">=18.18.0" + } + }, + "../../src/node_modules/@humanwhocodes/module-importer": { + "version": "1.0.1", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": ">=12.22" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/nzakas" + } + }, + "../../src/node_modules/@humanwhocodes/retry": { + "version": "0.3.1", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": ">=18.18" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/nzakas" + } + }, + "../../src/node_modules/@isaacs/cliui": { + "version": "8.0.2", + "dev": true, + "license": "ISC", + "dependencies": { + "string-width": "^5.1.2", + "string-width-cjs": "npm:string-width@^4.2.0", + "strip-ansi": "^7.0.1", + "strip-ansi-cjs": "npm:strip-ansi@^6.0.1", + "wrap-ansi": "^8.1.0", + "wrap-ansi-cjs": "npm:wrap-ansi@^7.0.0" + }, + "engines": { + "node": ">=12" + } + }, + "../../src/node_modules/@isaacs/cliui/node_modules/ansi-regex": { + "version": "6.0.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/ansi-regex?sponsor=1" + } + }, + "../../src/node_modules/@isaacs/cliui/node_modules/strip-ansi": { + "version": "7.1.0", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-regex": "^6.0.1" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/strip-ansi?sponsor=1" + } + }, + "../../src/node_modules/@nodelib/fs.scandir": { + "version": "2.1.5", + "dev": true, + "license": "MIT", + "dependencies": { + "@nodelib/fs.stat": "2.0.5", + "run-parallel": "^1.1.9" + }, + "engines": { + "node": ">= 8" + } + }, + "../../src/node_modules/@nodelib/fs.stat": { + "version": "2.0.5", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 8" + } + }, + "../../src/node_modules/@nodelib/fs.walk": { + "version": "1.2.8", + "dev": true, + "license": "MIT", + "dependencies": { + "@nodelib/fs.scandir": "2.1.5", + "fastq": "^1.6.0" + }, + "engines": { + "node": ">= 8" + } + }, + "../../src/node_modules/@pkgjs/parseargs": { + "version": "0.11.0", + "dev": true, + "license": "MIT", + "optional": true, + "engines": { + "node": ">=14" + } + }, + "../../src/node_modules/@types/eslint": { + "version": "9.6.0", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/estree": "*", + "@types/json-schema": "*" + } + }, + "../../src/node_modules/@types/eslint__js": { + "version": "8.42.3", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/eslint": "*" + } + }, + "../../src/node_modules/@types/estree": { + "version": "1.0.6", + "dev": true, + "license": "MIT" + }, + "../../src/node_modules/@types/json-schema": { + "version": "7.0.15", + "dev": true, + "license": "MIT" + }, + "../../src/node_modules/@types/node": { + "version": "20.16.10", + "dev": true, + "license": "MIT", + "dependencies": { + "undici-types": "~6.19.2" + } + }, + "../../src/node_modules/@typescript-eslint/eslint-plugin": { + "version": "8.8.0", + "dev": true, + "license": "MIT", + "dependencies": { + "@eslint-community/regexpp": "^4.10.0", + "@typescript-eslint/scope-manager": "8.8.0", + "@typescript-eslint/type-utils": "8.8.0", + "@typescript-eslint/utils": "8.8.0", + "@typescript-eslint/visitor-keys": "8.8.0", + "graphemer": "^1.4.0", + "ignore": "^5.3.1", + "natural-compare": "^1.4.0", + "ts-api-utils": "^1.3.0" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependencies": { + "@typescript-eslint/parser": "^8.0.0 || ^8.0.0-alpha.0", + "eslint": "^8.57.0 || ^9.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "../../src/node_modules/@typescript-eslint/parser": { + "version": "8.8.0", + "dev": true, + "license": "BSD-2-Clause", + "dependencies": { + "@typescript-eslint/scope-manager": "8.8.0", + "@typescript-eslint/types": "8.8.0", + "@typescript-eslint/typescript-estree": "8.8.0", + "@typescript-eslint/visitor-keys": "8.8.0", + "debug": "^4.3.4" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependencies": { + "eslint": "^8.57.0 || ^9.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "../../src/node_modules/@typescript-eslint/scope-manager": { + "version": "8.8.0", + "dev": true, + "license": "MIT", + "dependencies": { + "@typescript-eslint/types": "8.8.0", + "@typescript-eslint/visitor-keys": "8.8.0" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + } + }, + "../../src/node_modules/@typescript-eslint/type-utils": { + "version": "8.8.0", + "dev": true, + "license": "MIT", + "dependencies": { + "@typescript-eslint/typescript-estree": "8.8.0", + "@typescript-eslint/utils": "8.8.0", + "debug": "^4.3.4", + "ts-api-utils": "^1.3.0" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "../../src/node_modules/@typescript-eslint/types": { + "version": "8.8.0", + "dev": true, + "license": "MIT", + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + } + }, + "../../src/node_modules/@typescript-eslint/typescript-estree": { + "version": "8.8.0", + "dev": true, + "license": "BSD-2-Clause", + "dependencies": { + "@typescript-eslint/types": "8.8.0", + "@typescript-eslint/visitor-keys": "8.8.0", + "debug": "^4.3.4", + "fast-glob": "^3.3.2", + "is-glob": "^4.0.3", + "minimatch": "^9.0.4", + "semver": "^7.6.0", + "ts-api-utils": "^1.3.0" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "../../src/node_modules/@typescript-eslint/typescript-estree/node_modules/minimatch": { + "version": "9.0.5", + "dev": true, + "license": "ISC", + "dependencies": { + "brace-expansion": "^2.0.1" + }, + "engines": { + "node": ">=16 || 14 >=14.17" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "../../src/node_modules/@typescript-eslint/utils": { + "version": "8.8.0", + "dev": true, + "license": "MIT", + "dependencies": { + "@eslint-community/eslint-utils": "^4.4.0", + "@typescript-eslint/scope-manager": "8.8.0", + "@typescript-eslint/types": "8.8.0", + "@typescript-eslint/typescript-estree": "8.8.0" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependencies": { + "eslint": "^8.57.0 || ^9.0.0" + } + }, + "../../src/node_modules/@typescript-eslint/visitor-keys": { + "version": "8.8.0", + "dev": true, + "license": "MIT", + "dependencies": { + "@typescript-eslint/types": "8.8.0", + "eslint-visitor-keys": "^3.4.3" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + } + }, + "../../src/node_modules/acorn": { + "version": "8.12.1", + "dev": true, + "license": "MIT", + "bin": { + "acorn": "bin/acorn" + }, + "engines": { + "node": ">=0.4.0" + } + }, + "../../src/node_modules/acorn-jsx": { + "version": "5.3.2", + "dev": true, + "license": "MIT", + "peerDependencies": { + "acorn": "^6.0.0 || ^7.0.0 || ^8.0.0" + } + }, + "../../src/node_modules/ajv": { + "version": "6.12.6", + "dev": true, + "license": "MIT", + "dependencies": { + "fast-deep-equal": "^3.1.1", + "fast-json-stable-stringify": "^2.0.0", + "json-schema-traverse": "^0.4.1", + "uri-js": "^4.2.2" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/epoberezkin" + } + }, + "../../src/node_modules/ansi-regex": { + "version": "5.0.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "../../src/node_modules/ansi-styles": { + "version": "4.3.0", + "dev": true, + "license": "MIT", + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "../../src/node_modules/argparse": { + "version": "2.0.1", + "dev": true, + "license": "Python-2.0" + }, + "../../src/node_modules/as-console": { + "version": "7.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "as-rainbow": "^0.1.0", + "table-as": "^1.0.1" + } + }, + "../../src/node_modules/as-rainbow": { + "version": "0.1.0", + "dev": true, + "license": "MIT" + }, + "../../src/node_modules/as-test": { + "version": "0.3.4", + "dev": true, + "license": "MIT", + "dependencies": { + "as-console": "^7.0.0", + "as-rainbow": "^0.1.0", + "as-variant": "^0.4.1", + "chalk": "^5.3.0", + "glob": "^11.0.0", + "json-as": "^0.9.14", + "typer-diff": "^1.1.1" + }, + "bin": { + "as-test": "bin/index.js", + "ast": "bin/index.js" + } + }, + "../../src/node_modules/as-test/node_modules/chalk": { + "version": "5.3.0", + "dev": true, + "license": "MIT", + "engines": { + "node": "^12.17.0 || ^14.13 || >=16.0.0" + }, + "funding": { + "url": "https://github.com/chalk/chalk?sponsor=1" + } + }, + "../../src/node_modules/as-test/node_modules/glob": { + "version": "11.0.0", + "dev": true, + "license": "ISC", + "dependencies": { + "foreground-child": "^3.1.0", + "jackspeak": "^4.0.1", + "minimatch": "^10.0.0", + "minipass": "^7.1.2", + "package-json-from-dist": "^1.0.0", + "path-scurry": "^2.0.0" + }, + "bin": { + "glob": "dist/esm/bin.mjs" + }, + "engines": { + "node": "20 || >=22" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "../../src/node_modules/as-test/node_modules/minimatch": { + "version": "10.0.1", + "dev": true, + "license": "ISC", + "dependencies": { + "brace-expansion": "^2.0.1" + }, + "engines": { + "node": "20 || >=22" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "../../src/node_modules/as-variant": { + "version": "0.4.1", + "dev": true + }, + "../../src/node_modules/as-virtual": { + "version": "0.2.0", + "license": "MIT" + }, + "../../src/node_modules/assemblyscript": { + "version": "0.27.30", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "binaryen": "116.0.0-nightly.20240114", + "long": "^5.2.1" + }, + "bin": { + "asc": "bin/asc.js", + "asinit": "bin/asinit.js" + }, + "engines": { + "node": ">=16", + "npm": ">=7" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/assemblyscript" + } + }, + "../../src/node_modules/assemblyscript-prettier": { + "version": "3.0.1", + "dev": true, + "license": "MIT", + "dependencies": { + "assemblyscript": "~0.27.0" + }, + "peerDependencies": { + "prettier": "^3.0.0" + } + }, + "../../src/node_modules/balanced-match": { + "version": "1.0.2", + "dev": true, + "license": "MIT" + }, + "../../src/node_modules/binaryen": { + "version": "116.0.0-nightly.20240114", + "dev": true, + "license": "Apache-2.0", + "bin": { + "wasm-opt": "bin/wasm-opt", + "wasm2js": "bin/wasm2js" + } + }, + "../../src/node_modules/brace-expansion": { + "version": "2.0.1", + "dev": true, + "license": "MIT", + "dependencies": { + "balanced-match": "^1.0.0" + } + }, + "../../src/node_modules/braces": { + "version": "3.0.3", + "dev": true, + "license": "MIT", + "dependencies": { + "fill-range": "^7.1.1" + }, + "engines": { + "node": ">=8" + } + }, + "../../src/node_modules/callsites": { + "version": "3.1.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "../../src/node_modules/chalk": { + "version": "4.1.2", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/chalk?sponsor=1" + } + }, + "../../src/node_modules/color-convert": { + "version": "2.0.1", + "dev": true, + "license": "MIT", + "dependencies": { + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" + } + }, + "../../src/node_modules/color-name": { + "version": "1.1.4", + "dev": true, + "license": "MIT" + }, + "../../src/node_modules/concat-map": { + "version": "0.0.1", + "dev": true, + "license": "MIT" + }, + "../../src/node_modules/cross-spawn": { + "version": "7.0.3", + "dev": true, + "license": "MIT", + "dependencies": { + "path-key": "^3.1.0", + "shebang-command": "^2.0.0", + "which": "^2.0.1" + }, + "engines": { + "node": ">= 8" + } + }, + "../../src/node_modules/debug": { + "version": "4.3.5", + "dev": true, + "license": "MIT", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "../../src/node_modules/deep-is": { + "version": "0.1.4", + "dev": true, + "license": "MIT" + }, + "../../src/node_modules/eastasianwidth": { + "version": "0.2.0", + "dev": true, + "license": "MIT" + }, + "../../src/node_modules/emoji-regex": { + "version": "9.2.2", + "dev": true, + "license": "MIT" + }, + "../../src/node_modules/escape-string-regexp": { + "version": "4.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "../../src/node_modules/eslint": { + "version": "9.12.0", + "dev": true, + "license": "MIT", + "dependencies": { + "@eslint-community/eslint-utils": "^4.2.0", + "@eslint-community/regexpp": "^4.11.0", + "@eslint/config-array": "^0.18.0", + "@eslint/core": "^0.6.0", + "@eslint/eslintrc": "^3.1.0", + "@eslint/js": "9.12.0", + "@eslint/plugin-kit": "^0.2.0", + "@humanfs/node": "^0.16.5", + "@humanwhocodes/module-importer": "^1.0.1", + "@humanwhocodes/retry": "^0.3.1", + "@types/estree": "^1.0.6", + "@types/json-schema": "^7.0.15", + "ajv": "^6.12.4", + "chalk": "^4.0.0", + "cross-spawn": "^7.0.2", + "debug": "^4.3.2", + "escape-string-regexp": "^4.0.0", + "eslint-scope": "^8.1.0", + "eslint-visitor-keys": "^4.1.0", + "espree": "^10.2.0", + "esquery": "^1.5.0", + "esutils": "^2.0.2", + "fast-deep-equal": "^3.1.3", + "file-entry-cache": "^8.0.0", + "find-up": "^5.0.0", + "glob-parent": "^6.0.2", + "ignore": "^5.2.0", + "imurmurhash": "^0.1.4", + "is-glob": "^4.0.0", + "json-stable-stringify-without-jsonify": "^1.0.1", + "lodash.merge": "^4.6.2", + "minimatch": "^3.1.2", + "natural-compare": "^1.4.0", + "optionator": "^0.9.3", + "text-table": "^0.2.0" + }, + "bin": { + "eslint": "bin/eslint.js" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "url": "https://eslint.org/donate" + }, + "peerDependencies": { + "jiti": "*" + }, + "peerDependenciesMeta": { + "jiti": { + "optional": true + } + } + }, + "../../src/node_modules/eslint-scope": { + "version": "8.1.0", + "dev": true, + "license": "BSD-2-Clause", + "dependencies": { + "esrecurse": "^4.3.0", + "estraverse": "^5.2.0" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" + } + }, + "../../src/node_modules/eslint-visitor-keys": { + "version": "3.4.3", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" + } + }, + "../../src/node_modules/eslint/node_modules/eslint-visitor-keys": { + "version": "4.1.0", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" + } + }, + "../../src/node_modules/espree": { + "version": "10.2.0", + "dev": true, + "license": "BSD-2-Clause", + "dependencies": { + "acorn": "^8.12.0", + "acorn-jsx": "^5.3.2", + "eslint-visitor-keys": "^4.1.0" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" + } + }, + "../../src/node_modules/espree/node_modules/eslint-visitor-keys": { + "version": "4.1.0", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" + } + }, + "../../src/node_modules/esquery": { + "version": "1.5.0", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "estraverse": "^5.1.0" + }, + "engines": { + "node": ">=0.10" + } + }, + "../../src/node_modules/esrecurse": { + "version": "4.3.0", + "dev": true, + "license": "BSD-2-Clause", + "dependencies": { + "estraverse": "^5.2.0" + }, + "engines": { + "node": ">=4.0" + } + }, + "../../src/node_modules/estraverse": { + "version": "5.3.0", + "dev": true, + "license": "BSD-2-Clause", + "engines": { + "node": ">=4.0" + } + }, + "../../src/node_modules/esutils": { + "version": "2.0.3", + "dev": true, + "license": "BSD-2-Clause", + "engines": { + "node": ">=0.10.0" + } + }, + "../../src/node_modules/fast-deep-equal": { + "version": "3.1.3", + "dev": true, + "license": "MIT" + }, + "../../src/node_modules/fast-glob": { + "version": "3.3.2", + "dev": true, + "license": "MIT", + "dependencies": { + "@nodelib/fs.stat": "^2.0.2", + "@nodelib/fs.walk": "^1.2.3", + "glob-parent": "^5.1.2", + "merge2": "^1.3.0", + "micromatch": "^4.0.4" + }, + "engines": { + "node": ">=8.6.0" + } + }, + "../../src/node_modules/fast-glob/node_modules/glob-parent": { + "version": "5.1.2", + "dev": true, + "license": "ISC", + "dependencies": { + "is-glob": "^4.0.1" + }, + "engines": { + "node": ">= 6" + } + }, + "../../src/node_modules/fast-json-stable-stringify": { + "version": "2.1.0", + "dev": true, + "license": "MIT" + }, + "../../src/node_modules/fast-levenshtein": { + "version": "2.0.6", + "dev": true, + "license": "MIT" + }, + "../../src/node_modules/fastq": { + "version": "1.17.1", + "dev": true, + "license": "ISC", + "dependencies": { + "reusify": "^1.0.4" + } + }, + "../../src/node_modules/file-entry-cache": { + "version": "8.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "flat-cache": "^4.0.0" + }, + "engines": { + "node": ">=16.0.0" + } + }, + "../../src/node_modules/fill-range": { + "version": "7.1.1", + "dev": true, + "license": "MIT", + "dependencies": { + "to-regex-range": "^5.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "../../src/node_modules/find-up": { + "version": "5.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "locate-path": "^6.0.0", + "path-exists": "^4.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "../../src/node_modules/flat-cache": { + "version": "4.0.1", + "dev": true, + "license": "MIT", + "dependencies": { + "flatted": "^3.2.9", + "keyv": "^4.5.4" + }, + "engines": { + "node": ">=16" + } + }, + "../../src/node_modules/flatted": { + "version": "3.3.1", + "dev": true, + "license": "ISC" + }, + "../../src/node_modules/foreground-child": { + "version": "3.2.1", + "dev": true, + "license": "ISC", + "dependencies": { + "cross-spawn": "^7.0.0", + "signal-exit": "^4.0.1" + }, + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "../../src/node_modules/glob-parent": { + "version": "6.0.2", + "dev": true, + "license": "ISC", + "dependencies": { + "is-glob": "^4.0.3" + }, + "engines": { + "node": ">=10.13.0" + } + }, + "../../src/node_modules/globals": { + "version": "14.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "../../src/node_modules/graphemer": { + "version": "1.4.0", + "dev": true, + "license": "MIT" + }, + "../../src/node_modules/has-flag": { + "version": "4.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "../../src/node_modules/ignore": { + "version": "5.3.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 4" + } + }, + "../../src/node_modules/import-fresh": { + "version": "3.3.0", + "dev": true, + "license": "MIT", + "dependencies": { + "parent-module": "^1.0.0", + "resolve-from": "^4.0.0" + }, + "engines": { + "node": ">=6" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "../../src/node_modules/imurmurhash": { + "version": "0.1.4", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.8.19" + } + }, + "../../src/node_modules/is-extglob": { + "version": "2.1.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "../../src/node_modules/is-fullwidth-code-point": { + "version": "3.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "../../src/node_modules/is-glob": { + "version": "4.0.3", + "dev": true, + "license": "MIT", + "dependencies": { + "is-extglob": "^2.1.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "../../src/node_modules/is-number": { + "version": "7.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.12.0" + } + }, + "../../src/node_modules/isexe": { + "version": "2.0.0", + "dev": true, + "license": "ISC" + }, + "../../src/node_modules/jackspeak": { + "version": "4.0.1", + "dev": true, + "license": "BlueOak-1.0.0", + "dependencies": { + "@isaacs/cliui": "^8.0.2" + }, + "engines": { + "node": "20 || >=22" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + }, + "optionalDependencies": { + "@pkgjs/parseargs": "^0.11.0" + } + }, + "../../src/node_modules/js-yaml": { + "version": "4.1.0", + "dev": true, + "license": "MIT", + "dependencies": { + "argparse": "^2.0.1" + }, + "bin": { + "js-yaml": "bin/js-yaml.js" + } + }, + "../../src/node_modules/json-as": { + "version": "0.9.21", + "license": "MIT", + "dependencies": { + "as-virtual": "^0.2.0" + } + }, + "../../src/node_modules/json-buffer": { + "version": "3.0.1", + "dev": true, + "license": "MIT" + }, + "../../src/node_modules/json-schema-traverse": { + "version": "0.4.1", + "dev": true, + "license": "MIT" + }, + "../../src/node_modules/json-stable-stringify-without-jsonify": { + "version": "1.0.1", + "dev": true, + "license": "MIT" + }, + "../../src/node_modules/keyv": { + "version": "4.5.4", + "dev": true, + "license": "MIT", + "dependencies": { + "json-buffer": "3.0.1" + } + }, + "../../src/node_modules/levn": { + "version": "0.4.1", + "dev": true, + "license": "MIT", + "dependencies": { + "prelude-ls": "^1.2.1", + "type-check": "~0.4.0" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "../../src/node_modules/locate-path": { + "version": "6.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "p-locate": "^5.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "../../src/node_modules/lodash.clonedeep": { + "version": "4.5.0", + "dev": true, + "license": "MIT" + }, + "../../src/node_modules/lodash.merge": { + "version": "4.6.2", + "dev": true, + "license": "MIT" + }, + "../../src/node_modules/long": { + "version": "5.2.3", + "dev": true, + "license": "Apache-2.0" + }, + "../../src/node_modules/lru-cache": { + "version": "11.0.0", + "dev": true, + "license": "ISC", + "engines": { + "node": "20 || >=22" + } + }, + "../../src/node_modules/merge2": { + "version": "1.4.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 8" + } + }, + "../../src/node_modules/micromatch": { + "version": "4.0.8", + "dev": true, + "license": "MIT", + "dependencies": { + "braces": "^3.0.3", + "picomatch": "^2.3.1" + }, + "engines": { + "node": ">=8.6" + } + }, + "../../src/node_modules/minimatch": { + "version": "3.1.2", + "dev": true, + "license": "ISC", + "dependencies": { + "brace-expansion": "^1.1.7" + }, + "engines": { + "node": "*" + } + }, + "../../src/node_modules/minimatch/node_modules/brace-expansion": { + "version": "1.1.11", + "dev": true, + "license": "MIT", + "dependencies": { + "balanced-match": "^1.0.0", + "concat-map": "0.0.1" + } + }, + "../../src/node_modules/minipass": { + "version": "7.1.2", + "dev": true, + "license": "ISC", + "engines": { + "node": ">=16 || 14 >=14.17" + } + }, + "../../src/node_modules/ms": { + "version": "2.1.2", + "dev": true, + "license": "MIT" + }, + "../../src/node_modules/natural-compare": { + "version": "1.4.0", + "dev": true, + "license": "MIT" + }, + "../../src/node_modules/optionator": { + "version": "0.9.4", + "dev": true, + "license": "MIT", + "dependencies": { + "deep-is": "^0.1.3", + "fast-levenshtein": "^2.0.6", + "levn": "^0.4.1", + "prelude-ls": "^1.2.1", + "type-check": "^0.4.0", + "word-wrap": "^1.2.5" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "../../src/node_modules/p-limit": { + "version": "3.1.0", + "dev": true, + "license": "MIT", + "dependencies": { + "yocto-queue": "^0.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "../../src/node_modules/p-locate": { + "version": "5.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "p-limit": "^3.0.2" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "../../src/node_modules/package-json-from-dist": { + "version": "1.0.0", + "dev": true, + "license": "BlueOak-1.0.0" + }, + "../../src/node_modules/parent-module": { + "version": "1.0.1", + "dev": true, + "license": "MIT", + "dependencies": { + "callsites": "^3.0.0" + }, + "engines": { + "node": ">=6" + } + }, + "../../src/node_modules/path-exists": { + "version": "4.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "../../src/node_modules/path-key": { + "version": "3.1.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "../../src/node_modules/path-scurry": { + "version": "2.0.0", + "dev": true, + "license": "BlueOak-1.0.0", + "dependencies": { + "lru-cache": "^11.0.0", + "minipass": "^7.1.2" + }, + "engines": { + "node": "20 || >=22" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "../../src/node_modules/picomatch": { + "version": "2.3.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8.6" + }, + "funding": { + "url": "https://github.com/sponsors/jonschlinkert" + } + }, + "../../src/node_modules/prelude-ls": { + "version": "1.2.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.8.0" + } + }, + "../../src/node_modules/prettier": { + "version": "3.3.3", + "dev": true, + "license": "MIT", + "bin": { + "prettier": "bin/prettier.cjs" + }, + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/prettier/prettier?sponsor=1" + } + }, + "../../src/node_modules/punycode": { + "version": "2.3.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "../../src/node_modules/queue-microtask": { + "version": "1.2.3", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT" + }, + "../../src/node_modules/resolve-from": { + "version": "4.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "../../src/node_modules/reusify": { + "version": "1.0.4", + "dev": true, + "license": "MIT", + "engines": { + "iojs": ">=1.0.0", + "node": ">=0.10.0" + } + }, + "../../src/node_modules/run-parallel": { + "version": "1.2.0", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT", + "dependencies": { + "queue-microtask": "^1.2.2" + } + }, + "../../src/node_modules/semver": { + "version": "7.6.3", + "license": "ISC", + "bin": { + "semver": "bin/semver.js" + }, + "engines": { + "node": ">=10" + } + }, + "../../src/node_modules/shebang-command": { + "version": "2.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "shebang-regex": "^3.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "../../src/node_modules/shebang-regex": { + "version": "3.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "../../src/node_modules/signal-exit": { + "version": "4.1.0", + "dev": true, + "license": "ISC", + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "../../src/node_modules/string-width": { + "version": "5.1.2", + "dev": true, + "license": "MIT", + "dependencies": { + "eastasianwidth": "^0.2.0", + "emoji-regex": "^9.2.2", + "strip-ansi": "^7.0.1" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "../../src/node_modules/string-width-cjs": { + "name": "string-width", + "version": "4.2.3", + "dev": true, + "license": "MIT", + "dependencies": { + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "../../src/node_modules/string-width-cjs/node_modules/emoji-regex": { + "version": "8.0.0", + "dev": true, + "license": "MIT" + }, + "../../src/node_modules/string-width/node_modules/ansi-regex": { + "version": "6.0.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/ansi-regex?sponsor=1" + } + }, + "../../src/node_modules/string-width/node_modules/strip-ansi": { + "version": "7.1.0", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-regex": "^6.0.1" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/strip-ansi?sponsor=1" + } + }, + "../../src/node_modules/strip-ansi": { + "version": "6.0.1", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-regex": "^5.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "../../src/node_modules/strip-ansi-cjs": { + "name": "strip-ansi", + "version": "6.0.1", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-regex": "^5.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "../../src/node_modules/strip-json-comments": { + "version": "3.1.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "../../src/node_modules/supports-color": { + "version": "7.2.0", + "dev": true, + "license": "MIT", + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "../../src/node_modules/table-as": { + "version": "1.0.1", + "dev": true, + "license": "MIT" + }, + "../../src/node_modules/text-table": { + "version": "0.2.0", + "dev": true, + "license": "MIT" + }, + "../../src/node_modules/to-regex-range": { + "version": "5.0.1", + "dev": true, + "license": "MIT", + "dependencies": { + "is-number": "^7.0.0" + }, + "engines": { + "node": ">=8.0" + } + }, + "../../src/node_modules/ts-api-utils": { + "version": "1.3.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=16" + }, + "peerDependencies": { + "typescript": ">=4.2.0" + } + }, + "../../src/node_modules/ts-mixer": { + "version": "6.0.4", + "dev": true, + "license": "MIT" + }, + "../../src/node_modules/type-check": { + "version": "0.4.0", + "dev": true, + "license": "MIT", + "dependencies": { + "prelude-ls": "^1.2.1" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "../../src/node_modules/typer-diff": { + "version": "1.1.1", + "dev": true, + "license": "MIT", + "dependencies": { + "typescript": "^5.5.2" + } + }, + "../../src/node_modules/typescript": { + "version": "5.6.2", + "dev": true, + "license": "Apache-2.0", + "bin": { + "tsc": "bin/tsc", + "tsserver": "bin/tsserver" + }, + "engines": { + "node": ">=14.17" + } + }, + "../../src/node_modules/typescript-eslint": { + "version": "8.8.0", + "dev": true, + "license": "MIT", + "dependencies": { + "@typescript-eslint/eslint-plugin": "8.8.0", + "@typescript-eslint/parser": "8.8.0", + "@typescript-eslint/utils": "8.8.0" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "../../src/node_modules/undici-types": { + "version": "6.19.8", + "dev": true, + "license": "MIT" + }, + "../../src/node_modules/uri-js": { + "version": "4.4.1", + "dev": true, + "license": "BSD-2-Clause", + "dependencies": { + "punycode": "^2.1.0" + } + }, + "../../src/node_modules/visitor-as": { + "version": "0.11.4", + "dev": true, + "license": "MIT", + "dependencies": { + "lodash.clonedeep": "^4.5.0", + "ts-mixer": "^6.0.2" + }, + "peerDependencies": { + "assemblyscript": "^0.25.0" + } + }, + "../../src/node_modules/which": { + "version": "2.0.2", + "dev": true, + "license": "ISC", + "dependencies": { + "isexe": "^2.0.0" + }, + "bin": { + "node-which": "bin/node-which" + }, + "engines": { + "node": ">= 8" + } + }, + "../../src/node_modules/word-wrap": { + "version": "1.2.5", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "../../src/node_modules/wrap-ansi": { + "version": "8.1.0", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-styles": "^6.1.0", + "string-width": "^5.0.1", + "strip-ansi": "^7.0.1" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/wrap-ansi?sponsor=1" + } + }, + "../../src/node_modules/wrap-ansi-cjs": { + "name": "wrap-ansi", + "version": "7.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-styles": "^4.0.0", + "string-width": "^4.1.0", + "strip-ansi": "^6.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/wrap-ansi?sponsor=1" + } + }, + "../../src/node_modules/wrap-ansi-cjs/node_modules/emoji-regex": { + "version": "8.0.0", + "dev": true, + "license": "MIT" + }, + "../../src/node_modules/wrap-ansi-cjs/node_modules/string-width": { + "version": "4.2.3", + "dev": true, + "license": "MIT", + "dependencies": { + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "../../src/node_modules/wrap-ansi/node_modules/ansi-regex": { + "version": "6.0.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/ansi-regex?sponsor=1" + } + }, + "../../src/node_modules/wrap-ansi/node_modules/ansi-styles": { + "version": "6.2.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "../../src/node_modules/wrap-ansi/node_modules/strip-ansi": { + "version": "7.1.0", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-regex": "^6.0.1" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/strip-ansi?sponsor=1" + } + }, + "../../src/node_modules/xid-ts": { + "version": "1.1.4", + "license": "MIT", + "engines": { + "node": ">=18.0.0" + } + }, + "../../src/node_modules/yocto-queue": { + "version": "0.1.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/@eslint-community/eslint-utils": { + "version": "4.4.0", + "dev": true, + "license": "MIT", + "dependencies": { + "eslint-visitor-keys": "^3.3.0" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "peerDependencies": { + "eslint": "^6.0.0 || ^7.0.0 || >=8.0.0" + } + }, + "node_modules/@eslint-community/eslint-utils/node_modules/eslint-visitor-keys": { + "version": "3.4.3", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" + } + }, + "node_modules/@eslint-community/regexpp": { + "version": "4.11.0", + "dev": true, + "license": "MIT", + "engines": { + "node": "^12.0.0 || ^14.0.0 || >=16.0.0" + } + }, + "node_modules/@eslint/config-array": { + "version": "0.18.0", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@eslint/object-schema": "^2.1.4", + "debug": "^4.3.1", + "minimatch": "^3.1.2" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + } + }, + "node_modules/@eslint/core": { + "version": "0.6.0", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + } + }, + "node_modules/@eslint/eslintrc": { + "version": "3.1.0", + "dev": true, + "license": "MIT", + "dependencies": { + "ajv": "^6.12.4", + "debug": "^4.3.2", + "espree": "^10.0.1", + "globals": "^14.0.0", + "ignore": "^5.2.0", + "import-fresh": "^3.2.1", + "js-yaml": "^4.1.0", + "minimatch": "^3.1.2", + "strip-json-comments": "^3.1.1" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" + } + }, + "node_modules/@eslint/js": { + "version": "9.11.1", + "dev": true, + "license": "MIT", + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + } + }, + "node_modules/@eslint/object-schema": { + "version": "2.1.4", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + } + }, + "node_modules/@eslint/plugin-kit": { + "version": "0.2.0", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "levn": "^0.4.1" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + } + }, + "node_modules/@humanwhocodes/module-importer": { + "version": "1.0.1", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": ">=12.22" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/nzakas" + } + }, + "node_modules/@humanwhocodes/retry": { + "version": "0.3.0", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": ">=18.18" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/nzakas" + } + }, + "node_modules/@hypermode/modus-sdk-as": { + "resolved": "../../src", + "link": true + }, + "node_modules/@nodelib/fs.scandir": { + "version": "2.1.5", + "dev": true, + "license": "MIT", + "dependencies": { + "@nodelib/fs.stat": "2.0.5", + "run-parallel": "^1.1.9" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/@nodelib/fs.stat": { + "version": "2.0.5", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 8" + } + }, + "node_modules/@nodelib/fs.walk": { + "version": "1.2.8", + "dev": true, + "license": "MIT", + "dependencies": { + "@nodelib/fs.scandir": "2.1.5", + "fastq": "^1.6.0" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/@types/eslint": { + "version": "9.6.0", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/estree": "*", + "@types/json-schema": "*" + } + }, + "node_modules/@types/eslint__js": { + "version": "8.42.3", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/eslint": "*" + } + }, + "node_modules/@types/estree": { + "version": "1.0.6", + "dev": true, + "license": "MIT" + }, + "node_modules/@types/json-schema": { + "version": "7.0.15", + "dev": true, + "license": "MIT" + }, + "node_modules/@typescript-eslint/eslint-plugin": { + "version": "8.8.0", + "dev": true, + "license": "MIT", + "dependencies": { + "@eslint-community/regexpp": "^4.10.0", + "@typescript-eslint/scope-manager": "8.8.0", + "@typescript-eslint/type-utils": "8.8.0", + "@typescript-eslint/utils": "8.8.0", + "@typescript-eslint/visitor-keys": "8.8.0", + "graphemer": "^1.4.0", + "ignore": "^5.3.1", + "natural-compare": "^1.4.0", + "ts-api-utils": "^1.3.0" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependencies": { + "@typescript-eslint/parser": "^8.0.0 || ^8.0.0-alpha.0", + "eslint": "^8.57.0 || ^9.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "node_modules/@typescript-eslint/parser": { + "version": "8.8.0", + "dev": true, + "license": "BSD-2-Clause", + "dependencies": { + "@typescript-eslint/scope-manager": "8.8.0", + "@typescript-eslint/types": "8.8.0", + "@typescript-eslint/typescript-estree": "8.8.0", + "@typescript-eslint/visitor-keys": "8.8.0", + "debug": "^4.3.4" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependencies": { + "eslint": "^8.57.0 || ^9.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "node_modules/@typescript-eslint/scope-manager": { + "version": "8.8.0", + "dev": true, + "license": "MIT", + "dependencies": { + "@typescript-eslint/types": "8.8.0", + "@typescript-eslint/visitor-keys": "8.8.0" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + } + }, + "node_modules/@typescript-eslint/type-utils": { + "version": "8.8.0", + "dev": true, + "license": "MIT", + "dependencies": { + "@typescript-eslint/typescript-estree": "8.8.0", + "@typescript-eslint/utils": "8.8.0", + "debug": "^4.3.4", + "ts-api-utils": "^1.3.0" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "node_modules/@typescript-eslint/types": { + "version": "8.8.0", + "dev": true, + "license": "MIT", + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + } + }, + "node_modules/@typescript-eslint/typescript-estree": { + "version": "8.8.0", + "dev": true, + "license": "BSD-2-Clause", + "dependencies": { + "@typescript-eslint/types": "8.8.0", + "@typescript-eslint/visitor-keys": "8.8.0", + "debug": "^4.3.4", + "fast-glob": "^3.3.2", + "is-glob": "^4.0.3", + "minimatch": "^9.0.4", + "semver": "^7.6.0", + "ts-api-utils": "^1.3.0" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "node_modules/@typescript-eslint/typescript-estree/node_modules/brace-expansion": { + "version": "2.0.1", + "dev": true, + "license": "MIT", + "dependencies": { + "balanced-match": "^1.0.0" + } + }, + "node_modules/@typescript-eslint/typescript-estree/node_modules/minimatch": { + "version": "9.0.5", + "dev": true, + "license": "ISC", + "dependencies": { + "brace-expansion": "^2.0.1" + }, + "engines": { + "node": ">=16 || 14 >=14.17" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/@typescript-eslint/utils": { + "version": "8.8.0", + "dev": true, + "license": "MIT", + "dependencies": { + "@eslint-community/eslint-utils": "^4.4.0", + "@typescript-eslint/scope-manager": "8.8.0", + "@typescript-eslint/types": "8.8.0", + "@typescript-eslint/typescript-estree": "8.8.0" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependencies": { + "eslint": "^8.57.0 || ^9.0.0" + } + }, + "node_modules/@typescript-eslint/visitor-keys": { + "version": "8.8.0", + "dev": true, + "license": "MIT", + "dependencies": { + "@typescript-eslint/types": "8.8.0", + "eslint-visitor-keys": "^3.4.3" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + } + }, + "node_modules/@typescript-eslint/visitor-keys/node_modules/eslint-visitor-keys": { + "version": "3.4.3", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" + } + }, + "node_modules/acorn": { + "version": "8.12.1", + "dev": true, + "license": "MIT", + "bin": { + "acorn": "bin/acorn" + }, + "engines": { + "node": ">=0.4.0" + } + }, + "node_modules/acorn-jsx": { + "version": "5.3.2", + "dev": true, + "license": "MIT", + "peerDependencies": { + "acorn": "^6.0.0 || ^7.0.0 || ^8.0.0" + } + }, + "node_modules/ajv": { + "version": "6.12.6", + "dev": true, + "license": "MIT", + "dependencies": { + "fast-deep-equal": "^3.1.1", + "fast-json-stable-stringify": "^2.0.0", + "json-schema-traverse": "^0.4.1", + "uri-js": "^4.2.2" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/epoberezkin" + } + }, + "node_modules/ansi-regex": { + "version": "5.0.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/ansi-styles": { + "version": "4.3.0", + "dev": true, + "license": "MIT", + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/argparse": { + "version": "2.0.1", + "dev": true, + "license": "Python-2.0" + }, + "node_modules/as-virtual": { + "version": "0.2.0", + "license": "MIT" + }, + "node_modules/assemblyscript": { + "version": "0.27.30", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "binaryen": "116.0.0-nightly.20240114", + "long": "^5.2.1" + }, + "bin": { + "asc": "bin/asc.js", + "asinit": "bin/asinit.js" + }, + "engines": { + "node": ">=16", + "npm": ">=7" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/assemblyscript" + } + }, + "node_modules/assemblyscript-prettier": { + "version": "3.0.1", + "dev": true, + "license": "MIT", + "dependencies": { + "assemblyscript": "~0.27.0" + }, + "peerDependencies": { + "prettier": "^3.0.0" + } + }, + "node_modules/balanced-match": { + "version": "1.0.2", + "dev": true, + "license": "MIT" + }, + "node_modules/binaryen": { + "version": "116.0.0-nightly.20240114", + "dev": true, + "license": "Apache-2.0", + "bin": { + "wasm-opt": "bin/wasm-opt", + "wasm2js": "bin/wasm2js" + } + }, + "node_modules/brace-expansion": { + "version": "1.1.11", + "dev": true, + "license": "MIT", + "dependencies": { + "balanced-match": "^1.0.0", + "concat-map": "0.0.1" + } + }, + "node_modules/braces": { + "version": "3.0.3", + "dev": true, + "license": "MIT", + "dependencies": { + "fill-range": "^7.1.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/callsites": { + "version": "3.1.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/chalk": { + "version": "4.1.2", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/chalk?sponsor=1" + } + }, + "node_modules/color-convert": { + "version": "2.0.1", + "dev": true, + "license": "MIT", + "dependencies": { + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" + } + }, + "node_modules/color-name": { + "version": "1.1.4", + "dev": true, + "license": "MIT" + }, + "node_modules/concat-map": { + "version": "0.0.1", + "dev": true, + "license": "MIT" + }, + "node_modules/cross-spawn": { + "version": "7.0.3", + "dev": true, + "license": "MIT", + "dependencies": { + "path-key": "^3.1.0", + "shebang-command": "^2.0.0", + "which": "^2.0.1" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/debug": { + "version": "4.3.6", + "dev": true, + "license": "MIT", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "node_modules/deep-is": { + "version": "0.1.4", + "dev": true, + "license": "MIT" + }, + "node_modules/escape-string-regexp": { + "version": "4.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/eslint": { + "version": "9.11.1", + "dev": true, + "license": "MIT", + "dependencies": { + "@eslint-community/eslint-utils": "^4.2.0", + "@eslint-community/regexpp": "^4.11.0", + "@eslint/config-array": "^0.18.0", + "@eslint/core": "^0.6.0", + "@eslint/eslintrc": "^3.1.0", + "@eslint/js": "9.11.1", + "@eslint/plugin-kit": "^0.2.0", + "@humanwhocodes/module-importer": "^1.0.1", + "@humanwhocodes/retry": "^0.3.0", + "@nodelib/fs.walk": "^1.2.8", + "@types/estree": "^1.0.6", + "@types/json-schema": "^7.0.15", + "ajv": "^6.12.4", + "chalk": "^4.0.0", + "cross-spawn": "^7.0.2", + "debug": "^4.3.2", + "escape-string-regexp": "^4.0.0", + "eslint-scope": "^8.0.2", + "eslint-visitor-keys": "^4.0.0", + "espree": "^10.1.0", + "esquery": "^1.5.0", + "esutils": "^2.0.2", + "fast-deep-equal": "^3.1.3", + "file-entry-cache": "^8.0.0", + "find-up": "^5.0.0", + "glob-parent": "^6.0.2", + "ignore": "^5.2.0", + "imurmurhash": "^0.1.4", + "is-glob": "^4.0.0", + "is-path-inside": "^3.0.3", + "json-stable-stringify-without-jsonify": "^1.0.1", + "lodash.merge": "^4.6.2", + "minimatch": "^3.1.2", + "natural-compare": "^1.4.0", + "optionator": "^0.9.3", + "strip-ansi": "^6.0.1", + "text-table": "^0.2.0" + }, + "bin": { + "eslint": "bin/eslint.js" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "url": "https://eslint.org/donate" + }, + "peerDependencies": { + "jiti": "*" + }, + "peerDependenciesMeta": { + "jiti": { + "optional": true + } + } + }, + "node_modules/eslint-scope": { + "version": "8.0.2", + "dev": true, + "license": "BSD-2-Clause", + "dependencies": { + "esrecurse": "^4.3.0", + "estraverse": "^5.2.0" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" + } + }, + "node_modules/eslint-visitor-keys": { + "version": "4.0.0", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" + } + }, + "node_modules/espree": { + "version": "10.1.0", + "dev": true, + "license": "BSD-2-Clause", + "dependencies": { + "acorn": "^8.12.0", + "acorn-jsx": "^5.3.2", + "eslint-visitor-keys": "^4.0.0" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" + } + }, + "node_modules/esquery": { + "version": "1.6.0", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "estraverse": "^5.1.0" + }, + "engines": { + "node": ">=0.10" + } + }, + "node_modules/esrecurse": { + "version": "4.3.0", + "dev": true, + "license": "BSD-2-Clause", + "dependencies": { + "estraverse": "^5.2.0" + }, + "engines": { + "node": ">=4.0" + } + }, + "node_modules/estraverse": { + "version": "5.3.0", + "dev": true, + "license": "BSD-2-Clause", + "engines": { + "node": ">=4.0" + } + }, + "node_modules/esutils": { + "version": "2.0.3", + "dev": true, + "license": "BSD-2-Clause", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/fast-deep-equal": { + "version": "3.1.3", + "dev": true, + "license": "MIT" + }, + "node_modules/fast-glob": { + "version": "3.3.2", + "dev": true, + "license": "MIT", + "dependencies": { + "@nodelib/fs.stat": "^2.0.2", + "@nodelib/fs.walk": "^1.2.3", + "glob-parent": "^5.1.2", + "merge2": "^1.3.0", + "micromatch": "^4.0.4" + }, + "engines": { + "node": ">=8.6.0" + } + }, + "node_modules/fast-glob/node_modules/glob-parent": { + "version": "5.1.2", + "dev": true, + "license": "ISC", + "dependencies": { + "is-glob": "^4.0.1" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/fast-json-stable-stringify": { + "version": "2.1.0", + "dev": true, + "license": "MIT" + }, + "node_modules/fast-levenshtein": { + "version": "2.0.6", + "dev": true, + "license": "MIT" + }, + "node_modules/fastq": { + "version": "1.17.1", + "dev": true, + "license": "ISC", + "dependencies": { + "reusify": "^1.0.4" + } + }, + "node_modules/file-entry-cache": { + "version": "8.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "flat-cache": "^4.0.0" + }, + "engines": { + "node": ">=16.0.0" + } + }, + "node_modules/fill-range": { + "version": "7.1.1", + "dev": true, + "license": "MIT", + "dependencies": { + "to-regex-range": "^5.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/find-up": { + "version": "5.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "locate-path": "^6.0.0", + "path-exists": "^4.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/flat-cache": { + "version": "4.0.1", + "dev": true, + "license": "MIT", + "dependencies": { + "flatted": "^3.2.9", + "keyv": "^4.5.4" + }, + "engines": { + "node": ">=16" + } + }, + "node_modules/flatted": { + "version": "3.3.1", + "dev": true, + "license": "ISC" + }, + "node_modules/glob-parent": { + "version": "6.0.2", + "dev": true, + "license": "ISC", + "dependencies": { + "is-glob": "^4.0.3" + }, + "engines": { + "node": ">=10.13.0" + } + }, + "node_modules/globals": { + "version": "14.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/graphemer": { + "version": "1.4.0", + "dev": true, + "license": "MIT" + }, + "node_modules/has-flag": { + "version": "4.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/ignore": { + "version": "5.3.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 4" + } + }, + "node_modules/import-fresh": { + "version": "3.3.0", + "dev": true, + "license": "MIT", + "dependencies": { + "parent-module": "^1.0.0", + "resolve-from": "^4.0.0" + }, + "engines": { + "node": ">=6" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/imurmurhash": { + "version": "0.1.4", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.8.19" + } + }, + "node_modules/is-extglob": { + "version": "2.1.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-glob": { + "version": "4.0.3", + "dev": true, + "license": "MIT", + "dependencies": { + "is-extglob": "^2.1.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-number": { + "version": "7.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.12.0" + } + }, + "node_modules/is-path-inside": { + "version": "3.0.3", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/isexe": { + "version": "2.0.0", + "dev": true, + "license": "ISC" + }, + "node_modules/js-yaml": { + "version": "4.1.0", + "dev": true, + "license": "MIT", + "dependencies": { + "argparse": "^2.0.1" + }, + "bin": { + "js-yaml": "bin/js-yaml.js" + } + }, + "node_modules/json-as": { + "version": "0.9.21", + "license": "MIT", + "dependencies": { + "as-virtual": "^0.2.0" + } + }, + "node_modules/json-buffer": { + "version": "3.0.1", + "dev": true, + "license": "MIT" + }, + "node_modules/json-schema-traverse": { + "version": "0.4.1", + "dev": true, + "license": "MIT" + }, + "node_modules/json-stable-stringify-without-jsonify": { + "version": "1.0.1", + "dev": true, + "license": "MIT" + }, + "node_modules/keyv": { + "version": "4.5.4", + "dev": true, + "license": "MIT", + "dependencies": { + "json-buffer": "3.0.1" + } + }, + "node_modules/levn": { + "version": "0.4.1", + "dev": true, + "license": "MIT", + "dependencies": { + "prelude-ls": "^1.2.1", + "type-check": "~0.4.0" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/locate-path": { + "version": "6.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "p-locate": "^5.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/lodash.clonedeep": { + "version": "4.5.0", + "dev": true, + "license": "MIT" + }, + "node_modules/lodash.merge": { + "version": "4.6.2", + "dev": true, + "license": "MIT" + }, + "node_modules/long": { + "version": "5.2.3", + "dev": true, + "license": "Apache-2.0" + }, + "node_modules/merge2": { + "version": "1.4.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 8" + } + }, + "node_modules/micromatch": { + "version": "4.0.8", + "dev": true, + "license": "MIT", + "dependencies": { + "braces": "^3.0.3", + "picomatch": "^2.3.1" + }, + "engines": { + "node": ">=8.6" + } + }, + "node_modules/minimatch": { + "version": "3.1.2", + "dev": true, + "license": "ISC", + "dependencies": { + "brace-expansion": "^1.1.7" + }, + "engines": { + "node": "*" + } + }, + "node_modules/ms": { + "version": "2.1.2", + "dev": true, + "license": "MIT" + }, + "node_modules/natural-compare": { + "version": "1.4.0", + "dev": true, + "license": "MIT" + }, + "node_modules/optionator": { + "version": "0.9.4", + "dev": true, + "license": "MIT", + "dependencies": { + "deep-is": "^0.1.3", + "fast-levenshtein": "^2.0.6", + "levn": "^0.4.1", + "prelude-ls": "^1.2.1", + "type-check": "^0.4.0", + "word-wrap": "^1.2.5" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/p-limit": { + "version": "3.1.0", + "dev": true, + "license": "MIT", + "dependencies": { + "yocto-queue": "^0.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/p-locate": { + "version": "5.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "p-limit": "^3.0.2" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/parent-module": { + "version": "1.0.1", + "dev": true, + "license": "MIT", + "dependencies": { + "callsites": "^3.0.0" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/path-exists": { + "version": "4.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/path-key": { + "version": "3.1.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/picomatch": { + "version": "2.3.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8.6" + }, + "funding": { + "url": "https://github.com/sponsors/jonschlinkert" + } + }, + "node_modules/prelude-ls": { + "version": "1.2.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/prettier": { + "version": "3.3.3", + "dev": true, + "license": "MIT", + "bin": { + "prettier": "bin/prettier.cjs" + }, + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/prettier/prettier?sponsor=1" + } + }, + "node_modules/punycode": { + "version": "2.3.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/queue-microtask": { + "version": "1.2.3", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT" + }, + "node_modules/resolve-from": { + "version": "4.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "node_modules/reusify": { + "version": "1.0.4", + "dev": true, + "license": "MIT", + "engines": { + "iojs": ">=1.0.0", + "node": ">=0.10.0" + } + }, + "node_modules/run-parallel": { + "version": "1.2.0", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT", + "dependencies": { + "queue-microtask": "^1.2.2" + } + }, + "node_modules/semver": { + "version": "7.6.3", + "dev": true, + "license": "ISC", + "bin": { + "semver": "bin/semver.js" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/shebang-command": { + "version": "2.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "shebang-regex": "^3.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/shebang-regex": { + "version": "3.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/strip-ansi": { + "version": "6.0.1", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-regex": "^5.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/strip-json-comments": { + "version": "3.1.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/supports-color": { + "version": "7.2.0", + "dev": true, + "license": "MIT", + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/text-table": { + "version": "0.2.0", + "dev": true, + "license": "MIT" + }, + "node_modules/to-regex-range": { + "version": "5.0.1", + "dev": true, + "license": "MIT", + "dependencies": { + "is-number": "^7.0.0" + }, + "engines": { + "node": ">=8.0" + } + }, + "node_modules/ts-api-utils": { + "version": "1.3.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=16" + }, + "peerDependencies": { + "typescript": ">=4.2.0" + } + }, + "node_modules/ts-mixer": { + "version": "6.0.4", + "dev": true, + "license": "MIT" + }, + "node_modules/type-check": { + "version": "0.4.0", + "dev": true, + "license": "MIT", + "dependencies": { + "prelude-ls": "^1.2.1" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/typescript": { + "version": "5.6.2", + "dev": true, + "license": "Apache-2.0", + "bin": { + "tsc": "bin/tsc", + "tsserver": "bin/tsserver" + }, + "engines": { + "node": ">=14.17" + } + }, + "node_modules/typescript-eslint": { + "version": "8.8.0", + "dev": true, + "license": "MIT", + "dependencies": { + "@typescript-eslint/eslint-plugin": "8.8.0", + "@typescript-eslint/parser": "8.8.0", + "@typescript-eslint/utils": "8.8.0" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "node_modules/uri-js": { + "version": "4.4.1", + "dev": true, + "license": "BSD-2-Clause", + "dependencies": { + "punycode": "^2.1.0" + } + }, + "node_modules/visitor-as": { + "version": "0.11.4", + "dev": true, + "license": "MIT", + "dependencies": { + "lodash.clonedeep": "^4.5.0", + "ts-mixer": "^6.0.2" + }, + "peerDependencies": { + "assemblyscript": "^0.25.0" + } + }, + "node_modules/which": { + "version": "2.0.2", + "dev": true, + "license": "ISC", + "dependencies": { + "isexe": "^2.0.0" + }, + "bin": { + "node-which": "bin/node-which" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/word-wrap": { + "version": "1.2.5", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/yocto-queue": { + "version": "0.1.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + } + } +} diff --git a/sdk/assemblyscript/examples/vectors/package.json b/sdk/assemblyscript/examples/vectors/package.json new file mode 100644 index 00000000..51081231 --- /dev/null +++ b/sdk/assemblyscript/examples/vectors/package.json @@ -0,0 +1,32 @@ +{ + "name": "vectors-example", + "private": true, + "description": "Modus AssemblyScript Vectors Example", + "author": "Hypermode, Inc.", + "license": "Apache-2.0", + "type": "module", + "scripts": { + "build": "node ./node_modules/@hypermode/modus-sdk-as/bin/build-plugin.js", + "lint": "eslint .", + "pretty": "prettier --write .", + "pretty:check": "prettier --check ." + }, + "dependencies": { + "@hypermode/modus-sdk-as": "../../src", + "json-as": "^0.9.21" + }, + "devDependencies": { + "@eslint/js": "^9.11.1", + "@types/eslint__js": "^8.42.3", + "assemblyscript": "^0.27.30", + "assemblyscript-prettier": "^3.0.1", + "eslint": "^9.11.1", + "prettier": "^3.3.3", + "typescript": "^5.6.2", + "typescript-eslint": "^8.8.0", + "visitor-as": "^0.11.4" + }, + "overrides": { + "assemblyscript": "$assemblyscript" + } +} diff --git a/sdk/assemblyscript/src/assembly/__tests__/vectors.spec.ts b/sdk/assemblyscript/src/assembly/__tests__/vectors.spec.ts new file mode 100644 index 00000000..d5f7b0e9 --- /dev/null +++ b/sdk/assemblyscript/src/assembly/__tests__/vectors.spec.ts @@ -0,0 +1,166 @@ +/* + * Copyright 2024 Hypermode, Inc. + * Licensed under the terms of the Apache License, Version 2.0 + * See the LICENSE file that accompanied this code for further details. + * + * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-License-Identifier: Apache-2.0 + */ + +import { expect, it, run } from "as-test"; +import { vectors } from ".."; + +it("should add two vectors together", () => { + const a = [1, 2, 3]; + const b = [4, 5, 6]; + const result = vectors.add(a, b); + expect(result).toBe([5, 7, 9]); +}); + +it("should add two vectors together in place", () => { + const a = [1, 2, 3]; + const b = [4, 5, 6]; + vectors.addInPlace(a, b); + expect(a).toBe([5, 7, 9]); +}); + +it("should subtract two vectors", () => { + const a = [1, 2, 3]; + const b = [4, 5, 6]; + const result = vectors.subtract(a, b); + expect(result).toBe([-3, -3, -3]); +}); + +it("should subtract two vectors in place", () => { + const a = [1, 2, 3]; + const b = [4, 5, 6]; + vectors.subtractInPlace(a, b); + expect(a).toBe([-3, -3, -3]); +}); + +it("should add a number to a vector", () => { + const a = [1, 2, 3]; + const b = 4; + const result = vectors.addNumber(a, b); + expect(result).toBe([5, 6, 7]); +}); + +it("should add a number to a vector in place", () => { + const a = [1, 2, 3]; + const b = 4; + vectors.addNumberInPlace(a, b); + expect(a).toBe([5, 6, 7]); +}); + +it("should subtract a number from a vector", () => { + const a = [1, 2, 3]; + const b = 4; + const result = vectors.subtractNumber(a, b); + expect(result).toBe([-3, -2, -1]); +}); + +it("should subtract a number from a vector in place", () => { + const a = [1, 2, 3]; + const b = 4; + vectors.subtractNumberInPlace(a, b); + expect(a).toBe([-3, -2, -1]); +}); + +it("should multiply a vector by a number", () => { + const a = [1, 2, 3]; + const b = 4; + const result = vectors.multiplyNumber(a, b); + expect(result).toBe([4, 8, 12]); +}); + +it("should multiply a vector by a number in place", () => { + const a = [1, 2, 3]; + const b = 4; + vectors.multiplyNumberInPlace(a, b); + expect(a).toBe([4, 8, 12]); +}); + +it("should divide a vector by a number", () => { + const a = [4, 8, 12]; + const b = 4; + const result = vectors.divideNumber(a, b); + expect(result).toBe([1, 2, 3]); +}); + +it("should divide a vector by a number in place", () => { + const a = [4, 8, 12]; + const b = 4; + vectors.divideNumberInPlace(a, b); + expect(a).toBe([1, 2, 3]); +}); + +it("should compute the dot product of two vectors", () => { + const a = [1, 2, 3]; + const b = [4, 5, 6]; + const result = vectors.dot(a, b); + expect(result).toBe(32); +}); + +it("should compute the magnitude of a vector", () => { + const a = [1, 2, 3]; + const result = vectors.magnitude(a); + expect(result).toBe(sqrt(14)); +}); + +it("should normalize a vector", () => { + const a = [1, 2, 3]; + const result = vectors.normalize(a); + const magnitude = vectors.magnitude(result); + expect(magnitude).toBe(1); +}); + +it("should compute the sum of a vector", () => { + const a = [1, 2, 3]; + const result = vectors.sum(a); + expect(result).toBe(6); +}); + +it("should compute the product of a vector", () => { + const a = [1, 2, 3]; + const result = vectors.product(a); + expect(result).toBe(6); +}); + +it("should compute the mean of a vector", () => { + const a = [1, 2, 3]; + const result = vectors.mean(a); + expect(result).toBe(2); +}); + +it("should compute the min of a vector", () => { + const a = [1, 2, 3]; + const result = vectors.min(a); + expect(result).toBe(1); +}); + +it("should compute the max of a vector", () => { + const a = [1, 2, 3]; + const result = vectors.max(a); + expect(result).toBe(3); +}); + +it("should compute the absolute value of a vector", () => { + const a = [1, -2, 3]; + const result = vectors.abs(a); + expect(result).toBe([1, 2, 3]); +}); + +it("should compute the absolute value of a vector in place", () => { + const a = [1, -2, 3]; + vectors.absInPlace(a); + expect(a).toBe([1, 2, 3]); +}); + +it("should compute the euclidian distance between two vectors", () => { + const a = [1, 2, 3]; + const b = [4, 5, 6]; + const result = vectors.euclidianDistance(a, b); + expect(result).toBe(sqrt(27)); +}); + +run(); diff --git a/sdk/assemblyscript/src/assembly/index.ts b/sdk/assemblyscript/src/assembly/index.ts index e8d151da..766edd82 100644 --- a/sdk/assemblyscript/src/assembly/index.ts +++ b/sdk/assemblyscript/src/assembly/index.ts @@ -27,3 +27,6 @@ export { collections }; import models from "./models"; export { models }; + +import * as vectors from "./vectors"; +export { vectors }; diff --git a/sdk/assemblyscript/src/assembly/vectors.ts b/sdk/assemblyscript/src/assembly/vectors.ts new file mode 100644 index 00000000..48bcd957 --- /dev/null +++ b/sdk/assemblyscript/src/assembly/vectors.ts @@ -0,0 +1,377 @@ +/* + * Copyright 2024 Hypermode, Inc. + * Licensed under the terms of the Apache License, Version 2.0 + * See the LICENSE file that accompanied this code for further details. + * + * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-License-Identifier: Apache-2.0 + */ + +function assertEqualLength(a: T[], b: T[]): void { + if (a.length !== b.length) { + throw new Error("Vectors must be the same length."); + } +} + +function checkValidArray(a: T[]): void { + if (a.length === 0) { + throw new Error("Vector must not be empty."); + } + + checkValidNumber(a[0]); +} + +export function checkValidNumber(a: T): void { + if (!isInteger(a) && !isFloat(a)) { + throw new Error("Vector must contain numbers."); + } +} +/** + * + * Add two vectors together, returning a new vector. + * @param a: The first vector + * @param b: The second vector + * @returns: The sum of the two vectors + */ +export function add(a: T[], b: T[]): T[] { + assertEqualLength(a, b); + checkValidArray(a); + checkValidArray(b); + const result = new Array(a.length); + for (let i = 0; i < a.length; i++) { + result[i] = (a[i] + b[i]) as T; + } + return result; +} + +/** + * + * Add two vectors together, modifying the first vector. + * @param a: The first vector + * @param b: The second vector + */ +export function addInPlace(a: T[], b: T[]): void { + assertEqualLength(a, b); + checkValidArray(a); + checkValidArray(b); + for (let i = 0; i < a.length; i++) { + a[i] = (a[i] + b[i]) as T; + } +} + +/** + * + * Subtract two vectors, returning a new vector. + * @param a: The first vector + * @param b: The second vector + * @returns: The difference of the two vectors + */ +export function subtract(a: T[], b: T[]): T[] { + assertEqualLength(a, b); + checkValidArray(a); + checkValidArray(b); + const result = new Array(a.length); + for (let i = 0; i < a.length; i++) { + result[i] = (a[i] - b[i]) as T; + } + return result; +} + +/** + * + * Subtract two vectors, modifying the first vector. + * @param a: The first vector + * @param b: The second vector + */ +export function subtractInPlace(a: T[], b: T[]): void { + assertEqualLength(a, b); + checkValidArray(a); + checkValidArray(b); + for (let i = 0; i < a.length; i++) { + a[i] = (a[i] - b[i]) as T; + } +} + +/** + * + * add a number to a vector, returning a new vector. + * @param a: The first vector + * @param b: The number to add + * @returns: the result vector, with the number added to each element + */ +export function addNumber(a: T[], b: T): T[] { + checkValidArray(a); + checkValidNumber(b); + const result = new Array(a.length); + for (let i = 0; i < a.length; i++) { + result[i] = (a[i] + b) as T; + } + return result; +} + +/** + * + * add a number to a vector, modifying the first vector. + * @param a: The first vector + * @param b: The number to add + */ +export function addNumberInPlace(a: T[], b: T): void { + checkValidArray(a); + checkValidNumber(b); + for (let i = 0; i < a.length; i++) { + a[i] = (a[i] + b) as T; + } +} + +/** + * + * Subtract a number from a vector, returning a new vector. + * @param a: The first vector + * @param b: The number to subtract + * @returns: the result vector, with the number subtracted from each element + */ +export function subtractNumber(a: T[], b: T): T[] { + checkValidArray(a); + checkValidNumber(b); + const result = new Array(a.length); + for (let i = 0; i < a.length; i++) { + result[i] = (a[i] - b) as T; + } + return result; +} + +/** + * + * Subtract a number from a vector, modifying the first vector. + * @param a: The first vector + * @param b: The number to subtract + */ +export function subtractNumberInPlace(a: T[], b: T): void { + checkValidArray(a); + checkValidNumber(b); + for (let i = 0; i < a.length; i++) { + a[i] = (a[i] - b) as T; + } +} + +/** + * Multiple numbers to a vector, returning a new vector. + * @param a: The first vector + * @param b: The number to multiply + * @returns: the result vector, with the number multiplied to each element + */ +export function multiplyNumber(a: T[], b: T): T[] { + checkValidArray(a); + checkValidNumber(b); + const result = new Array(a.length); + for (let i = 0; i < a.length; i++) { + result[i] = (a[i] * b) as T; + } + return result; +} + +/** + * + * Multiply a number to a vector, modifying the first vector. + * @param a: The first vector + * @param b: The number to multiply + */ +export function multiplyNumberInPlace(a: T[], b: T): void { + checkValidArray(a); + checkValidNumber(b); + for (let i = 0; i < a.length; i++) { + a[i] = (a[i] * b) as T; + } +} + +/** + * + * Divide a number from a vector, returning a new vector. + * @param a: The first vector + * @param b: The number to divide + * @returns: the result vector, with the number divided from each element + */ +export function divideNumber(a: T[], b: T): T[] { + checkValidArray(a); + checkValidNumber(b); + const result = new Array(a.length); + for (let i = 0; i < a.length; i++) { + result[i] = (a[i] / b) as T; + } + return result; +} + +/** + * + * Divide a number from a vector, modifying the first vector. + * @param a: The first vector + * @param b: The number to divide + */ +export function divideNumberInPlace(a: T[], b: T): void { + checkValidArray(a); + checkValidNumber(b); + for (let i = 0; i < a.length; i++) { + a[i] = (a[i] / b) as T; + } +} + +/** + * Calculate the dot product of two vectors. + * @param a: The first vector + * @param b: The second vector + * @returns: The dot product of the two vectors + */ +export function dot(a: T[], b: T[]): T { + checkValidArray(a); + checkValidArray(b); + assertEqualLength(a, b); + let result: number = 0; + for (let i = 0; i < a.length; i++) { + result += a[i] * b[i]; + } + return result as T; +} + +/** + * Calculate the magnitude of a vector. + * @param a: The vector + * @returns: The magnitude of the vector + */ +export function magnitude(a: T[]): f64 { + checkValidArray(a); + return sqrt(dot(a, a)); +} + +/** + * Calculate the cross product of two 3D vectors. + * @param a: The first vector + * @param b: The second vector + * @returns: The cross product of the two vectors + */ +export function normalize(a: T[]): f64[] { + checkValidArray(a); + const magnitudeValue = magnitude(a); + const result: f64[] = new Array(a.length); + for (let i = 0; i < a.length; i++) { + result[i] = (a[i] as f64) / magnitudeValue; + } + return result; +} + +/** + * + * Calculate the sum of a vector. + * @param a: The vector + * @returns: The sum of the vector + */ +export function sum(a: T[]): T { + checkValidArray(a); + let result: number = 0; + for (let i = 0; i < a.length; i++) { + result += a[i]; + } + return result as T; +} + +/** + * + * Calculate the product of a vector. + * @param a: The vector + * @returns: The product of the vector + */ +export function product(a: T[]): T { + checkValidArray(a); + let result: number = 1; + for (let i = 0; i < a.length; i++) { + result *= a[i]; + } + return result as T; +} + +/** + * + * Calculate the mean of a vector. + * @param a: The vector + * @returns: The mean of the vector + */ +export function mean(a: T[]): f64 { + checkValidArray(a); + return f64(sum(a)) / f64(a.length); +} + +/** + * + * Calculate the median of a vector. + * @param a: The vector + * @returns: The median of the vector + */ +export function min(a: T[]): T { + checkValidArray(a); + let result = a[0]; + for (let i = 1; i < a.length; i++) { + if (a[i] < result) { + result = a[i]; + } + } + return result; +} + +/** + * + * Calculate the maximum of a vector. + * @param a: The vector + * @returns: The maximum of the vector + */ +export function max(a: T[]): T { + checkValidArray(a); + let result = a[0]; + for (let i = 1; i < a.length; i++) { + if (a[i] > result) { + result = a[i]; + } + } + return result; +} + +/** + * + * Calculate the absolute value of a vector. + * @param a: The vector + * @returns: The absolute value of the vector + */ +export function abs(a: T[]): T[] { + checkValidArray(a); + const result = new Array(a.length); + for (let i = 0; i < a.length; i++) { + result[i] = a[i] < 0 ? (-a[i] as T) : a[i]; + } + return result; +} + +/** + * + * Calculate the absolute value of a vector, modifying the first vector. + * @param a: The vector + */ +export function absInPlace(a: T[]): void { + checkValidArray(a); + for (let i = 0; i < a.length; i++) { + a[i] = a[i] < 0 ? (-a[i] as T) : a[i]; + } +} + +/** + * + * Calculate the euclidian distance between two vectors. + * @param a: The first vector + * @param b: The second vector + * @returns: The euclidian distance between the two vectors + */ +export function euclidianDistance(a: T[], b: T[]): f64 { + checkValidArray(a); + let sum: number = 0; + for (let i = 0; i < a.length; i++) { + sum += f64(a[i] - b[i]) ** 2; + } + return sqrt(sum); +} diff --git a/sdk/assemblyscript/src/package-lock.json b/sdk/assemblyscript/src/package-lock.json index 13cbc242..bb443382 100644 --- a/sdk/assemblyscript/src/package-lock.json +++ b/sdk/assemblyscript/src/package-lock.json @@ -18,7 +18,7 @@ "@eslint/js": "^9.12.0", "@types/eslint__js": "^8.42.3", "@types/node": "^20.16.10", - "as-test": "^0.3.4", + "as-test": "^0.3.5", "assemblyscript": "^0.27.30", "assemblyscript-prettier": "^3.0.1", "eslint": "^9.12.0", @@ -604,9 +604,9 @@ "license": "MIT" }, "node_modules/as-test": { - "version": "0.3.4", - "resolved": "https://registry.npmjs.org/as-test/-/as-test-0.3.4.tgz", - "integrity": "sha512-7RtIQ23yHGVdIcU2SshHe15BiJR0VQZUk/pCNgvwU1XMshOHCa6LdnWINHcE76EjeczxKh4k2V+22ljLFe/4KA==", + "version": "0.3.5", + "resolved": "https://registry.npmjs.org/as-test/-/as-test-0.3.5.tgz", + "integrity": "sha512-R0VNJq6LM8vHVJkW4gJ4i5cEUmGD7iGLiMzFPhxtgH/FZr3lzJkHw0T7FHS/1kl3foLztvldjXqboB/gI6dfXA==", "dev": true, "license": "MIT", "dependencies": { @@ -615,7 +615,7 @@ "as-variant": "^0.4.1", "chalk": "^5.3.0", "glob": "^11.0.0", - "json-as": "^0.9.14", + "json-as": "^0.9.21", "typer-diff": "^1.1.1" }, "bin": { diff --git a/sdk/assemblyscript/src/package.json b/sdk/assemblyscript/src/package.json index 700d1e15..e071694a 100644 --- a/sdk/assemblyscript/src/package.json +++ b/sdk/assemblyscript/src/package.json @@ -24,7 +24,7 @@ "@eslint/js": "^9.12.0", "@types/eslint__js": "^8.42.3", "@types/node": "^20.16.10", - "as-test": "^0.3.4", + "as-test": "^0.3.5", "assemblyscript": "^0.27.30", "assemblyscript-prettier": "^3.0.1", "eslint": "^9.12.0", diff --git a/sdk/assemblyscript/src/tests/vectors.run.ts b/sdk/assemblyscript/src/tests/vectors.run.ts new file mode 100644 index 00000000..c9e08538 --- /dev/null +++ b/sdk/assemblyscript/src/tests/vectors.run.ts @@ -0,0 +1,17 @@ +/* + * Copyright 2024 Hypermode, Inc. + * Licensed under the terms of the Apache License, Version 2.0 + * See the LICENSE file that accompanied this code for further details. + * + * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-License-Identifier: Apache-2.0 + */ + +import { readFileSync } from "fs"; +import { instantiate } from "../build/vectors.spec.js"; +const binary = readFileSync("./build/vectors.spec.wasm"); +const module = new WebAssembly.Module(binary); +instantiate(module, { + env: {}, + hypermode: {}, +}); diff --git a/sdk/go/examples/vectors/build.cmd b/sdk/go/examples/vectors/build.cmd new file mode 100644 index 00000000..ed9d2952 --- /dev/null +++ b/sdk/go/examples/vectors/build.cmd @@ -0,0 +1,12 @@ +@echo off + +:: This build script works best for examples that are in this repository. +:: If you are using this as a template for your own project, you may need to modify this script, +:: to invoke the modus-go-build tool with the correct path to your project. + +SET "PROJECTDIR=%~dp0" +pushd ..\..\tools\modus-go-build > nul +go run . "%PROJECTDIR%" +set "exit_code=%ERRORLEVEL%" +popd > nul +exit /b %exit_code% diff --git a/sdk/go/examples/vectors/build.sh b/sdk/go/examples/vectors/build.sh new file mode 100755 index 00000000..02743fec --- /dev/null +++ b/sdk/go/examples/vectors/build.sh @@ -0,0 +1,12 @@ +#!/bin/bash + +# This build script works best for examples that are in this repository. +# If you are using this as a template for your own project, you may need to modify this script, +# to invoke the modus-go-build tool with the correct path to your project. + +PROJECTDIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )" +pushd ../../tools/modus-go-build > /dev/null +go run . "$PROJECTDIR" +exit_code=$? +popd > /dev/null +exit $exit_code diff --git a/sdk/go/examples/vectors/go.mod b/sdk/go/examples/vectors/go.mod new file mode 100644 index 00000000..315cc5b1 --- /dev/null +++ b/sdk/go/examples/vectors/go.mod @@ -0,0 +1,9 @@ +module vectors-example + +go 1.23.0 + +require github.com/hypermodeinc/modus/sdk/go v0.0.0 + +require golang.org/x/exp v0.0.0-20241004190924-225e2abe05e6 // indirect + +replace github.com/hypermodeinc/modus/sdk/go => ../../ diff --git a/sdk/go/examples/vectors/go.sum b/sdk/go/examples/vectors/go.sum new file mode 100644 index 00000000..5f214fbe --- /dev/null +++ b/sdk/go/examples/vectors/go.sum @@ -0,0 +1,2 @@ +golang.org/x/exp v0.0.0-20241004190924-225e2abe05e6 h1:1wqE9dj9NpSm04INVsJhhEUzhuDVjbcyKH91sVyPATw= +golang.org/x/exp v0.0.0-20241004190924-225e2abe05e6/go.mod h1:NQtJDoLvd6faHhE7m4T/1IY708gDefGGjR/iUW8yQQ8= diff --git a/sdk/go/examples/vectors/hypermode.json b/sdk/go/examples/vectors/hypermode.json new file mode 100644 index 00000000..76c0b20a --- /dev/null +++ b/sdk/go/examples/vectors/hypermode.json @@ -0,0 +1,12 @@ +{ + "$schema": "https://manifest.hypermode.com/hypermode.json", + "models": { + // No models are used by this example, but if you add any, they would go here. + }, + "hosts": { + // No hosts are used by this example, but if you add any, they would go here. + }, + "collections": { + // No collections are used by this example, but if you add any, they would go here. + } +} diff --git a/sdk/go/examples/vectors/main.go b/sdk/go/examples/vectors/main.go new file mode 100644 index 00000000..4f12f2e3 --- /dev/null +++ b/sdk/go/examples/vectors/main.go @@ -0,0 +1,110 @@ +/* + * This example is part of the Modus project, licensed under the Apache License 2.0. + * You may modify and use this example in accordance with the license. + * See the LICENSE file that accompanied this code for further details. + */ + +package main + +import ( + "github.com/hypermodeinc/modus/sdk/go/pkg/vectors" +) + +func Add(a, b []float64) []float64 { + return vectors.Add(a, b) +} + +func AddInPlace(a, b []float64) []float64 { + vectors.AddInPlace(a, b) + return a +} + +func Subtract(a, b []float64) []float64 { + return vectors.Subtract(a, b) +} + +func SubtractInPlace(a, b []float64) []float64 { + vectors.SubtractInPlace(a, b) + return a +} + +func AddNumber(a []float64, b float64) []float64 { + return vectors.AddNumber(a, b) +} + +func AddNumberInPlace(a []float64, b float64) []float64 { + vectors.AddNumberInPlace(a, b) + return a +} + +func SubtractNumber(a []float64, b float64) []float64 { + return vectors.SubtractNumber(a, b) +} + +func SubtractNumberInPlace(a []float64, b float64) []float64 { + vectors.SubtractNumberInPlace(a, b) + return a +} + +func MultiplyNumber(a []float64, b float64) []float64 { + return vectors.MultiplyNumber(a, b) +} + +func MultiplyNumberInPlace(a []float64, b float64) []float64 { + vectors.MultiplyNumberInPlace(a, b) + return a +} + +func DivideNumber(a []float64, b float64) []float64 { + return vectors.DivideNumber(a, b) +} + +func DivideNumberInPlace(a []float64, b float64) []float64 { + vectors.DivideNumberInPlace(a, b) + return a +} + +func Dot(a, b []float64) float64 { + return vectors.Dot(a, b) +} + +func Magnitude(a []float64) float64 { + return vectors.Magnitude(a) +} + +func Normalize(a []float64) []float64 { + return vectors.Normalize(a) +} + +func Sum(a []float64) float64 { + return vectors.Sum(a) +} + +func Product(a []float64) float64 { + return vectors.Product(a) +} + +func Mean(a []float64) float64 { + return vectors.Mean(a) +} + +func Min(a []float64) float64 { + return vectors.Min(a) +} + +func Max(a []float64) float64 { + return vectors.Max(a) +} + +func Abs(a []float64) []float64 { + return vectors.Abs(a) +} + +func AbsInPlace(a []float64) []float64 { + vectors.AbsInPlace(a) + return a +} + +func EuclidianDistance(a, b []float64) float64 { + return vectors.EuclidianDistance(a, b) +} diff --git a/sdk/go/go.mod b/sdk/go/go.mod index 0fed84ee..b7bcedf5 100644 --- a/sdk/go/go.mod +++ b/sdk/go/go.mod @@ -2,7 +2,10 @@ module github.com/hypermodeinc/modus/sdk/go go 1.23.0 -require github.com/tidwall/sjson v1.2.5 +require ( + github.com/tidwall/sjson v1.2.5 + golang.org/x/exp v0.0.0-20241004190924-225e2abe05e6 +) require ( github.com/tidwall/gjson v1.18.0 // indirect diff --git a/sdk/go/go.sum b/sdk/go/go.sum index 489ae8b8..13af69c1 100644 --- a/sdk/go/go.sum +++ b/sdk/go/go.sum @@ -1,6 +1,4 @@ github.com/tidwall/gjson v1.14.2/go.mod h1:/wbyibRr2FHMks5tjHJ5F8dMZh3AcwJEMf5vlfC0lxk= -github.com/tidwall/gjson v1.17.3 h1:bwWLZU7icoKRG+C+0PNwIKC6FCJO/Q3p2pZvuP0jN94= -github.com/tidwall/gjson v1.17.3/go.mod h1:/wbyibRr2FHMks5tjHJ5F8dMZh3AcwJEMf5vlfC0lxk= github.com/tidwall/gjson v1.18.0 h1:FIDeeyB800efLX89e5a8Y0BNH+LOngJyGrIWxG2FKQY= github.com/tidwall/gjson v1.18.0/go.mod h1:/wbyibRr2FHMks5tjHJ5F8dMZh3AcwJEMf5vlfC0lxk= github.com/tidwall/match v1.1.1 h1:+Ho715JplO36QYgwN9PGYNhgZvoUSc9X2c80KVTi+GA= @@ -10,3 +8,5 @@ github.com/tidwall/pretty v1.2.1 h1:qjsOFOWWQl+N3RsoF5/ssm1pHmJJwhjlSbZ51I6wMl4= github.com/tidwall/pretty v1.2.1/go.mod h1:ITEVvHYasfjBbM0u2Pg8T2nJnzm8xPwvNhhsoaGGjNU= github.com/tidwall/sjson v1.2.5 h1:kLy8mja+1c9jlljvWTlSazM7cKDRfJuR/bOJhcY5NcY= github.com/tidwall/sjson v1.2.5/go.mod h1:Fvgq9kS/6ociJEDnK0Fk1cpYF4FIW6ZF7LAe+6jwd28= +golang.org/x/exp v0.0.0-20241004190924-225e2abe05e6 h1:1wqE9dj9NpSm04INVsJhhEUzhuDVjbcyKH91sVyPATw= +golang.org/x/exp v0.0.0-20241004190924-225e2abe05e6/go.mod h1:NQtJDoLvd6faHhE7m4T/1IY708gDefGGjR/iUW8yQQ8= diff --git a/sdk/go/pkg/vectors/vectors.go b/sdk/go/pkg/vectors/vectors.go new file mode 100644 index 00000000..31b4411f --- /dev/null +++ b/sdk/go/pkg/vectors/vectors.go @@ -0,0 +1,245 @@ +/* + * Copyright 2024 Hypermode, Inc. + * Licensed under the terms of the Apache License, Version 2.0 + * See the LICENSE file that accompanied this code for further details. + * + * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-License-Identifier: Apache-2.0 + */ + +package vectors + +import ( + "math" + + "golang.org/x/exp/constraints" +) + +// Add adds two vectors together and returns the result. +func Add[T constraints.Integer | constraints.Float](a, b []T) []T { + assertEqualLength(a, b) + result := make([]T, len(a)) + for i := range a { + result[i] = a[i] + b[i] + } + return result +} + +// AddInPlace adds two vectors together and stores the result in the first vector. +func AddInPlace[T constraints.Integer | constraints.Float](a, b []T) { + assertEqualLength(a, b) + for i := range a { + a[i] += b[i] + } +} + +// Subtract subtracts one vector from another and returns the result. +func Subtract[T constraints.Integer | constraints.Float](a, b []T) []T { + assertEqualLength(a, b) + result := make([]T, len(a)) + for i := range a { + result[i] = a[i] - b[i] + } + return result +} + +// SubtractInPlace subtracts one vector from another and stores the result in the first vector. +func SubtractInPlace[T constraints.Integer | constraints.Float](a, b []T) { + assertEqualLength(a, b) + for i := range a { + a[i] -= b[i] + } +} + +// AddNumber adds a number to each element of a vector and returns the result. +func AddNumber[T constraints.Integer | constraints.Float](a []T, b T) []T { + result := make([]T, len(a)) + for i := range a { + result[i] = a[i] + b + } + return result +} + +// AddNumberInPlace adds a number to each element of a vector and stores the result in the vector. +func AddNumberInPlace[T constraints.Integer | constraints.Float](a []T, b T) { + for i := range a { + a[i] += b + } +} + +// SubtractNumber subtracts a number from each element of a vector and returns the result. +func SubtractNumber[T constraints.Integer | constraints.Float](a []T, b T) []T { + result := make([]T, len(a)) + for i := range a { + result[i] = a[i] - b + } + return result +} + +// SubtractNumberInPlace subtracts a number from each element of a vector and stores the result in the vector. +func SubtractNumberInPlace[T constraints.Integer | constraints.Float](a []T, b T) { + for i := range a { + a[i] -= b + } +} + +// MultiplyNumber multiplies each element of a vector by a number and returns the result. +func MultiplyNumber[T constraints.Integer | constraints.Float](a []T, b T) []T { + result := make([]T, len(a)) + for i := range a { + result[i] = a[i] * b + } + return result +} + +// MultiplyNumberInPlace multiplies each element of a vector by a number and stores the result in the vector. +func MultiplyNumberInPlace[T constraints.Integer | constraints.Float](a []T, b T) { + for i := range a { + a[i] *= b + } +} + +// DivideNumber divides each element of a vector by a number and returns the result. +func DivideNumber[T constraints.Integer | constraints.Float](a []T, b T) []T { + assertNotZero(b) + result := make([]T, len(a)) + for i := range a { + result[i] = a[i] / b + } + return result +} + +// DivideNumberInPlace divides each element of a vector by a number and stores the result in the vector. +func DivideNumberInPlace[T constraints.Integer | constraints.Float](a []T, b T) { + assertNotZero(b) + for i := range a { + a[i] /= b + } +} + +// Dot computes the dot product of two vectors. +func Dot[T constraints.Integer | constraints.Float](a, b []T) T { + assertEqualLength(a, b) + var result T = 0 + for i := 0; i < len(a); i++ { + result += a[i] * b[i] + } + return result +} + +// Magnitude computes the magnitude of a vector. +func Magnitude[T constraints.Integer | constraints.Float](a []T) float64 { + return math.Sqrt(float64(Dot(a, a))) +} + +// Normalize normalizes a vector to have a magnitude of 1. +func Normalize[T constraints.Integer | constraints.Float](a []T) []float64 { + mag := Magnitude(a) + return DivideNumber(convertToFloat64Slice(a), mag) +} + +// Sum computes the sum of all elements in a vector. +func Sum[T constraints.Integer | constraints.Float](a []T) T { + var result T = 0 + for i := range a { + result += a[i] + } + return result +} + +// Product computes the product of all elements in a vector. +func Product[T constraints.Integer | constraints.Float](a []T) T { + var result T = 1 + for i := 0; i < len(a); i++ { + result *= a[i] + } + return result +} + +// func Mean computes the mean of a vector. +func Mean[T constraints.Integer | constraints.Float](a []T) float64 { + assertNonEmpty(a) + return float64(Sum(a)) / float64(len(a)) +} + +// Min computes the minimum element in a vector. +func Min[T constraints.Integer | constraints.Float](a []T) T { + assertNonEmpty(a) + var result T = a[0] + for i := 0; i < len(a); i++ { + if a[i] < result { + result = a[i] + } + } + return result +} + +// Max computes the maximum element in a vector. +func Max[T constraints.Integer | constraints.Float](a []T) T { + assertNonEmpty(a) + var result T = a[0] + for i := 0; i < len(a); i++ { + if a[i] > result { + result = a[i] + } + } + return result +} + +// Abs computes the absolute value of each element in a vector. +func Abs[T constraints.Integer | constraints.Float](a []T) []T { + result := make([]T, len(a)) + for i := range a { + result[i] = a[i] + if a[i] < 0 { + result[i] = -a[i] + } + } + return result +} + +// AbsInPlace computes the absolute value of each element in a vector and stores the result in the vector. +func AbsInPlace[T constraints.Integer | constraints.Float](a []T) { + for i := range a { + if a[i] < 0 { + a[i] = -a[i] + } + } +} + +// EuclidianDistance computes the Euclidian distance between two vectors. +func EuclidianDistance[T constraints.Integer | constraints.Float](a, b []T) float64 { + assertEqualLength(a, b) + var result float64 = 0 + for i := 0; i < len(a); i++ { + result += math.Pow(float64(a[i]-b[i]), 2) + } + return math.Sqrt(result) +} + +func assertEqualLength[T constraints.Integer | constraints.Float](a, b []T) { + if len(a) != len(b) { + panic("vectors must be the same length") + } +} + +// convertToFloat64Slice converts a slice of type []T to type []float64. +func convertToFloat64Slice[T constraints.Integer | constraints.Float](a []T) []float64 { + result := make([]float64, len(a)) + for i := range a { + result[i] = float64(a[i]) + } + return result +} + +func assertNonEmpty[T constraints.Integer | constraints.Float](a []T) { + if len(a) == 0 { + panic("vector must be non-empty") + } +} + +func assertNotZero[T constraints.Integer | constraints.Float](a T) { + if a == 0 { + panic("value must be non-zero") + } +} diff --git a/sdk/go/pkg/vectors/vectors_test.go b/sdk/go/pkg/vectors/vectors_test.go new file mode 100644 index 00000000..e62de964 --- /dev/null +++ b/sdk/go/pkg/vectors/vectors_test.go @@ -0,0 +1,313 @@ +/* + * Copyright 2024 Hypermode, Inc. + * Licensed under the terms of the Apache License, Version 2.0 + * See the LICENSE file that accompanied this code for further details. + * + * SPDX-FileCopyrightText: 2024 Hypermode, Inc. + * SPDX-License-Identifier: Apache-2.0 + */ + +package vectors + +import ( + "math" + "testing" +) + +func TestAdd(t *testing.T) { + a := []uint8{1, 2, 3} + b := []uint8{4, 5, 6} + expected := []uint8{5, 7, 9} + + result := Add(a, b) + + for i := range result { + if result[i] != expected[i] { + t.Errorf("Add failed, expected %v, got %v", expected, result) + } + } +} + +func TestAddInPlace(t *testing.T) { + a := []uint8{1, 2, 3} + b := []uint8{4, 5, 6} + expected := []uint8{5, 7, 9} + + AddInPlace(a, b) + + for i := range a { + if a[i] != expected[i] { + t.Errorf("AddInPlace failed, expected %v, got %v", expected, a) + } + } +} + +func TestSubtract(t *testing.T) { + a := []uint8{4, 5, 6} + b := []uint8{1, 2, 3} + expected := []uint8{3, 3, 3} + + result := Subtract(a, b) + + for i := range result { + if result[i] != expected[i] { + t.Errorf("Subtract failed, expected %v, got %v", expected, result) + } + } +} + +func TestSubtractInPlace(t *testing.T) { + a := []uint8{4, 5, 6} + b := []uint8{1, 2, 3} + expected := []uint8{3, 3, 3} + + SubtractInPlace(a, b) + + for i := range a { + if a[i] != expected[i] { + t.Errorf("SubtractInPlace failed, expected %v, got %v", expected, a) + } + } +} + +func TestAddNumber(t *testing.T) { + a := []uint8{1, 2, 3} + b := uint8(4) + expected := []uint8{5, 6, 7} + + result := AddNumber(a, b) + + for i := range result { + if result[i] != expected[i] { + t.Errorf("AddNumber failed, expected %v, got %v", expected, result) + } + } +} + +func TestAddNumberInPlace(t *testing.T) { + a := []uint8{1, 2, 3} + b := uint8(4) + expected := []uint8{5, 6, 7} + + AddNumberInPlace(a, b) + + for i := range a { + if a[i] != expected[i] { + t.Errorf("AddNumberInPlace failed, expected %v, got %v", expected, a) + } + } +} + +func TestSubtractNumber(t *testing.T) { + a := []uint8{4, 5, 6} + b := uint8(1) + expected := []uint8{3, 4, 5} + + result := SubtractNumber(a, b) + + for i := range result { + if result[i] != expected[i] { + t.Errorf("SubtractNumber failed, expected %v, got %v", expected, result) + } + } +} + +func TestSubtractNumberInPlace(t *testing.T) { + a := []uint8{4, 5, 6} + b := uint8(1) + expected := []uint8{3, 4, 5} + + SubtractNumberInPlace(a, b) + + for i := range a { + if a[i] != expected[i] { + t.Errorf("SubtractNumberInPlace failed, expected %v, got %v", expected, a) + } + } +} + +func TestMultiplyNumber(t *testing.T) { + a := []uint8{1, 2, 3} + b := uint8(4) + expected := []uint8{4, 8, 12} + + result := MultiplyNumber(a, b) + + for i := range result { + if result[i] != expected[i] { + t.Errorf("MultiplyNumber failed, expected %v, got %v", expected, result) + } + } +} + +func TestMultiplyNumberInPlace(t *testing.T) { + a := []uint8{1, 2, 3} + b := uint8(4) + expected := []uint8{4, 8, 12} + + MultiplyNumberInPlace(a, b) + + for i := range a { + if a[i] != expected[i] { + t.Errorf("MultiplyNumberInPlace failed, expected %v, got %v", expected, a) + } + } +} + +func TestDivideNumber(t *testing.T) { + a := []uint8{4, 8, 12} + b := uint8(4) + expected := []uint8{1, 2, 3} + + result := DivideNumber(a, b) + + for i := range result { + if result[i] != expected[i] { + t.Errorf("DivideNumber failed, expected %v, got %v", expected, result) + } + } +} + +func TestDivideNumberInPlace(t *testing.T) { + a := []uint8{4, 8, 12} + b := uint8(4) + expected := []uint8{1, 2, 3} + + DivideNumberInPlace(a, b) + + for i := range a { + if a[i] != expected[i] { + t.Errorf("DivideNumberInPlace failed, expected %v, got %v", expected, a) + } + } +} + +func TestDot(t *testing.T) { + a := []float64{1.0, 2.0, 3.0} + b := []float64{4.0, 5.0, 6.0} + expected := 32.0 // (1*4 + 2*5 + 3*6) + + result := Dot(a, b) + + if result != expected { + t.Errorf("Dot failed, expected %v, got %v", expected, result) + } +} + +func TestMagnitude(t *testing.T) { + a := []float64{3.0, 4.0} + expected := 5.0 // sqrt(3^2 + 4^2) + + result := Magnitude(a) + + if result != expected { + t.Errorf("Magnitude failed, expected %v, got %v", expected, result) + } +} + +func TestNormalize(t *testing.T) { + a := []float64{3.0, 4.0} + mag := 5.0 // sqrt(3^2 + 4^2) + expected := []float64{3.0 / mag, 4.0 / mag} + + result := Normalize(a) + + for i := range result { + if math.Abs(result[i]-expected[i]) > 1e-9 { // Using epsilon for floating-point comparison + t.Errorf("Normalize failed, expected %v, got %v", expected, result) + } + } +} + +func TestSum(t *testing.T) { + a := []uint8{1, 2, 3} + expected := uint8(6) // 1 + 2 + 3 + + result := Sum(a) + + if result != expected { + t.Errorf("Sum failed, expected %v, got %v", expected, result) + } +} + +func TestProduct(t *testing.T) { + a := []uint8{1, 2, 3} + expected := uint8(6) // 1 * 2 * 3 + + result := Product(a) + + if result != expected { + t.Errorf("Product failed, expected %v, got %v", expected, result) + } +} + +func TestMean(t *testing.T) { + a := []uint8{1, 2, 3} + expected := 2.0 // (1 + 2 + 3) / 3 + + result := Mean(a) + + if result != expected { + t.Errorf("Mean failed, expected %v, got %v", expected, result) + } +} + +func TestMin(t *testing.T) { + a := []uint8{1, 2, 3} + expected := uint8(1) + + result := Min(a) + + if result != expected { + t.Errorf("Min failed, expected %v, got %v", expected, result) + } +} + +func TestMax(t *testing.T) { + a := []uint8{1, 2, 3} + expected := uint8(3) + + result := Max(a) + + if result != expected { + t.Errorf("Max failed, expected %v, got %v", expected, result) + } +} + +func TestAbs(t *testing.T) { + a := []float64{-1.0, 2.0, -3.0} + expected := []float64{1.0, 2.0, 3.0} + + result := Abs(a) + + for i := range result { + if result[i] != expected[i] { + t.Errorf("Abs failed, expected %v, got %v", expected, result) + } + } +} + +func TestAbsInPlace(t *testing.T) { + a := []float64{-1.0, 2.0, -3.0} + expected := []float64{1.0, 2.0, 3.0} + + AbsInPlace(a) + + for i := range a { + if a[i] != expected[i] { + t.Errorf("AbsInPlace failed, expected %v, got %v", expected, a) + } + } +} + +func TestEuclidianDistance(t *testing.T) { + a := []float64{1.0, 2.0, 3.0} + b := []float64{4.0, 5.0, 6.0} + expected := math.Sqrt(27) // sqrt((1-4)^2 + (2-5)^2 + (3-6)^2) + + result := EuclidianDistance(a, b) + + if math.Abs(result-expected) > 1e-9 { + t.Errorf("EuclidianDistance failed, expected %v, got %v", expected, result) + } +} From bf24f62782a8bc351c29504a818430932ceed7bf Mon Sep 17 00:00:00 2001 From: Matt Johnson-Pint Date: Tue, 8 Oct 2024 10:36:27 -0700 Subject: [PATCH 9/9] Change environment variable name and default (#439) --- .vscode/launch.json | 2 + CHANGELOG.md | 8 +++- runtime/config/environment.go | 24 +++++++++-- runtime/config/environment_test.go | 69 ++++++++++++++++++++++++++++++ runtime/main.go | 1 + 5 files changed, 99 insertions(+), 5 deletions(-) create mode 100644 runtime/config/environment_test.go diff --git a/.vscode/launch.json b/.vscode/launch.json index 24cf1bc4..068dfa12 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -9,6 +9,7 @@ "preLaunchTask": "go: generate code", "program": "${workspaceFolder}/runtime", "env": { + "MODUS_ENV": "dev", "MODUS_DEBUG": "true", "MODUS_DB": "postgresql://postgres:postgres@localhost:5433/my-runtime-db?sslmode=disable" }, @@ -22,6 +23,7 @@ "preLaunchTask": "go: generate code", "program": "${workspaceFolder}/runtime", "env": { + "MODUS_ENV": "dev", "MODUS_DEBUG": "true", "AWS_REGION": "us-west-2", "AWS_PROFILE": "sandbox", diff --git a/CHANGELOG.md b/CHANGELOG.md index 524ba3b2..733fbdaf 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,10 @@ # Change Log -## UNRELEASED +## UNRELEASED (work in progress) + +_NOTE: This is the first fully open-source release, using the name "Modus" for the framework. +"Hypermode" still refers to the company and the commercial hosting platform - but not the framework. +In previous releases, the name "Hypermode" was used for all three._ - Migrate from Hypermode to Modus [#412](https://github.com/hypermodeinc/modus/pull/412) - Import WasmExtractor code [#415](https://github.com/hypermodeinc/modus/pull/415) @@ -15,6 +19,8 @@ - Update Readme files [#432](https://github.com/hypermodeinc/modus/pull/432) - Fix vulnerability in AssemblyScript SDK install script [#435](https://github.com/hypermodeinc/modus/pull/435) - Fix potential array out of bounds in the runtime [#437](https://github.com/hypermodeinc/modus/pull/437) +- Set minimum Go version to 1.23.0 [#438](https://github.com/hypermodeinc/modus/pull/438) +- Change default for environment setting [#439](https://github.com/hypermodeinc/modus/pull/439) ## 2024-10-02 - Version 0.12.7 diff --git a/runtime/config/environment.go b/runtime/config/environment.go index 627066a0..d740089d 100644 --- a/runtime/config/environment.go +++ b/runtime/config/environment.go @@ -15,7 +15,20 @@ import ( "os/user" ) -const devEnvironmentName = "dev" +/* + +DESIGN NOTES: + +- The MODUS_ENV environment variable is used to determine the environment name. +- We prefer to use short names, "prod", "stage", "dev", etc, but the actual value is arbitrary, so you can use longer names if you prefer. +- If it is not set, the default environment name is "prod". This is a safe-by-default approach. +- It is preferable to actually set the MODUS_ENV to the appropriate environment when running the application. +- During development, the Modus CLI will set the MODUS_ENV to "dev" automatically. +- The "dev" environment is special in several ways, such as relaxed security requirements, and omitting certain telemetry. +- There is nothing special about "prod", other than it is the default. +- You can also use "stage", "test", etc, as needed - but they will behave like "prod". The only difference is the name returned by the health endpoint, logs, and telemetry. + +*/ var environment string var namespace string @@ -25,14 +38,17 @@ func GetEnvironmentName() string { } func setEnvironmentName() { - environment = os.Getenv("ENVIRONMENT") + environment = os.Getenv("MODUS_ENV") + + // default to prod if environment == "" { - environment = devEnvironmentName + environment = "prod" } } func IsDevEnvironment() bool { - return environment == devEnvironmentName + // support either name (but prefer "dev") + return environment == "dev" || environment == "development" } func GetNamespace() string { diff --git a/runtime/config/environment_test.go b/runtime/config/environment_test.go new file mode 100644 index 00000000..b05ddc2b --- /dev/null +++ b/runtime/config/environment_test.go @@ -0,0 +1,69 @@ +/* + * Copyright 2024 Hypermode Inc. + * Licensed under the terms of the Apache License, Version 2.0 + * See the LICENSE file that accompanied this code for further details. + * + * SPDX-FileCopyrightText: 2024 Hypermode Inc. + * SPDX-License-Identifier: Apache-2.0 + */ + +package config + +import ( + "os" + "testing" +) + +func TestEnvironmentNames(t *testing.T) { + tests := []struct { + name string + envValue string + expectedResult string + isDev bool + }{ + { + name: "Environment variable not set", + envValue: "", + expectedResult: "prod", + isDev: false, + }, + { + name: "Environment variable set to dev", + envValue: "dev", + expectedResult: "dev", + isDev: true, + }, + { + name: "Environment variable set to development", + envValue: "development", + expectedResult: "development", + isDev: true, + }, + { + name: "Environment variable set to stage", + envValue: "stage", + expectedResult: "stage", + isDev: false, + }, + { + name: "Environment variable set to test", + envValue: "test", + expectedResult: "test", + isDev: false, + }, + } + + for _, tt := range tests { + t.Run(tt.name, func(t *testing.T) { + os.Setenv("MODUS_ENV", tt.envValue) + setEnvironmentName() + result := GetEnvironmentName() + if result != tt.expectedResult { + t.Errorf("Expected environment to be %s, but got %s", tt.expectedResult, result) + } + if IsDevEnvironment() != tt.isDev { + t.Errorf("Expected IsDevEnvironment to be %v, but got %v", tt.isDev, IsDevEnvironment()) + } + }) + } +} diff --git a/runtime/main.go b/runtime/main.go index 5fe7b192..f7dd2309 100644 --- a/runtime/main.go +++ b/runtime/main.go @@ -35,6 +35,7 @@ func main() { log := logger.Initialize() log.Info(). Str("version", config.GetVersionNumber()). + Str("environment", config.GetEnvironmentName()). Msg("Starting Modus Runtime.") // Load environment variables from plugins path