From 4ff09b5f6c219e04432afcc6ef2187cd42d85af0 Mon Sep 17 00:00:00 2001 From: Kevin Goslar Date: Fri, 7 Oct 2022 15:27:15 -0500 Subject: [PATCH 01/25] chore: license headers --- .gitignore | 3 ++- Makefile | 7 ++++++- cmd/check/root.go | 2 ++ cmd/check/root_test.go | 2 ++ cmd/clidoc/main.go | 2 ++ cmd/client/grpc_client.go | 2 ++ cmd/client/grpc_client_test.go | 2 ++ cmd/client/test_helpers.go | 2 ++ cmd/expand/root.go | 2 ++ cmd/expand/root_test.go | 2 ++ cmd/helpers/helpers.go | 2 ++ cmd/migrate/down.go | 2 ++ cmd/migrate/migrate_test.go | 2 ++ cmd/migrate/root.go | 2 ++ cmd/migrate/status.go | 2 ++ cmd/migrate/up.go | 2 ++ cmd/namespace/root.go | 2 ++ cmd/namespace/validate.go | 2 ++ cmd/namespace/validate_test.go | 2 ++ cmd/relationtuple/create.go | 2 ++ cmd/relationtuple/delete.go | 2 ++ cmd/relationtuple/delete_all.go | 2 ++ cmd/relationtuple/delete_all_test.go | 2 ++ cmd/relationtuple/get.go | 2 ++ cmd/relationtuple/output.go | 2 ++ cmd/relationtuple/output_test.go | 2 ++ cmd/relationtuple/parse.go | 2 ++ cmd/relationtuple/parse_test.go | 2 ++ cmd/relationtuple/root.go | 2 ++ cmd/root.go | 14 +------------- cmd/serve_debug_test.go | 2 ++ cmd/server/serve.go | 14 +------------- cmd/status/root.go | 2 ++ cmd/status/root_test.go | 2 ++ .../00-create-tuples/index.js | 2 ++ .../00-create-tuples/main.go | 2 ++ .../01-expand-beach/index.js | 2 ++ .../01-expand-beach/main.go | 2 ++ .../99-cleanup/index.js | 2 ++ .../expand-api-display-access/99-cleanup/main.go | 2 ++ .../00-create-tuples/index.js | 2 ++ .../00-create-tuples/main.go | 2 ++ .../list-api-display-objects/01-list-PM/index.js | 2 ++ .../list-api-display-objects/01-list-PM/main.go | 2 ++ .../02-list-coffee-break/index.js | 2 ++ .../02-list-coffee-break/main.go | 2 ++ .../list-api-display-objects/99-cleanup/index.js | 2 ++ .../list-api-display-objects/99-cleanup/main.go | 2 ++ .../00-write-direct-access/index.js | 2 ++ .../00-write-direct-access/main.go | 2 ++ .../01-check-direct-access/index.js | 2 ++ .../01-check-direct-access/main.go | 2 ++ .../99-cleanup/index.js | 2 ++ .../simple-access-check-guide/99-cleanup/main.go | 2 ++ contrib/namespace-type-lib/index.d.ts | 2 ++ contrib/namespace-type-lib/test.ts | 2 ++ contrib/rewrites-example/namespaces.keto.ts | 2 ++ doc.go | 16 ++-------------- doc_swagger.go | 14 +------------- embedx/schemas.go | 2 ++ embedx/schemas_test.go | 2 ++ internal/check/bench_test.go | 2 ++ internal/check/binop.go | 2 ++ internal/check/checkgroup/checkgroup_test.go | 2 ++ .../check/checkgroup/concurrent_checkgroup.go | 2 ++ internal/check/checkgroup/definitions.go | 2 ++ internal/check/checkgroup/membership_string.go | 2 ++ internal/check/checkgroup/testmain_test.go | 2 ++ internal/check/checkgroup/workerpool_test.go | 2 ++ internal/check/engine.go | 2 ++ internal/check/engine_test.go | 2 ++ internal/check/handler.go | 2 ++ internal/check/handler_test.go | 2 ++ internal/check/performance_test.go | 2 ++ internal/check/rewrites.go | 2 ++ internal/check/rewrites_test.go | 2 ++ internal/check/testmain_test.go | 2 ++ internal/driver/config/buildinfo.go | 2 ++ internal/driver/config/namespace_memory.go | 2 ++ internal/driver/config/namespace_memory_test.go | 2 ++ internal/driver/config/namespace_watcher.go | 2 ++ internal/driver/config/namespace_watcher_test.go | 2 ++ .../config/opl_config_namespace_watcher.go | 2 ++ internal/driver/config/provider.go | 2 ++ internal/driver/config/provider_test.go | 2 ++ internal/driver/daemon.go | 2 ++ internal/driver/daemon_test.go | 2 ++ internal/driver/pop_connection.go | 2 ++ internal/driver/registry.go | 2 ++ internal/driver/registry_default.go | 2 ++ internal/driver/registry_factory.go | 2 ++ internal/driver/selfsigned_cert_bench_test.go | 2 ++ internal/e2e/cases_test.go | 2 ++ internal/e2e/cli_client_test.go | 2 ++ internal/e2e/full_suit_test.go | 2 ++ internal/e2e/grpc_client_test.go | 2 ++ internal/e2e/helpers.go | 2 ++ internal/e2e/rest_client_test.go | 2 ++ internal/e2e/sdk_client_test.go | 2 ++ internal/e2e/transaction_cases_test.go | 2 ++ internal/expand/engine.go | 2 ++ internal/expand/engine_test.go | 2 ++ internal/expand/handler.go | 2 ++ internal/expand/handler_test.go | 2 ++ internal/expand/testhelper.go | 2 ++ internal/namespace/ast/ast_definitions.go | 2 ++ internal/namespace/ast/operator_string.go | 2 ++ internal/namespace/definitions.go | 2 ++ internal/persistence/definitions.go | 2 ++ internal/persistence/sql/full_test.go | 2 ++ .../sql/migrations/migratest/migration_test.go | 2 ++ .../uuidmapping/uuid_mapping_migrator.go | 2 ++ .../uuidmapping/uuid_mapping_migrator_test.go | 2 ++ internal/persistence/sql/pagination_test.go | 2 ++ internal/persistence/sql/persister.go | 2 ++ internal/persistence/sql/relationtuples.go | 2 ++ internal/persistence/sql/relationtuples_test.go | 2 ++ internal/persistence/sql/uuid_mapping.go | 2 ++ internal/persistence/sql/uuid_mapping_test.go | 2 ++ internal/relationtuple/definitions.go | 2 ++ internal/relationtuple/definitions_test.go | 2 ++ internal/relationtuple/handler.go | 2 ++ internal/relationtuple/manager_isolation.go | 2 ++ internal/relationtuple/manager_requirements.go | 2 ++ internal/relationtuple/read_server.go | 2 ++ internal/relationtuple/read_server_test.go | 2 ++ internal/relationtuple/swagger_definitions.go | 2 ++ internal/relationtuple/test_helper.go | 2 ++ internal/relationtuple/transact_server.go | 2 ++ internal/relationtuple/transact_server_test.go | 2 ++ internal/relationtuple/uuid_mapping.go | 2 ++ internal/relationtuple/uuid_mapping_test.go | 2 ++ internal/schema/itemtype_string.go | 2 ++ internal/schema/lexer.go | 2 ++ internal/schema/lexer_test.go | 2 ++ internal/schema/limits.go | 2 ++ internal/schema/parse_errors.go | 2 ++ internal/schema/parser.go | 2 ++ internal/schema/parser_fuzzer.go | 2 ++ internal/schema/parser_test.go | 2 ++ internal/schema/typechecks.go | 2 ++ internal/swagger_types.go | 2 ++ internal/x/dbx/dsn_cockroach.go | 2 ++ internal/x/dbx/dsn_mysql.go | 2 ++ internal/x/dbx/dsn_nocockroach.go | 2 ++ internal/x/dbx/dsn_nomysql.go | 2 ++ internal/x/dbx/dsn_nopostgres.go | 2 ++ internal/x/dbx/dsn_nosqlite.go | 2 ++ internal/x/dbx/dsn_postgres.go | 2 ++ internal/x/dbx/dsn_sqlite.go | 2 ++ internal/x/dbx/dsn_testutils.go | 2 ++ internal/x/dbx/dsn_testutils_test.go | 2 ++ internal/x/graph/graph_utils.go | 2 ++ internal/x/graph/graph_utils_test.go | 2 ++ internal/x/helpers.go | 2 ++ internal/x/max_depth.go | 2 ++ internal/x/pagination.go | 2 ++ internal/x/registry.go | 2 ++ internal/x/router.go | 2 ++ ketoapi/cmd_output.go | 2 ++ ketoapi/enc_proto.go | 2 ++ ketoapi/enc_string.go | 2 ++ ketoapi/enc_test.go | 2 ++ ketoapi/enc_url_query.go | 2 ++ ketoapi/public_api_definitions.go | 2 ++ ketoctx/contextualizer.go | 2 ++ ketoctx/contextualizer_test.go | 2 ++ ketoctx/options.go | 2 ++ ketoctx/options_test.go | 2 ++ main.go | 14 +------------- spec/files.go | 2 ++ 171 files changed, 342 insertions(+), 68 deletions(-) diff --git a/.gitignore b/.gitignore index 3cb5dd17a..6f5fb6a77 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ +.bin/ node_modules/ .idea/ coverage.txt @@ -6,4 +7,4 @@ dist/ **/*.sqlite-journal .vscode/ .fuzzer/ -keto \ No newline at end of file +keto diff --git a/Makefile b/Makefile index 23d147a65..c7e89a9ce 100644 --- a/Makefile +++ b/Makefile @@ -53,7 +53,8 @@ tools/brew: go build -o .bin/clidoc ./cmd/clidoc/. .PHONY: format -format: tools/goimports node_modules +format: .bin/ory tools/goimports node_modules + .bin/ory dev headers license --exclude=.bin --exclude=internal/httpclient --exclude=proto goimports -w -local github.com/ory/keto *.go internal cmd contrib ketoctx ketoapi embedx npm exec -- prettier --write . @@ -160,3 +161,7 @@ post-release: tools/yq .PHONY: generate generate: tools/stringer go generate ./... + +.bin/ory: Makefile + curl https://raw.githubusercontent.com/ory/meta/master/install.sh | bash -s -- -b .bin ory v0.1.43 + touch .bin/ory diff --git a/cmd/check/root.go b/cmd/check/root.go index 191a87564..a610b9e4e 100644 --- a/cmd/check/root.go +++ b/cmd/check/root.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package check import ( diff --git a/cmd/check/root_test.go b/cmd/check/root_test.go index 1f428ac99..359f0fc20 100644 --- a/cmd/check/root_test.go +++ b/cmd/check/root_test.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package check import ( diff --git a/cmd/clidoc/main.go b/cmd/clidoc/main.go index 2feabb1f1..2efc33b11 100644 --- a/cmd/clidoc/main.go +++ b/cmd/clidoc/main.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package main import ( diff --git a/cmd/client/grpc_client.go b/cmd/client/grpc_client.go index 19bcf6466..991e61541 100644 --- a/cmd/client/grpc_client.go +++ b/cmd/client/grpc_client.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package client import ( diff --git a/cmd/client/grpc_client_test.go b/cmd/client/grpc_client_test.go index 6ff96cc2c..e9019dd62 100644 --- a/cmd/client/grpc_client_test.go +++ b/cmd/client/grpc_client_test.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package client import ( diff --git a/cmd/client/test_helpers.go b/cmd/client/test_helpers.go index 204b4801f..42d3e81bf 100644 --- a/cmd/client/test_helpers.go +++ b/cmd/client/test_helpers.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package client import ( diff --git a/cmd/expand/root.go b/cmd/expand/root.go index 63f0a0971..6a60e3b13 100644 --- a/cmd/expand/root.go +++ b/cmd/expand/root.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package expand import ( diff --git a/cmd/expand/root_test.go b/cmd/expand/root_test.go index 0ac4b8512..f7d5fbce4 100644 --- a/cmd/expand/root_test.go +++ b/cmd/expand/root_test.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package expand import ( diff --git a/cmd/helpers/helpers.go b/cmd/helpers/helpers.go index c4586108e..2ea1409f1 100644 --- a/cmd/helpers/helpers.go +++ b/cmd/helpers/helpers.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package helpers import ( diff --git a/cmd/migrate/down.go b/cmd/migrate/down.go index 91979ab86..50d00c9aa 100644 --- a/cmd/migrate/down.go +++ b/cmd/migrate/down.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package migrate import ( diff --git a/cmd/migrate/migrate_test.go b/cmd/migrate/migrate_test.go index b56e9f6f5..0873f4961 100644 --- a/cmd/migrate/migrate_test.go +++ b/cmd/migrate/migrate_test.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package migrate import ( diff --git a/cmd/migrate/root.go b/cmd/migrate/root.go index f29f9d3f6..c7b27f43a 100644 --- a/cmd/migrate/root.go +++ b/cmd/migrate/root.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package migrate import ( diff --git a/cmd/migrate/status.go b/cmd/migrate/status.go index b1b52c9b1..7073ed581 100644 --- a/cmd/migrate/status.go +++ b/cmd/migrate/status.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package migrate import ( diff --git a/cmd/migrate/up.go b/cmd/migrate/up.go index 27ceed165..0d3c9b125 100644 --- a/cmd/migrate/up.go +++ b/cmd/migrate/up.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package migrate import ( diff --git a/cmd/namespace/root.go b/cmd/namespace/root.go index 9264da0f7..286d74f85 100644 --- a/cmd/namespace/root.go +++ b/cmd/namespace/root.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package namespace import ( diff --git a/cmd/namespace/validate.go b/cmd/namespace/validate.go index a59e47827..ef82763b2 100644 --- a/cmd/namespace/validate.go +++ b/cmd/namespace/validate.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package namespace import ( diff --git a/cmd/namespace/validate_test.go b/cmd/namespace/validate_test.go index 9de762458..2360e49ee 100644 --- a/cmd/namespace/validate_test.go +++ b/cmd/namespace/validate_test.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package namespace import ( diff --git a/cmd/relationtuple/create.go b/cmd/relationtuple/create.go index 72a9a17ad..eff90c02d 100644 --- a/cmd/relationtuple/create.go +++ b/cmd/relationtuple/create.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package relationtuple import ( diff --git a/cmd/relationtuple/delete.go b/cmd/relationtuple/delete.go index 4f4094e94..e9e3c1045 100644 --- a/cmd/relationtuple/delete.go +++ b/cmd/relationtuple/delete.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package relationtuple import ( diff --git a/cmd/relationtuple/delete_all.go b/cmd/relationtuple/delete_all.go index 512b791e1..dceb570d3 100644 --- a/cmd/relationtuple/delete_all.go +++ b/cmd/relationtuple/delete_all.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package relationtuple import ( diff --git a/cmd/relationtuple/delete_all_test.go b/cmd/relationtuple/delete_all_test.go index e5cae7c9c..48148c867 100644 --- a/cmd/relationtuple/delete_all_test.go +++ b/cmd/relationtuple/delete_all_test.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package relationtuple import ( diff --git a/cmd/relationtuple/get.go b/cmd/relationtuple/get.go index 31b0845c8..69d7762f3 100644 --- a/cmd/relationtuple/get.go +++ b/cmd/relationtuple/get.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package relationtuple import ( diff --git a/cmd/relationtuple/output.go b/cmd/relationtuple/output.go index 900ed0c3b..a1a2147d0 100644 --- a/cmd/relationtuple/output.go +++ b/cmd/relationtuple/output.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package relationtuple import ( diff --git a/cmd/relationtuple/output_test.go b/cmd/relationtuple/output_test.go index 4dd3de712..5005844ae 100644 --- a/cmd/relationtuple/output_test.go +++ b/cmd/relationtuple/output_test.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package relationtuple import ( diff --git a/cmd/relationtuple/parse.go b/cmd/relationtuple/parse.go index 5cc20bf51..b810d1621 100644 --- a/cmd/relationtuple/parse.go +++ b/cmd/relationtuple/parse.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package relationtuple import ( diff --git a/cmd/relationtuple/parse_test.go b/cmd/relationtuple/parse_test.go index 4c33c3fb4..26340a66a 100644 --- a/cmd/relationtuple/parse_test.go +++ b/cmd/relationtuple/parse_test.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package relationtuple import ( diff --git a/cmd/relationtuple/root.go b/cmd/relationtuple/root.go index 495d7b502..6e200180e 100644 --- a/cmd/relationtuple/root.go +++ b/cmd/relationtuple/root.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package relationtuple import ( diff --git a/cmd/root.go b/cmd/root.go index b5ece32d0..c2a939eba 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -1,16 +1,4 @@ -// Copyright © 2018 NAME HERE -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Copyright © 2022 Ory Corp package cmd diff --git a/cmd/serve_debug_test.go b/cmd/serve_debug_test.go index a2206bbce..9abc836d3 100644 --- a/cmd/serve_debug_test.go +++ b/cmd/serve_debug_test.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package cmd import ( diff --git a/cmd/server/serve.go b/cmd/server/serve.go index 4871bd0ae..6764b5620 100644 --- a/cmd/server/serve.go +++ b/cmd/server/serve.go @@ -1,16 +1,4 @@ -// Copyright © 2018 NAME HERE -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Copyright © 2022 Ory Corp package server diff --git a/cmd/status/root.go b/cmd/status/root.go index 5fe89c9de..d1dc96208 100644 --- a/cmd/status/root.go +++ b/cmd/status/root.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package status import ( diff --git a/cmd/status/root_test.go b/cmd/status/root_test.go index cb2a2baf8..f2c970ed6 100644 --- a/cmd/status/root_test.go +++ b/cmd/status/root_test.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package status import ( diff --git a/contrib/docs-code-samples/expand-api-display-access/00-create-tuples/index.js b/contrib/docs-code-samples/expand-api-display-access/00-create-tuples/index.js index 524a478c5..c10b8acc1 100644 --- a/contrib/docs-code-samples/expand-api-display-access/00-create-tuples/index.js +++ b/contrib/docs-code-samples/expand-api-display-access/00-create-tuples/index.js @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + import grpc from "@ory/keto-grpc-client/node_modules/@grpc/grpc-js/build/src/index.js" import { relationTuples, write, writeService } from "@ory/keto-grpc-client" diff --git a/contrib/docs-code-samples/expand-api-display-access/00-create-tuples/main.go b/contrib/docs-code-samples/expand-api-display-access/00-create-tuples/main.go index 2887f1eff..fa8967389 100644 --- a/contrib/docs-code-samples/expand-api-display-access/00-create-tuples/main.go +++ b/contrib/docs-code-samples/expand-api-display-access/00-create-tuples/main.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package main import ( diff --git a/contrib/docs-code-samples/expand-api-display-access/01-expand-beach/index.js b/contrib/docs-code-samples/expand-api-display-access/01-expand-beach/index.js index 1d4cd61c8..1b5e5beab 100644 --- a/contrib/docs-code-samples/expand-api-display-access/01-expand-beach/index.js +++ b/contrib/docs-code-samples/expand-api-display-access/01-expand-beach/index.js @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + import grpc from "@ory/keto-grpc-client/node_modules/@grpc/grpc-js/build/src/index.js" import { relationTuples, expand, expandService } from "@ory/keto-grpc-client" diff --git a/contrib/docs-code-samples/expand-api-display-access/01-expand-beach/main.go b/contrib/docs-code-samples/expand-api-display-access/01-expand-beach/main.go index 43a038bbe..f8639614c 100644 --- a/contrib/docs-code-samples/expand-api-display-access/01-expand-beach/main.go +++ b/contrib/docs-code-samples/expand-api-display-access/01-expand-beach/main.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package main import ( diff --git a/contrib/docs-code-samples/expand-api-display-access/99-cleanup/index.js b/contrib/docs-code-samples/expand-api-display-access/99-cleanup/index.js index 6d53b8286..6cc4f6241 100644 --- a/contrib/docs-code-samples/expand-api-display-access/99-cleanup/index.js +++ b/contrib/docs-code-samples/expand-api-display-access/99-cleanup/index.js @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + import grpc from "@ory/keto-grpc-client/node_modules/@grpc/grpc-js/build/src/index.js" import { relationTuples, write, writeService } from "@ory/keto-grpc-client" diff --git a/contrib/docs-code-samples/expand-api-display-access/99-cleanup/main.go b/contrib/docs-code-samples/expand-api-display-access/99-cleanup/main.go index bf2a31483..3d19e07cd 100644 --- a/contrib/docs-code-samples/expand-api-display-access/99-cleanup/main.go +++ b/contrib/docs-code-samples/expand-api-display-access/99-cleanup/main.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + //go:build docscodesamples // +build docscodesamples diff --git a/contrib/docs-code-samples/list-api-display-objects/00-create-tuples/index.js b/contrib/docs-code-samples/list-api-display-objects/00-create-tuples/index.js index 28202ea36..440555b72 100644 --- a/contrib/docs-code-samples/list-api-display-objects/00-create-tuples/index.js +++ b/contrib/docs-code-samples/list-api-display-objects/00-create-tuples/index.js @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + import grpc from "@ory/keto-grpc-client/node_modules/@grpc/grpc-js/build/src/index.js" import { relationTuples, write, writeService } from "@ory/keto-grpc-client" diff --git a/contrib/docs-code-samples/list-api-display-objects/00-create-tuples/main.go b/contrib/docs-code-samples/list-api-display-objects/00-create-tuples/main.go index 444968a19..ac6cb4791 100644 --- a/contrib/docs-code-samples/list-api-display-objects/00-create-tuples/main.go +++ b/contrib/docs-code-samples/list-api-display-objects/00-create-tuples/main.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package main import ( diff --git a/contrib/docs-code-samples/list-api-display-objects/01-list-PM/index.js b/contrib/docs-code-samples/list-api-display-objects/01-list-PM/index.js index 36d740767..93192d240 100644 --- a/contrib/docs-code-samples/list-api-display-objects/01-list-PM/index.js +++ b/contrib/docs-code-samples/list-api-display-objects/01-list-PM/index.js @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + import grpc from "@ory/keto-grpc-client/node_modules/@grpc/grpc-js/build/src/index.js" import { relationTuples, read, readService } from "@ory/keto-grpc-client" diff --git a/contrib/docs-code-samples/list-api-display-objects/01-list-PM/main.go b/contrib/docs-code-samples/list-api-display-objects/01-list-PM/main.go index 0497d5611..8e9f6988d 100644 --- a/contrib/docs-code-samples/list-api-display-objects/01-list-PM/main.go +++ b/contrib/docs-code-samples/list-api-display-objects/01-list-PM/main.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package main import ( diff --git a/contrib/docs-code-samples/list-api-display-objects/02-list-coffee-break/index.js b/contrib/docs-code-samples/list-api-display-objects/02-list-coffee-break/index.js index 819255e41..96176254d 100644 --- a/contrib/docs-code-samples/list-api-display-objects/02-list-coffee-break/index.js +++ b/contrib/docs-code-samples/list-api-display-objects/02-list-coffee-break/index.js @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + import grpc from "@ory/keto-grpc-client/node_modules/@grpc/grpc-js/build/src/index.js" import { read, readService } from "@ory/keto-grpc-client" diff --git a/contrib/docs-code-samples/list-api-display-objects/02-list-coffee-break/main.go b/contrib/docs-code-samples/list-api-display-objects/02-list-coffee-break/main.go index 2636a334e..4049cbc0b 100644 --- a/contrib/docs-code-samples/list-api-display-objects/02-list-coffee-break/main.go +++ b/contrib/docs-code-samples/list-api-display-objects/02-list-coffee-break/main.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package main import ( diff --git a/contrib/docs-code-samples/list-api-display-objects/99-cleanup/index.js b/contrib/docs-code-samples/list-api-display-objects/99-cleanup/index.js index 557b4f33c..4fecee34f 100644 --- a/contrib/docs-code-samples/list-api-display-objects/99-cleanup/index.js +++ b/contrib/docs-code-samples/list-api-display-objects/99-cleanup/index.js @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + import grpc from "@ory/keto-grpc-client/node_modules/@grpc/grpc-js/build/src/index.js" import { write, writeService, read, readService } from "@ory/keto-grpc-client" diff --git a/contrib/docs-code-samples/list-api-display-objects/99-cleanup/main.go b/contrib/docs-code-samples/list-api-display-objects/99-cleanup/main.go index d54e356ef..2ff4b3a05 100644 --- a/contrib/docs-code-samples/list-api-display-objects/99-cleanup/main.go +++ b/contrib/docs-code-samples/list-api-display-objects/99-cleanup/main.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + //go:build docscodesamples // +build docscodesamples diff --git a/contrib/docs-code-samples/simple-access-check-guide/00-write-direct-access/index.js b/contrib/docs-code-samples/simple-access-check-guide/00-write-direct-access/index.js index 2b46d09ad..575dc3e0a 100644 --- a/contrib/docs-code-samples/simple-access-check-guide/00-write-direct-access/index.js +++ b/contrib/docs-code-samples/simple-access-check-guide/00-write-direct-access/index.js @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + import grpc from "@ory/keto-grpc-client/node_modules/@grpc/grpc-js/build/src/index.js" import { relationTuples, write, writeService } from "@ory/keto-grpc-client" diff --git a/contrib/docs-code-samples/simple-access-check-guide/00-write-direct-access/main.go b/contrib/docs-code-samples/simple-access-check-guide/00-write-direct-access/main.go index 7730720e5..ceb3c9f80 100644 --- a/contrib/docs-code-samples/simple-access-check-guide/00-write-direct-access/main.go +++ b/contrib/docs-code-samples/simple-access-check-guide/00-write-direct-access/main.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package main import ( diff --git a/contrib/docs-code-samples/simple-access-check-guide/01-check-direct-access/index.js b/contrib/docs-code-samples/simple-access-check-guide/01-check-direct-access/index.js index 368f75be2..fc859218e 100644 --- a/contrib/docs-code-samples/simple-access-check-guide/01-check-direct-access/index.js +++ b/contrib/docs-code-samples/simple-access-check-guide/01-check-direct-access/index.js @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + import grpc from "@ory/keto-grpc-client/node_modules/@grpc/grpc-js/build/src/index.js" import { relationTuples, check, checkService } from "@ory/keto-grpc-client" diff --git a/contrib/docs-code-samples/simple-access-check-guide/01-check-direct-access/main.go b/contrib/docs-code-samples/simple-access-check-guide/01-check-direct-access/main.go index cbc5dc89d..1db22b9c8 100644 --- a/contrib/docs-code-samples/simple-access-check-guide/01-check-direct-access/main.go +++ b/contrib/docs-code-samples/simple-access-check-guide/01-check-direct-access/main.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package main import ( diff --git a/contrib/docs-code-samples/simple-access-check-guide/99-cleanup/index.js b/contrib/docs-code-samples/simple-access-check-guide/99-cleanup/index.js index 3e6310fa4..038deefc4 100644 --- a/contrib/docs-code-samples/simple-access-check-guide/99-cleanup/index.js +++ b/contrib/docs-code-samples/simple-access-check-guide/99-cleanup/index.js @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + import grpc from "@ory/keto-grpc-client/node_modules/@grpc/grpc-js/build/src/index.js" import { relationTuples, write, writeService } from "@ory/keto-grpc-client" diff --git a/contrib/docs-code-samples/simple-access-check-guide/99-cleanup/main.go b/contrib/docs-code-samples/simple-access-check-guide/99-cleanup/main.go index 12dc715e9..be0d95771 100644 --- a/contrib/docs-code-samples/simple-access-check-guide/99-cleanup/main.go +++ b/contrib/docs-code-samples/simple-access-check-guide/99-cleanup/main.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package main import ( diff --git a/contrib/namespace-type-lib/index.d.ts b/contrib/namespace-type-lib/index.d.ts index d21bc4725..38921e24a 100644 --- a/contrib/namespace-type-lib/index.d.ts +++ b/contrib/namespace-type-lib/index.d.ts @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + /// declare interface Boolean {} diff --git a/contrib/namespace-type-lib/test.ts b/contrib/namespace-type-lib/test.ts index f17f5713d..664f2d852 100644 --- a/contrib/namespace-type-lib/test.ts +++ b/contrib/namespace-type-lib/test.ts @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + import { Namespace, SubjectSet, Context } from "@ory/keto-namespace-types" // This test is not really a valid config, but rather a check of the types. diff --git a/contrib/rewrites-example/namespaces.keto.ts b/contrib/rewrites-example/namespaces.keto.ts index 5e67f2604..8d6a00e89 100644 --- a/contrib/rewrites-example/namespaces.keto.ts +++ b/contrib/rewrites-example/namespaces.keto.ts @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + import { Namespace, SubjectSet, Context } from "@ory/keto-namespace-types" class User implements Namespace { diff --git a/doc.go b/doc.go index cd42f8392..338a7c934 100644 --- a/doc.go +++ b/doc.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + // Package main ORY Keto // // Ory Keto is a cloud native access control server providing best-practice patterns (RBAC, ABAC, ACL, AWS IAM Policies, Kubernetes Roles, ...) via REST APIs. @@ -17,17 +19,3 @@ // // swagger:meta package main - -// Copyright © 2017 Aeneas Rekkas -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. diff --git a/doc_swagger.go b/doc_swagger.go index ab10ab216..d6516054e 100644 --- a/doc_swagger.go +++ b/doc_swagger.go @@ -1,16 +1,4 @@ -// Copyright © 2017 Aeneas Rekkas -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Copyright © 2022 Ory Corp package main diff --git a/embedx/schemas.go b/embedx/schemas.go index c2e938fc6..97650d98f 100644 --- a/embedx/schemas.go +++ b/embedx/schemas.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package embedx import ( diff --git a/embedx/schemas_test.go b/embedx/schemas_test.go index c9910efc2..ec860aa95 100644 --- a/embedx/schemas_test.go +++ b/embedx/schemas_test.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package embedx import ( diff --git a/internal/check/bench_test.go b/internal/check/bench_test.go index 7db57844e..800c20b52 100644 --- a/internal/check/bench_test.go +++ b/internal/check/bench_test.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package check_test import ( diff --git a/internal/check/binop.go b/internal/check/binop.go index d1ed7fa23..ab0d1c887 100644 --- a/internal/check/binop.go +++ b/internal/check/binop.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package check import ( diff --git a/internal/check/checkgroup/checkgroup_test.go b/internal/check/checkgroup/checkgroup_test.go index 5bbfc3c8e..f47ccb2cd 100644 --- a/internal/check/checkgroup/checkgroup_test.go +++ b/internal/check/checkgroup/checkgroup_test.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package checkgroup_test import ( diff --git a/internal/check/checkgroup/concurrent_checkgroup.go b/internal/check/checkgroup/concurrent_checkgroup.go index 1dabe8ccb..e60b94a5d 100644 --- a/internal/check/checkgroup/concurrent_checkgroup.go +++ b/internal/check/checkgroup/concurrent_checkgroup.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package checkgroup import ( diff --git a/internal/check/checkgroup/definitions.go b/internal/check/checkgroup/definitions.go index 352da0d49..c799c5895 100644 --- a/internal/check/checkgroup/definitions.go +++ b/internal/check/checkgroup/definitions.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package checkgroup import ( diff --git a/internal/check/checkgroup/membership_string.go b/internal/check/checkgroup/membership_string.go index a5670b365..b390ea4f2 100644 --- a/internal/check/checkgroup/membership_string.go +++ b/internal/check/checkgroup/membership_string.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + // Code generated by "stringer -type Membership"; DO NOT EDIT. package checkgroup diff --git a/internal/check/checkgroup/testmain_test.go b/internal/check/checkgroup/testmain_test.go index 780afbae5..89eef54ad 100644 --- a/internal/check/checkgroup/testmain_test.go +++ b/internal/check/checkgroup/testmain_test.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package checkgroup_test import ( diff --git a/internal/check/checkgroup/workerpool_test.go b/internal/check/checkgroup/workerpool_test.go index b08d39f92..60c4f709e 100644 --- a/internal/check/checkgroup/workerpool_test.go +++ b/internal/check/checkgroup/workerpool_test.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package checkgroup_test import ( diff --git a/internal/check/engine.go b/internal/check/engine.go index 1226544a4..2779d93bb 100644 --- a/internal/check/engine.go +++ b/internal/check/engine.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package check import ( diff --git a/internal/check/engine_test.go b/internal/check/engine_test.go index 289bbe1fe..3f20bb372 100644 --- a/internal/check/engine_test.go +++ b/internal/check/engine_test.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package check_test import ( diff --git a/internal/check/handler.go b/internal/check/handler.go index 2246ca056..6f708e47f 100644 --- a/internal/check/handler.go +++ b/internal/check/handler.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package check import ( diff --git a/internal/check/handler_test.go b/internal/check/handler_test.go index 4a6f1de26..9d5cd7f4b 100644 --- a/internal/check/handler_test.go +++ b/internal/check/handler_test.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package check_test import ( diff --git a/internal/check/performance_test.go b/internal/check/performance_test.go index 3d67334fd..cccc62ee2 100644 --- a/internal/check/performance_test.go +++ b/internal/check/performance_test.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package check_test //import ( diff --git a/internal/check/rewrites.go b/internal/check/rewrites.go index fd99f856f..d3e217ede 100644 --- a/internal/check/rewrites.go +++ b/internal/check/rewrites.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package check import ( diff --git a/internal/check/rewrites_test.go b/internal/check/rewrites_test.go index 9ee928011..7f26eef58 100644 --- a/internal/check/rewrites_test.go +++ b/internal/check/rewrites_test.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package check_test import ( diff --git a/internal/check/testmain_test.go b/internal/check/testmain_test.go index dd314464e..5463d6bda 100644 --- a/internal/check/testmain_test.go +++ b/internal/check/testmain_test.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package check_test import ( diff --git a/internal/driver/config/buildinfo.go b/internal/driver/config/buildinfo.go index bd2633440..dc9969c10 100644 --- a/internal/driver/config/buildinfo.go +++ b/internal/driver/config/buildinfo.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package config var ( diff --git a/internal/driver/config/namespace_memory.go b/internal/driver/config/namespace_memory.go index 00a10a1e8..22ac6fb15 100644 --- a/internal/driver/config/namespace_memory.go +++ b/internal/driver/config/namespace_memory.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package config import ( diff --git a/internal/driver/config/namespace_memory_test.go b/internal/driver/config/namespace_memory_test.go index 229a13722..853dd9dcd 100644 --- a/internal/driver/config/namespace_memory_test.go +++ b/internal/driver/config/namespace_memory_test.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package config import ( diff --git a/internal/driver/config/namespace_watcher.go b/internal/driver/config/namespace_watcher.go index ebbef6f19..ba4d3e393 100644 --- a/internal/driver/config/namespace_watcher.go +++ b/internal/driver/config/namespace_watcher.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package config import ( diff --git a/internal/driver/config/namespace_watcher_test.go b/internal/driver/config/namespace_watcher_test.go index 7ea5a152e..9349cd82d 100644 --- a/internal/driver/config/namespace_watcher_test.go +++ b/internal/driver/config/namespace_watcher_test.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package config import ( diff --git a/internal/driver/config/opl_config_namespace_watcher.go b/internal/driver/config/opl_config_namespace_watcher.go index 887e1a181..69df0bddb 100644 --- a/internal/driver/config/opl_config_namespace_watcher.go +++ b/internal/driver/config/opl_config_namespace_watcher.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package config import ( diff --git a/internal/driver/config/provider.go b/internal/driver/config/provider.go index cfa7b69d3..0dc365e8d 100644 --- a/internal/driver/config/provider.go +++ b/internal/driver/config/provider.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package config import ( diff --git a/internal/driver/config/provider_test.go b/internal/driver/config/provider_test.go index bd8d87a9d..87e222394 100644 --- a/internal/driver/config/provider_test.go +++ b/internal/driver/config/provider_test.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package config import ( diff --git a/internal/driver/daemon.go b/internal/driver/daemon.go index 4ad88070a..bbb230b80 100644 --- a/internal/driver/daemon.go +++ b/internal/driver/daemon.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package driver import ( diff --git a/internal/driver/daemon_test.go b/internal/driver/daemon_test.go index de150e736..d2d483ad7 100644 --- a/internal/driver/daemon_test.go +++ b/internal/driver/daemon_test.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package driver import ( diff --git a/internal/driver/pop_connection.go b/internal/driver/pop_connection.go index da02b9d9b..dbaca8aaf 100644 --- a/internal/driver/pop_connection.go +++ b/internal/driver/pop_connection.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package driver import ( diff --git a/internal/driver/registry.go b/internal/driver/registry.go index d7aa61f22..d7bc95114 100644 --- a/internal/driver/registry.go +++ b/internal/driver/registry.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package driver import ( diff --git a/internal/driver/registry_default.go b/internal/driver/registry_default.go index 40d747d6c..409cddd26 100644 --- a/internal/driver/registry_default.go +++ b/internal/driver/registry_default.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package driver import ( diff --git a/internal/driver/registry_factory.go b/internal/driver/registry_factory.go index d36d36e36..af3f9a235 100644 --- a/internal/driver/registry_factory.go +++ b/internal/driver/registry_factory.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package driver import ( diff --git a/internal/driver/selfsigned_cert_bench_test.go b/internal/driver/selfsigned_cert_bench_test.go index 79e812f83..8c1e1bc70 100644 --- a/internal/driver/selfsigned_cert_bench_test.go +++ b/internal/driver/selfsigned_cert_bench_test.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package driver import ( diff --git a/internal/e2e/cases_test.go b/internal/e2e/cases_test.go index ff23a0c3b..29b640d3a 100644 --- a/internal/e2e/cases_test.go +++ b/internal/e2e/cases_test.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package e2e import ( diff --git a/internal/e2e/cli_client_test.go b/internal/e2e/cli_client_test.go index ea9bdbb6c..6263a6ac9 100644 --- a/internal/e2e/cli_client_test.go +++ b/internal/e2e/cli_client_test.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package e2e import ( diff --git a/internal/e2e/full_suit_test.go b/internal/e2e/full_suit_test.go index 1f0c1b150..52467301d 100644 --- a/internal/e2e/full_suit_test.go +++ b/internal/e2e/full_suit_test.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package e2e import ( diff --git a/internal/e2e/grpc_client_test.go b/internal/e2e/grpc_client_test.go index 75e47687c..215d7a743 100644 --- a/internal/e2e/grpc_client_test.go +++ b/internal/e2e/grpc_client_test.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package e2e import ( diff --git a/internal/e2e/helpers.go b/internal/e2e/helpers.go index 8e4fa1864..e11f0abe5 100644 --- a/internal/e2e/helpers.go +++ b/internal/e2e/helpers.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package e2e import ( diff --git a/internal/e2e/rest_client_test.go b/internal/e2e/rest_client_test.go index 17c2cd68f..7ee6a25fe 100644 --- a/internal/e2e/rest_client_test.go +++ b/internal/e2e/rest_client_test.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package e2e import ( diff --git a/internal/e2e/sdk_client_test.go b/internal/e2e/sdk_client_test.go index 831955925..306444fd1 100644 --- a/internal/e2e/sdk_client_test.go +++ b/internal/e2e/sdk_client_test.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package e2e import ( diff --git a/internal/e2e/transaction_cases_test.go b/internal/e2e/transaction_cases_test.go index 18b5ff107..1a227312d 100644 --- a/internal/e2e/transaction_cases_test.go +++ b/internal/e2e/transaction_cases_test.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package e2e import ( diff --git a/internal/expand/engine.go b/internal/expand/engine.go index 408c47d44..3586e12c7 100644 --- a/internal/expand/engine.go +++ b/internal/expand/engine.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package expand import ( diff --git a/internal/expand/engine_test.go b/internal/expand/engine_test.go index 2ec2d860d..cfcce2189 100644 --- a/internal/expand/engine_test.go +++ b/internal/expand/engine_test.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package expand_test import ( diff --git a/internal/expand/handler.go b/internal/expand/handler.go index d16240b03..1969ede07 100644 --- a/internal/expand/handler.go +++ b/internal/expand/handler.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package expand import ( diff --git a/internal/expand/handler_test.go b/internal/expand/handler_test.go index 01a464a60..a34d79a2a 100644 --- a/internal/expand/handler_test.go +++ b/internal/expand/handler_test.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package expand_test import ( diff --git a/internal/expand/testhelper.go b/internal/expand/testhelper.go index 845566bcc..1a0f8f5ab 100644 --- a/internal/expand/testhelper.go +++ b/internal/expand/testhelper.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package expand import ( diff --git a/internal/namespace/ast/ast_definitions.go b/internal/namespace/ast/ast_definitions.go index c5cd56486..18b2d12ad 100644 --- a/internal/namespace/ast/ast_definitions.go +++ b/internal/namespace/ast/ast_definitions.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package ast import "encoding/json" diff --git a/internal/namespace/ast/operator_string.go b/internal/namespace/ast/operator_string.go index 74f212cb6..39e164a1b 100644 --- a/internal/namespace/ast/operator_string.go +++ b/internal/namespace/ast/operator_string.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + // Code generated by "stringer -type=Operator -linecomment"; DO NOT EDIT. package ast diff --git a/internal/namespace/definitions.go b/internal/namespace/definitions.go index ff526f844..b39490eff 100644 --- a/internal/namespace/definitions.go +++ b/internal/namespace/definitions.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package namespace import ( diff --git a/internal/persistence/definitions.go b/internal/persistence/definitions.go index ce0a73c50..59b767ebd 100644 --- a/internal/persistence/definitions.go +++ b/internal/persistence/definitions.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package persistence import ( diff --git a/internal/persistence/sql/full_test.go b/internal/persistence/sql/full_test.go index c68d98ecf..e811b3c8b 100644 --- a/internal/persistence/sql/full_test.go +++ b/internal/persistence/sql/full_test.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package sql_test import ( diff --git a/internal/persistence/sql/migrations/migratest/migration_test.go b/internal/persistence/sql/migrations/migratest/migration_test.go index cf75b90cb..baad00569 100644 --- a/internal/persistence/sql/migrations/migratest/migration_test.go +++ b/internal/persistence/sql/migrations/migratest/migration_test.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package migratest import ( diff --git a/internal/persistence/sql/migrations/uuidmapping/uuid_mapping_migrator.go b/internal/persistence/sql/migrations/uuidmapping/uuid_mapping_migrator.go index 9d3154e35..ab3be803c 100644 --- a/internal/persistence/sql/migrations/uuidmapping/uuid_mapping_migrator.go +++ b/internal/persistence/sql/migrations/uuidmapping/uuid_mapping_migrator.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package uuidmapping import ( diff --git a/internal/persistence/sql/migrations/uuidmapping/uuid_mapping_migrator_test.go b/internal/persistence/sql/migrations/uuidmapping/uuid_mapping_migrator_test.go index 971561354..ab8c6d511 100644 --- a/internal/persistence/sql/migrations/uuidmapping/uuid_mapping_migrator_test.go +++ b/internal/persistence/sql/migrations/uuidmapping/uuid_mapping_migrator_test.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package uuidmapping_test import ( diff --git a/internal/persistence/sql/pagination_test.go b/internal/persistence/sql/pagination_test.go index 5f3f3e9da..38367da59 100644 --- a/internal/persistence/sql/pagination_test.go +++ b/internal/persistence/sql/pagination_test.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package sql import ( diff --git a/internal/persistence/sql/persister.go b/internal/persistence/sql/persister.go index 4fc017de5..5927ca964 100644 --- a/internal/persistence/sql/persister.go +++ b/internal/persistence/sql/persister.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package sql import ( diff --git a/internal/persistence/sql/relationtuples.go b/internal/persistence/sql/relationtuples.go index bb3fea2da..6ff780160 100644 --- a/internal/persistence/sql/relationtuples.go +++ b/internal/persistence/sql/relationtuples.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package sql import ( diff --git a/internal/persistence/sql/relationtuples_test.go b/internal/persistence/sql/relationtuples_test.go index f876d8d45..10f1b781a 100644 --- a/internal/persistence/sql/relationtuples_test.go +++ b/internal/persistence/sql/relationtuples_test.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package sql_test import ( diff --git a/internal/persistence/sql/uuid_mapping.go b/internal/persistence/sql/uuid_mapping.go index bc7e12b18..59fa583e3 100644 --- a/internal/persistence/sql/uuid_mapping.go +++ b/internal/persistence/sql/uuid_mapping.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package sql import ( diff --git a/internal/persistence/sql/uuid_mapping_test.go b/internal/persistence/sql/uuid_mapping_test.go index ce72b5dbf..ce2d47f5f 100644 --- a/internal/persistence/sql/uuid_mapping_test.go +++ b/internal/persistence/sql/uuid_mapping_test.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package sql_test import ( diff --git a/internal/relationtuple/definitions.go b/internal/relationtuple/definitions.go index 789285160..e7edfd5f4 100644 --- a/internal/relationtuple/definitions.go +++ b/internal/relationtuple/definitions.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package relationtuple import ( diff --git a/internal/relationtuple/definitions_test.go b/internal/relationtuple/definitions_test.go index b10f28040..0e134697c 100644 --- a/internal/relationtuple/definitions_test.go +++ b/internal/relationtuple/definitions_test.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package relationtuple import ( diff --git a/internal/relationtuple/handler.go b/internal/relationtuple/handler.go index 4223b4b4a..8cdac84aa 100644 --- a/internal/relationtuple/handler.go +++ b/internal/relationtuple/handler.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package relationtuple import ( diff --git a/internal/relationtuple/manager_isolation.go b/internal/relationtuple/manager_isolation.go index 7080238df..b19913b9d 100644 --- a/internal/relationtuple/manager_isolation.go +++ b/internal/relationtuple/manager_isolation.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package relationtuple import ( diff --git a/internal/relationtuple/manager_requirements.go b/internal/relationtuple/manager_requirements.go index cc74c240f..3caf916d4 100644 --- a/internal/relationtuple/manager_requirements.go +++ b/internal/relationtuple/manager_requirements.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package relationtuple import ( diff --git a/internal/relationtuple/read_server.go b/internal/relationtuple/read_server.go index d7e88b12a..3b16f8185 100644 --- a/internal/relationtuple/read_server.go +++ b/internal/relationtuple/read_server.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package relationtuple import ( diff --git a/internal/relationtuple/read_server_test.go b/internal/relationtuple/read_server_test.go index ce51e6ba0..04ffeb31f 100644 --- a/internal/relationtuple/read_server_test.go +++ b/internal/relationtuple/read_server_test.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package relationtuple_test import ( diff --git a/internal/relationtuple/swagger_definitions.go b/internal/relationtuple/swagger_definitions.go index 12bada38c..ed86659fc 100644 --- a/internal/relationtuple/swagger_definitions.go +++ b/internal/relationtuple/swagger_definitions.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package relationtuple import ( diff --git a/internal/relationtuple/test_helper.go b/internal/relationtuple/test_helper.go index a984d940b..ce83d998b 100644 --- a/internal/relationtuple/test_helper.go +++ b/internal/relationtuple/test_helper.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package relationtuple import ( diff --git a/internal/relationtuple/transact_server.go b/internal/relationtuple/transact_server.go index 64738376f..b25e91aad 100644 --- a/internal/relationtuple/transact_server.go +++ b/internal/relationtuple/transact_server.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package relationtuple import ( diff --git a/internal/relationtuple/transact_server_test.go b/internal/relationtuple/transact_server_test.go index a2b2584da..55483d05a 100644 --- a/internal/relationtuple/transact_server_test.go +++ b/internal/relationtuple/transact_server_test.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package relationtuple_test import ( diff --git a/internal/relationtuple/uuid_mapping.go b/internal/relationtuple/uuid_mapping.go index c9f30dc4a..ca4cb38cc 100644 --- a/internal/relationtuple/uuid_mapping.go +++ b/internal/relationtuple/uuid_mapping.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package relationtuple import ( diff --git a/internal/relationtuple/uuid_mapping_test.go b/internal/relationtuple/uuid_mapping_test.go index cdccd849f..452db3483 100644 --- a/internal/relationtuple/uuid_mapping_test.go +++ b/internal/relationtuple/uuid_mapping_test.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package relationtuple_test import ( diff --git a/internal/schema/itemtype_string.go b/internal/schema/itemtype_string.go index ba6bec696..c623cd781 100644 --- a/internal/schema/itemtype_string.go +++ b/internal/schema/itemtype_string.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + // Code generated by "stringer -type=itemType -trimprefix item -linecomment"; DO NOT EDIT. package schema diff --git a/internal/schema/lexer.go b/internal/schema/lexer.go index afbb36169..b995e54b7 100644 --- a/internal/schema/lexer.go +++ b/internal/schema/lexer.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + // The lexer is inspired by Rob Pike's talk at // https://www.youtube.com/watch?v=HxaD_trXwRE. diff --git a/internal/schema/lexer_test.go b/internal/schema/lexer_test.go index 0ac5e7a43..b19f3ed7b 100644 --- a/internal/schema/lexer_test.go +++ b/internal/schema/lexer_test.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package schema import ( diff --git a/internal/schema/limits.go b/internal/schema/limits.go index a4e141e3b..8827c6ff3 100644 --- a/internal/schema/limits.go +++ b/internal/schema/limits.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package schema const ( diff --git a/internal/schema/parse_errors.go b/internal/schema/parse_errors.go index f1dca4fc5..ad6cd0a3e 100644 --- a/internal/schema/parse_errors.go +++ b/internal/schema/parse_errors.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package schema import ( diff --git a/internal/schema/parser.go b/internal/schema/parser.go index 5fefb4e93..17e7fe3f4 100644 --- a/internal/schema/parser.go +++ b/internal/schema/parser.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package schema import ( diff --git a/internal/schema/parser_fuzzer.go b/internal/schema/parser_fuzzer.go index ba421ea61..c1c9eb36c 100644 --- a/internal/schema/parser_fuzzer.go +++ b/internal/schema/parser_fuzzer.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package schema func Fuzz(data []byte) int { diff --git a/internal/schema/parser_test.go b/internal/schema/parser_test.go index 6e282aaf2..b8c327324 100644 --- a/internal/schema/parser_test.go +++ b/internal/schema/parser_test.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package schema import ( diff --git a/internal/schema/typechecks.go b/internal/schema/typechecks.go index 5be585287..46fa1b073 100644 --- a/internal/schema/typechecks.go +++ b/internal/schema/typechecks.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package schema import "github.com/ory/keto/internal/namespace/ast" diff --git a/internal/swagger_types.go b/internal/swagger_types.go index d847a5a3a..99ab1fed1 100644 --- a/internal/swagger_types.go +++ b/internal/swagger_types.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package internal // Empty responses are sent when, for example, resources are deleted. The HTTP status code for empty responses is typically 201. diff --git a/internal/x/dbx/dsn_cockroach.go b/internal/x/dbx/dsn_cockroach.go index a99ff5c2b..5f30dc588 100644 --- a/internal/x/dbx/dsn_cockroach.go +++ b/internal/x/dbx/dsn_cockroach.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + //go:build !nocrdb && !nocockroach package dbx diff --git a/internal/x/dbx/dsn_mysql.go b/internal/x/dbx/dsn_mysql.go index 1214ab2ec..976ad7507 100644 --- a/internal/x/dbx/dsn_mysql.go +++ b/internal/x/dbx/dsn_mysql.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + //go:build !nomysql package dbx diff --git a/internal/x/dbx/dsn_nocockroach.go b/internal/x/dbx/dsn_nocockroach.go index d1ae3f7e0..ec254cc75 100644 --- a/internal/x/dbx/dsn_nocockroach.go +++ b/internal/x/dbx/dsn_nocockroach.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + //go:build nocrdb || nocockroach package dbx diff --git a/internal/x/dbx/dsn_nomysql.go b/internal/x/dbx/dsn_nomysql.go index b68e5e590..030ad20d1 100644 --- a/internal/x/dbx/dsn_nomysql.go +++ b/internal/x/dbx/dsn_nomysql.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + //go:build nomysql package dbx diff --git a/internal/x/dbx/dsn_nopostgres.go b/internal/x/dbx/dsn_nopostgres.go index e6e38a682..33b528984 100644 --- a/internal/x/dbx/dsn_nopostgres.go +++ b/internal/x/dbx/dsn_nopostgres.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + //go:build nopostgres package dbx diff --git a/internal/x/dbx/dsn_nosqlite.go b/internal/x/dbx/dsn_nosqlite.go index 06a0e2b95..86d07bc15 100644 --- a/internal/x/dbx/dsn_nosqlite.go +++ b/internal/x/dbx/dsn_nosqlite.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + //go:build !sqlite package dbx diff --git a/internal/x/dbx/dsn_postgres.go b/internal/x/dbx/dsn_postgres.go index 14a9dc66c..a492ae305 100644 --- a/internal/x/dbx/dsn_postgres.go +++ b/internal/x/dbx/dsn_postgres.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + //go:build !nopostgres package dbx diff --git a/internal/x/dbx/dsn_sqlite.go b/internal/x/dbx/dsn_sqlite.go index b5ab137b3..ab8a6372d 100644 --- a/internal/x/dbx/dsn_sqlite.go +++ b/internal/x/dbx/dsn_sqlite.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + //go:build sqlite package dbx diff --git a/internal/x/dbx/dsn_testutils.go b/internal/x/dbx/dsn_testutils.go index ecdb32ae2..4463b09c1 100644 --- a/internal/x/dbx/dsn_testutils.go +++ b/internal/x/dbx/dsn_testutils.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package dbx import ( diff --git a/internal/x/dbx/dsn_testutils_test.go b/internal/x/dbx/dsn_testutils_test.go index ce4271554..e1b43dac4 100644 --- a/internal/x/dbx/dsn_testutils_test.go +++ b/internal/x/dbx/dsn_testutils_test.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package dbx import ( diff --git a/internal/x/graph/graph_utils.go b/internal/x/graph/graph_utils.go index 88447983a..a642d5884 100644 --- a/internal/x/graph/graph_utils.go +++ b/internal/x/graph/graph_utils.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package graph import ( diff --git a/internal/x/graph/graph_utils_test.go b/internal/x/graph/graph_utils_test.go index 2b732c98c..570927839 100644 --- a/internal/x/graph/graph_utils_test.go +++ b/internal/x/graph/graph_utils_test.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package graph import ( diff --git a/internal/x/helpers.go b/internal/x/helpers.go index 6d7fa59cd..25a0b7533 100644 --- a/internal/x/helpers.go +++ b/internal/x/helpers.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package x import "github.com/gofrs/uuid" diff --git a/internal/x/max_depth.go b/internal/x/max_depth.go index 2b12df8d5..7ebe4f5a7 100644 --- a/internal/x/max_depth.go +++ b/internal/x/max_depth.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package x import ( diff --git a/internal/x/pagination.go b/internal/x/pagination.go index 2850dc27c..0a61a4852 100644 --- a/internal/x/pagination.go +++ b/internal/x/pagination.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package x type ( diff --git a/internal/x/registry.go b/internal/x/registry.go index ec13791dd..8c2491098 100644 --- a/internal/x/registry.go +++ b/internal/x/registry.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package x import ( diff --git a/internal/x/router.go b/internal/x/router.go index da51c7c3c..b0b6f06f0 100644 --- a/internal/x/router.go +++ b/internal/x/router.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package x import ( diff --git a/ketoapi/cmd_output.go b/ketoapi/cmd_output.go index 3e75d7d26..3f750fd00 100644 --- a/ketoapi/cmd_output.go +++ b/ketoapi/cmd_output.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package ketoapi func (r *RelationTuple) Header() []string { diff --git a/ketoapi/enc_proto.go b/ketoapi/enc_proto.go index e57f7983b..519252940 100644 --- a/ketoapi/enc_proto.go +++ b/ketoapi/enc_proto.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package ketoapi import ( diff --git a/ketoapi/enc_string.go b/ketoapi/enc_string.go index 9b29292be..192ba9c06 100644 --- a/ketoapi/enc_string.go +++ b/ketoapi/enc_string.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package ketoapi import ( diff --git a/ketoapi/enc_test.go b/ketoapi/enc_test.go index e392d86be..cf74edc3a 100644 --- a/ketoapi/enc_test.go +++ b/ketoapi/enc_test.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package ketoapi import ( diff --git a/ketoapi/enc_url_query.go b/ketoapi/enc_url_query.go index e458dbc29..4c8eac372 100644 --- a/ketoapi/enc_url_query.go +++ b/ketoapi/enc_url_query.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package ketoapi import ( diff --git a/ketoapi/public_api_definitions.go b/ketoapi/public_api_definitions.go index aafe462ec..94b11bf95 100644 --- a/ketoapi/public_api_definitions.go +++ b/ketoapi/public_api_definitions.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package ketoapi import ( diff --git a/ketoctx/contextualizer.go b/ketoctx/contextualizer.go index bfe102bea..6ab6ec58b 100644 --- a/ketoctx/contextualizer.go +++ b/ketoctx/contextualizer.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package ketoctx import ( diff --git a/ketoctx/contextualizer_test.go b/ketoctx/contextualizer_test.go index 55d075400..ae60622b8 100644 --- a/ketoctx/contextualizer_test.go +++ b/ketoctx/contextualizer_test.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package ketoctx import ( diff --git a/ketoctx/options.go b/ketoctx/options.go index 4fc1b67d3..24976f67f 100644 --- a/ketoctx/options.go +++ b/ketoctx/options.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package ketoctx import ( diff --git a/ketoctx/options_test.go b/ketoctx/options_test.go index 06a9d94a5..61be00079 100644 --- a/ketoctx/options_test.go +++ b/ketoctx/options_test.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package ketoctx import ( diff --git a/main.go b/main.go index 01cb89c61..27067fee7 100644 --- a/main.go +++ b/main.go @@ -1,16 +1,4 @@ -// Copyright © 2017 Aeneas Rekkas -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Copyright © 2022 Ory Corp package main diff --git a/spec/files.go b/spec/files.go index 27b9cb385..4862e6b8c 100644 --- a/spec/files.go +++ b/spec/files.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package spec import _ "embed" From 28374aac6e1ed1194e37148a4aeeb47d32e23c78 Mon Sep 17 00:00:00 2001 From: Kevin Goslar Date: Mon, 10 Oct 2022 15:36:16 -0500 Subject: [PATCH 02/25] Add headers to generated files Co-authored-by: Henning Perl --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index c7e89a9ce..7dcd6a058 100644 --- a/Makefile +++ b/Makefile @@ -161,6 +161,7 @@ post-release: tools/yq .PHONY: generate generate: tools/stringer go generate ./... + .bin/ory dev headers license --exclude=.bin --exclude=internal/httpclient --exclude=proto .bin/ory: Makefile curl https://raw.githubusercontent.com/ory/meta/master/install.sh | bash -s -- -b .bin ory v0.1.43 From ef728359b6da0dc399d3e2c00badf5b210b6b9a4 Mon Sep 17 00:00:00 2001 From: ory-bot <60093411+ory-bot@users.noreply.github.com> Date: Wed, 12 Oct 2022 20:46:56 +0000 Subject: [PATCH 03/25] autogen: build buf --- proto/ory/keto/opl/v1alpha1/syntax_service_pb.js | 5 ++++- .../ory/keto/relation_tuples/v1alpha2/check_service_pb.js | 8 +------- .../keto/relation_tuples/v1alpha2/expand_service_pb.js | 8 +------- .../ory/keto/relation_tuples/v1alpha2/read_service_pb.js | 8 +------- .../keto/relation_tuples/v1alpha2/relation_tuples_pb.js | 8 +------- proto/ory/keto/relation_tuples/v1alpha2/version_pb.js | 8 +------- .../ory/keto/relation_tuples/v1alpha2/write_service_pb.js | 8 +------- 7 files changed, 10 insertions(+), 43 deletions(-) diff --git a/proto/ory/keto/opl/v1alpha1/syntax_service_pb.js b/proto/ory/keto/opl/v1alpha1/syntax_service_pb.js index c4fba3497..d507711c2 100644 --- a/proto/ory/keto/opl/v1alpha1/syntax_service_pb.js +++ b/proto/ory/keto/opl/v1alpha1/syntax_service_pb.js @@ -2,15 +2,18 @@ /** * @fileoverview * @enhanceable + * @suppress {missingRequire} reports error on implicit type usages. * @suppress {messageConventions} JS Compiler reports an error if a variable or * field starts with 'MSG_' and isn't a translatable message. * @public */ // GENERATED CODE -- DO NOT EDIT! +/* eslint-disable */ +// @ts-nocheck var jspb = require('google-protobuf'); var goog = jspb; -var global = Function('return this')(); +var global = (function() { return this || window || global || self || Function('return this')(); }).call(null); goog.exportSymbol('proto.ory.keto.opl.v1alpha1.CheckRequest', null, global); goog.exportSymbol('proto.ory.keto.opl.v1alpha1.CheckResponse', null, global); diff --git a/proto/ory/keto/relation_tuples/v1alpha2/check_service_pb.js b/proto/ory/keto/relation_tuples/v1alpha2/check_service_pb.js index 9f4ece115..2cd14ce2f 100644 --- a/proto/ory/keto/relation_tuples/v1alpha2/check_service_pb.js +++ b/proto/ory/keto/relation_tuples/v1alpha2/check_service_pb.js @@ -13,13 +13,7 @@ var jspb = require('google-protobuf'); var goog = jspb; -var global = (function() { - if (this) { return this; } - if (typeof window !== 'undefined') { return window; } - if (typeof global !== 'undefined') { return global; } - if (typeof self !== 'undefined') { return self; } - return Function('return this')(); -}.call(null)); +var global = (function() { return this || window || global || self || Function('return this')(); }).call(null); var ory_keto_relation_tuples_v1alpha2_relation_tuples_pb = require('../../../../ory/keto/relation_tuples/v1alpha2/relation_tuples_pb.js'); goog.object.extend(proto, ory_keto_relation_tuples_v1alpha2_relation_tuples_pb); diff --git a/proto/ory/keto/relation_tuples/v1alpha2/expand_service_pb.js b/proto/ory/keto/relation_tuples/v1alpha2/expand_service_pb.js index 0f87759fb..795001f25 100644 --- a/proto/ory/keto/relation_tuples/v1alpha2/expand_service_pb.js +++ b/proto/ory/keto/relation_tuples/v1alpha2/expand_service_pb.js @@ -13,13 +13,7 @@ var jspb = require('google-protobuf'); var goog = jspb; -var global = (function() { - if (this) { return this; } - if (typeof window !== 'undefined') { return window; } - if (typeof global !== 'undefined') { return global; } - if (typeof self !== 'undefined') { return self; } - return Function('return this')(); -}.call(null)); +var global = (function() { return this || window || global || self || Function('return this')(); }).call(null); var ory_keto_relation_tuples_v1alpha2_relation_tuples_pb = require('../../../../ory/keto/relation_tuples/v1alpha2/relation_tuples_pb.js'); goog.object.extend(proto, ory_keto_relation_tuples_v1alpha2_relation_tuples_pb); diff --git a/proto/ory/keto/relation_tuples/v1alpha2/read_service_pb.js b/proto/ory/keto/relation_tuples/v1alpha2/read_service_pb.js index b35db7e44..170aeb9c6 100644 --- a/proto/ory/keto/relation_tuples/v1alpha2/read_service_pb.js +++ b/proto/ory/keto/relation_tuples/v1alpha2/read_service_pb.js @@ -13,13 +13,7 @@ var jspb = require('google-protobuf'); var goog = jspb; -var global = (function() { - if (this) { return this; } - if (typeof window !== 'undefined') { return window; } - if (typeof global !== 'undefined') { return global; } - if (typeof self !== 'undefined') { return self; } - return Function('return this')(); -}.call(null)); +var global = (function() { return this || window || global || self || Function('return this')(); }).call(null); var ory_keto_relation_tuples_v1alpha2_relation_tuples_pb = require('../../../../ory/keto/relation_tuples/v1alpha2/relation_tuples_pb.js'); goog.object.extend(proto, ory_keto_relation_tuples_v1alpha2_relation_tuples_pb); diff --git a/proto/ory/keto/relation_tuples/v1alpha2/relation_tuples_pb.js b/proto/ory/keto/relation_tuples/v1alpha2/relation_tuples_pb.js index c7705e945..f05a0ef12 100644 --- a/proto/ory/keto/relation_tuples/v1alpha2/relation_tuples_pb.js +++ b/proto/ory/keto/relation_tuples/v1alpha2/relation_tuples_pb.js @@ -13,13 +13,7 @@ var jspb = require('google-protobuf'); var goog = jspb; -var global = (function() { - if (this) { return this; } - if (typeof window !== 'undefined') { return window; } - if (typeof global !== 'undefined') { return global; } - if (typeof self !== 'undefined') { return self; } - return Function('return this')(); -}.call(null)); +var global = (function() { return this || window || global || self || Function('return this')(); }).call(null); goog.exportSymbol('proto.ory.keto.relation_tuples.v1alpha2.RelationQuery', null, global); goog.exportSymbol('proto.ory.keto.relation_tuples.v1alpha2.RelationTuple', null, global); diff --git a/proto/ory/keto/relation_tuples/v1alpha2/version_pb.js b/proto/ory/keto/relation_tuples/v1alpha2/version_pb.js index 92c1b0f59..340497c68 100644 --- a/proto/ory/keto/relation_tuples/v1alpha2/version_pb.js +++ b/proto/ory/keto/relation_tuples/v1alpha2/version_pb.js @@ -13,13 +13,7 @@ var jspb = require('google-protobuf'); var goog = jspb; -var global = (function() { - if (this) { return this; } - if (typeof window !== 'undefined') { return window; } - if (typeof global !== 'undefined') { return global; } - if (typeof self !== 'undefined') { return self; } - return Function('return this')(); -}.call(null)); +var global = (function() { return this || window || global || self || Function('return this')(); }).call(null); goog.exportSymbol('proto.ory.keto.relation_tuples.v1alpha2.GetVersionRequest', null, global); goog.exportSymbol('proto.ory.keto.relation_tuples.v1alpha2.GetVersionResponse', null, global); diff --git a/proto/ory/keto/relation_tuples/v1alpha2/write_service_pb.js b/proto/ory/keto/relation_tuples/v1alpha2/write_service_pb.js index 3705bc611..f41cbb2ea 100644 --- a/proto/ory/keto/relation_tuples/v1alpha2/write_service_pb.js +++ b/proto/ory/keto/relation_tuples/v1alpha2/write_service_pb.js @@ -13,13 +13,7 @@ var jspb = require('google-protobuf'); var goog = jspb; -var global = (function() { - if (this) { return this; } - if (typeof window !== 'undefined') { return window; } - if (typeof global !== 'undefined') { return global; } - if (typeof self !== 'undefined') { return self; } - return Function('return this')(); -}.call(null)); +var global = (function() { return this || window || global || self || Function('return this')(); }).call(null); var ory_keto_relation_tuples_v1alpha2_relation_tuples_pb = require('../../../../ory/keto/relation_tuples/v1alpha2/relation_tuples_pb.js'); goog.object.extend(proto, ory_keto_relation_tuples_v1alpha2_relation_tuples_pb); From ae4668693026db41105f9b8f0a2d865a9f529480 Mon Sep 17 00:00:00 2001 From: Kevin Goslar Date: Wed, 12 Oct 2022 17:51:04 -0500 Subject: [PATCH 04/25] Makefile --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 36e76f534..5ae1d81ae 100644 --- a/Makefile +++ b/Makefile @@ -48,9 +48,9 @@ node_modules: package-lock.json go build -o .bin/clidoc ./cmd/clidoc/. .PHONY: format -format: .bin/ory tools/goimports node_modules +format: .bin/ory .bin/goimports node_modules .bin/ory dev headers license --exclude=.bin --exclude=internal/httpclient --exclude=proto - goimports -w -local github.com/ory/keto *.go internal cmd contrib ketoctx ketoapi embedx + .bin/goimports -w -local github.com/ory/keto *.go internal cmd contrib ketoctx ketoapi embedx npm exec -- prettier --write . .PHONY: install @@ -159,5 +159,5 @@ generate: .bin/stringer .bin/ory dev headers license --exclude=.bin --exclude=internal/httpclient --exclude=proto .bin/ory: Makefile - curl https://raw.githubusercontent.com/ory/meta/master/install.sh | bash -s -- -b .bin ory v0.1.43 + curl https://raw.githubusercontent.com/ory/meta/master/install.sh | bash -s -- -b .bin ory v0.1.44 touch .bin/ory From 75c307b65f6aec8f3bc8d96477a9950263120d6a Mon Sep 17 00:00:00 2001 From: Kevin Goslar Date: Wed, 12 Oct 2022 17:51:27 -0500 Subject: [PATCH 05/25] chore: license headers --- cmd/namespace/opl_generate.go | 2 ++ cmd/namespace/opl_generate_test.go | 2 ++ internal/schema/handler.go | 2 ++ internal/schema/handler_test.go | 2 ++ 4 files changed, 8 insertions(+) diff --git a/cmd/namespace/opl_generate.go b/cmd/namespace/opl_generate.go index 2519685f0..f3a671544 100644 --- a/cmd/namespace/opl_generate.go +++ b/cmd/namespace/opl_generate.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package namespace import ( diff --git a/cmd/namespace/opl_generate_test.go b/cmd/namespace/opl_generate_test.go index 7cd95b6db..ff75f9011 100644 --- a/cmd/namespace/opl_generate_test.go +++ b/cmd/namespace/opl_generate_test.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package namespace_test import ( diff --git a/internal/schema/handler.go b/internal/schema/handler.go index 1d7c11d93..87fd3e634 100644 --- a/internal/schema/handler.go +++ b/internal/schema/handler.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package schema import ( diff --git a/internal/schema/handler_test.go b/internal/schema/handler_test.go index 8b5985cd2..99323a732 100644 --- a/internal/schema/handler_test.go +++ b/internal/schema/handler_test.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package schema_test import ( From d601eb75b2b3dba9fa79478195275eb1ca675fed Mon Sep 17 00:00:00 2001 From: Kevin Goslar Date: Wed, 12 Oct 2022 20:39:39 -0500 Subject: [PATCH 06/25] Makefile --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 5ae1d81ae..62a994550 100644 --- a/Makefile +++ b/Makefile @@ -156,7 +156,7 @@ post-release: .bin/yq .PHONY: generate generate: .bin/stringer go generate ./... - .bin/ory dev headers license --exclude=.bin --exclude=internal/httpclient --exclude=proto + make format .bin/ory: Makefile curl https://raw.githubusercontent.com/ory/meta/master/install.sh | bash -s -- -b .bin ory v0.1.44 From 6f5dcea1ff6f28e5a64a4dcb91534cda8d4ad1af Mon Sep 17 00:00:00 2001 From: Kevin Goslar Date: Wed, 12 Oct 2022 20:43:10 -0500 Subject: [PATCH 07/25] Makefile --- Makefile | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 62a994550..9ba57e9d9 100644 --- a/Makefile +++ b/Makefile @@ -18,8 +18,7 @@ GO_DEPENDENCIES = golang.org/x/tools/cmd/goimports \ SCRIPT_DEPENDENCIES = swagger \ protoc \ grype \ - trivy \ - ory + trivy define make-go-dependency # go install is responsible for not re-building when the code hasn't changed @@ -70,10 +69,10 @@ sdk: .bin/swagger .bin/ory node_modules -c github.com/ory/x/healthx \ -x internal/httpclient \ -x internal/e2e - ory dev swagger sanitize ./spec/swagger.json + .bin/ory dev swagger sanitize ./spec/swagger.json swagger validate ./spec/swagger.json CIRCLE_PROJECT_USERNAME=ory CIRCLE_PROJECT_REPONAME=keto \ - ory dev openapi migrate \ + .bin/ory dev openapi migrate \ --health-path-tags metadata \ -p https://raw.githubusercontent.com/ory/x/master/healthx/openapi/patch.yaml \ -p file://.schema/openapi/patches/meta.yaml \ From 208aa6f518f8370667048de2faf43c7a6a08858f Mon Sep 17 00:00:00 2001 From: Kevin Goslar Date: Wed, 12 Oct 2022 20:48:26 -0500 Subject: [PATCH 08/25] check_service_pb.js --- .../ory/keto/relation_tuples/v1alpha2/check_service_pb.js | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/proto/ory/keto/relation_tuples/v1alpha2/check_service_pb.js b/proto/ory/keto/relation_tuples/v1alpha2/check_service_pb.js index 2cd14ce2f..9f4ece115 100644 --- a/proto/ory/keto/relation_tuples/v1alpha2/check_service_pb.js +++ b/proto/ory/keto/relation_tuples/v1alpha2/check_service_pb.js @@ -13,7 +13,13 @@ var jspb = require('google-protobuf'); var goog = jspb; -var global = (function() { return this || window || global || self || Function('return this')(); }).call(null); +var global = (function() { + if (this) { return this; } + if (typeof window !== 'undefined') { return window; } + if (typeof global !== 'undefined') { return global; } + if (typeof self !== 'undefined') { return self; } + return Function('return this')(); +}.call(null)); var ory_keto_relation_tuples_v1alpha2_relation_tuples_pb = require('../../../../ory/keto/relation_tuples/v1alpha2/relation_tuples_pb.js'); goog.object.extend(proto, ory_keto_relation_tuples_v1alpha2_relation_tuples_pb); From 0167673c3a64ce1ee2f6e9f35964df6c6f0a5b8c Mon Sep 17 00:00:00 2001 From: Kevin Goslar Date: Wed, 12 Oct 2022 20:50:02 -0500 Subject: [PATCH 09/25] syntax_service_pb.js expand_service_pb.js read_service_pb.js relation_tuples_pb.js version_pb.js write_service_pb.js --- proto/ory/keto/opl/v1alpha1/syntax_service_pb.js | 5 +---- .../keto/relation_tuples/v1alpha2/expand_service_pb.js | 8 +++++++- .../ory/keto/relation_tuples/v1alpha2/read_service_pb.js | 8 +++++++- .../keto/relation_tuples/v1alpha2/relation_tuples_pb.js | 8 +++++++- proto/ory/keto/relation_tuples/v1alpha2/version_pb.js | 8 +++++++- .../ory/keto/relation_tuples/v1alpha2/write_service_pb.js | 8 +++++++- 6 files changed, 36 insertions(+), 9 deletions(-) diff --git a/proto/ory/keto/opl/v1alpha1/syntax_service_pb.js b/proto/ory/keto/opl/v1alpha1/syntax_service_pb.js index d507711c2..c4fba3497 100644 --- a/proto/ory/keto/opl/v1alpha1/syntax_service_pb.js +++ b/proto/ory/keto/opl/v1alpha1/syntax_service_pb.js @@ -2,18 +2,15 @@ /** * @fileoverview * @enhanceable - * @suppress {missingRequire} reports error on implicit type usages. * @suppress {messageConventions} JS Compiler reports an error if a variable or * field starts with 'MSG_' and isn't a translatable message. * @public */ // GENERATED CODE -- DO NOT EDIT! -/* eslint-disable */ -// @ts-nocheck var jspb = require('google-protobuf'); var goog = jspb; -var global = (function() { return this || window || global || self || Function('return this')(); }).call(null); +var global = Function('return this')(); goog.exportSymbol('proto.ory.keto.opl.v1alpha1.CheckRequest', null, global); goog.exportSymbol('proto.ory.keto.opl.v1alpha1.CheckResponse', null, global); diff --git a/proto/ory/keto/relation_tuples/v1alpha2/expand_service_pb.js b/proto/ory/keto/relation_tuples/v1alpha2/expand_service_pb.js index 795001f25..0f87759fb 100644 --- a/proto/ory/keto/relation_tuples/v1alpha2/expand_service_pb.js +++ b/proto/ory/keto/relation_tuples/v1alpha2/expand_service_pb.js @@ -13,7 +13,13 @@ var jspb = require('google-protobuf'); var goog = jspb; -var global = (function() { return this || window || global || self || Function('return this')(); }).call(null); +var global = (function() { + if (this) { return this; } + if (typeof window !== 'undefined') { return window; } + if (typeof global !== 'undefined') { return global; } + if (typeof self !== 'undefined') { return self; } + return Function('return this')(); +}.call(null)); var ory_keto_relation_tuples_v1alpha2_relation_tuples_pb = require('../../../../ory/keto/relation_tuples/v1alpha2/relation_tuples_pb.js'); goog.object.extend(proto, ory_keto_relation_tuples_v1alpha2_relation_tuples_pb); diff --git a/proto/ory/keto/relation_tuples/v1alpha2/read_service_pb.js b/proto/ory/keto/relation_tuples/v1alpha2/read_service_pb.js index 170aeb9c6..b35db7e44 100644 --- a/proto/ory/keto/relation_tuples/v1alpha2/read_service_pb.js +++ b/proto/ory/keto/relation_tuples/v1alpha2/read_service_pb.js @@ -13,7 +13,13 @@ var jspb = require('google-protobuf'); var goog = jspb; -var global = (function() { return this || window || global || self || Function('return this')(); }).call(null); +var global = (function() { + if (this) { return this; } + if (typeof window !== 'undefined') { return window; } + if (typeof global !== 'undefined') { return global; } + if (typeof self !== 'undefined') { return self; } + return Function('return this')(); +}.call(null)); var ory_keto_relation_tuples_v1alpha2_relation_tuples_pb = require('../../../../ory/keto/relation_tuples/v1alpha2/relation_tuples_pb.js'); goog.object.extend(proto, ory_keto_relation_tuples_v1alpha2_relation_tuples_pb); diff --git a/proto/ory/keto/relation_tuples/v1alpha2/relation_tuples_pb.js b/proto/ory/keto/relation_tuples/v1alpha2/relation_tuples_pb.js index f05a0ef12..c7705e945 100644 --- a/proto/ory/keto/relation_tuples/v1alpha2/relation_tuples_pb.js +++ b/proto/ory/keto/relation_tuples/v1alpha2/relation_tuples_pb.js @@ -13,7 +13,13 @@ var jspb = require('google-protobuf'); var goog = jspb; -var global = (function() { return this || window || global || self || Function('return this')(); }).call(null); +var global = (function() { + if (this) { return this; } + if (typeof window !== 'undefined') { return window; } + if (typeof global !== 'undefined') { return global; } + if (typeof self !== 'undefined') { return self; } + return Function('return this')(); +}.call(null)); goog.exportSymbol('proto.ory.keto.relation_tuples.v1alpha2.RelationQuery', null, global); goog.exportSymbol('proto.ory.keto.relation_tuples.v1alpha2.RelationTuple', null, global); diff --git a/proto/ory/keto/relation_tuples/v1alpha2/version_pb.js b/proto/ory/keto/relation_tuples/v1alpha2/version_pb.js index 340497c68..92c1b0f59 100644 --- a/proto/ory/keto/relation_tuples/v1alpha2/version_pb.js +++ b/proto/ory/keto/relation_tuples/v1alpha2/version_pb.js @@ -13,7 +13,13 @@ var jspb = require('google-protobuf'); var goog = jspb; -var global = (function() { return this || window || global || self || Function('return this')(); }).call(null); +var global = (function() { + if (this) { return this; } + if (typeof window !== 'undefined') { return window; } + if (typeof global !== 'undefined') { return global; } + if (typeof self !== 'undefined') { return self; } + return Function('return this')(); +}.call(null)); goog.exportSymbol('proto.ory.keto.relation_tuples.v1alpha2.GetVersionRequest', null, global); goog.exportSymbol('proto.ory.keto.relation_tuples.v1alpha2.GetVersionResponse', null, global); diff --git a/proto/ory/keto/relation_tuples/v1alpha2/write_service_pb.js b/proto/ory/keto/relation_tuples/v1alpha2/write_service_pb.js index f41cbb2ea..3705bc611 100644 --- a/proto/ory/keto/relation_tuples/v1alpha2/write_service_pb.js +++ b/proto/ory/keto/relation_tuples/v1alpha2/write_service_pb.js @@ -13,7 +13,13 @@ var jspb = require('google-protobuf'); var goog = jspb; -var global = (function() { return this || window || global || self || Function('return this')(); }).call(null); +var global = (function() { + if (this) { return this; } + if (typeof window !== 'undefined') { return window; } + if (typeof global !== 'undefined') { return global; } + if (typeof self !== 'undefined') { return self; } + return Function('return this')(); +}.call(null)); var ory_keto_relation_tuples_v1alpha2_relation_tuples_pb = require('../../../../ory/keto/relation_tuples/v1alpha2/relation_tuples_pb.js'); goog.object.extend(proto, ory_keto_relation_tuples_v1alpha2_relation_tuples_pb); From 5855b7a8ffd7d13c65cef3841c8515e480ccbd74 Mon Sep 17 00:00:00 2001 From: ory-bot <60093411+ory-bot@users.noreply.github.com> Date: Wed, 12 Oct 2022 20:46:56 +0000 Subject: [PATCH 10/25] autogen: build buf --- proto/ory/keto/opl/v1alpha1/syntax_service_pb.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/proto/ory/keto/opl/v1alpha1/syntax_service_pb.js b/proto/ory/keto/opl/v1alpha1/syntax_service_pb.js index c4fba3497..d507711c2 100644 --- a/proto/ory/keto/opl/v1alpha1/syntax_service_pb.js +++ b/proto/ory/keto/opl/v1alpha1/syntax_service_pb.js @@ -2,15 +2,18 @@ /** * @fileoverview * @enhanceable + * @suppress {missingRequire} reports error on implicit type usages. * @suppress {messageConventions} JS Compiler reports an error if a variable or * field starts with 'MSG_' and isn't a translatable message. * @public */ // GENERATED CODE -- DO NOT EDIT! +/* eslint-disable */ +// @ts-nocheck var jspb = require('google-protobuf'); var goog = jspb; -var global = Function('return this')(); +var global = (function() { return this || window || global || self || Function('return this')(); }).call(null); goog.exportSymbol('proto.ory.keto.opl.v1alpha1.CheckRequest', null, global); goog.exportSymbol('proto.ory.keto.opl.v1alpha1.CheckResponse', null, global); From a8fdf6009674304e828b3e08f984a5e3d2c96d29 Mon Sep 17 00:00:00 2001 From: ory-bot <60093411+ory-bot@users.noreply.github.com> Date: Wed, 12 Oct 2022 20:46:56 +0000 Subject: [PATCH 11/25] autogen: build buf --- proto/ory/keto/opl/v1alpha1/syntax_service_pb.js | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/proto/ory/keto/opl/v1alpha1/syntax_service_pb.js b/proto/ory/keto/opl/v1alpha1/syntax_service_pb.js index fd530a99f..d507711c2 100644 --- a/proto/ory/keto/opl/v1alpha1/syntax_service_pb.js +++ b/proto/ory/keto/opl/v1alpha1/syntax_service_pb.js @@ -13,13 +13,7 @@ var jspb = require('google-protobuf'); var goog = jspb; -var global = - (typeof globalThis !== 'undefined' && globalThis) || - (typeof window !== 'undefined' && window) || - (typeof global !== 'undefined' && global) || - (typeof self !== 'undefined' && self) || - (function () { return this; }).call(null) || - Function('return this')(); +var global = (function() { return this || window || global || self || Function('return this')(); }).call(null); goog.exportSymbol('proto.ory.keto.opl.v1alpha1.CheckRequest', null, global); goog.exportSymbol('proto.ory.keto.opl.v1alpha1.CheckResponse', null, global); From 72c6fb4ec38f4d15c019de823b9a456172a45443 Mon Sep 17 00:00:00 2001 From: Kevin Goslar Date: Fri, 28 Oct 2022 17:20:23 -0500 Subject: [PATCH 12/25] GHA --- .github/workflows/licenses.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/licenses.yml diff --git a/.github/workflows/licenses.yml b/.github/workflows/licenses.yml new file mode 100644 index 000000000..a4592c63c --- /dev/null +++ b/.github/workflows/licenses.yml @@ -0,0 +1,21 @@ +name: Licenses + +on: + pull_request: + push: + branches: + - main + - master + +jobs: + check: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-go@v2 + with: + go-version: "1.18" + - uses: actions/setup-node@v2 + with: + node-version: "18" + - run: make licenses From 031ae4b067a7932643b7fc5350446be098da78d0 Mon Sep 17 00:00:00 2001 From: ory-bot <60093411+ory-bot@users.noreply.github.com> Date: Wed, 2 Nov 2022 11:14:04 +0000 Subject: [PATCH 13/25] autogen: build buf --- proto/ory/keto/opl/v1alpha1/syntax_service_pb.js | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/proto/ory/keto/opl/v1alpha1/syntax_service_pb.js b/proto/ory/keto/opl/v1alpha1/syntax_service_pb.js index d507711c2..fd530a99f 100644 --- a/proto/ory/keto/opl/v1alpha1/syntax_service_pb.js +++ b/proto/ory/keto/opl/v1alpha1/syntax_service_pb.js @@ -13,7 +13,13 @@ var jspb = require('google-protobuf'); var goog = jspb; -var global = (function() { return this || window || global || self || Function('return this')(); }).call(null); +var global = + (typeof globalThis !== 'undefined' && globalThis) || + (typeof window !== 'undefined' && window) || + (typeof global !== 'undefined' && global) || + (typeof self !== 'undefined' && self) || + (function () { return this; }).call(null) || + Function('return this')(); goog.exportSymbol('proto.ory.keto.opl.v1alpha1.CheckRequest', null, global); goog.exportSymbol('proto.ory.keto.opl.v1alpha1.CheckResponse', null, global); From 0c1c174470f1c98f3e912caca0471ba8937b1795 Mon Sep 17 00:00:00 2001 From: Kevin Goslar Date: Wed, 2 Nov 2022 07:28:58 -0400 Subject: [PATCH 14/25] chore: license checker (#1098) --- Makefile | 10 + package-lock.json | 1636 +++++++++++++++++++++++++++++++++++++++++++-- package.json | 2 + 3 files changed, 1580 insertions(+), 68 deletions(-) diff --git a/Makefile b/Makefile index 51e3999f0..440480b97 100644 --- a/Makefile +++ b/Makefile @@ -157,3 +157,13 @@ post-release: .bin/yq .PHONY: generate generate: .bin/stringer go generate ./... + +licenses: .bin/licenses node_modules # checks open-source licenses + .bin/licenses + +.bin/licenses: Makefile + curl https://raw.githubusercontent.com/ory/ci/master/licenses/install | sh + +node_modules: package-lock.json + npm ci + touch node_modules diff --git a/package-lock.json b/package-lock.json index d7bd525d3..fa8cd67ea 100644 --- a/package-lock.json +++ b/package-lock.json @@ -15,6 +15,8 @@ }, "devDependencies": { "doctoc": "^2.0.1", + "license-checker": "^25.0.1", + "opencollective": "^1.0.3", "ory-prettier-styles": "^1.2.0", "prettier": "2.7.1", "prettier-plugin-packagejson": "^2.2.18" @@ -342,6 +344,15 @@ "node": ">=10" } }, + "node_modules/array-find-index": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/array-find-index/-/array-find-index-1.0.2.tgz", + "integrity": "sha512-M1HQyIXcBGtVywBt8WVdim+lrNaK7VHp99Qt5pSNziXznKHViIBbXWtfRTpEFpF/c4FdfxNAsCCwPp5phBYJtw==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, "node_modules/array-union": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/array-union/-/array-union-2.1.0.tgz", @@ -351,6 +362,12 @@ "node": ">=8" } }, + "node_modules/asap": { + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/asap/-/asap-2.0.6.tgz", + "integrity": "sha512-BSHWgDSAiKs50o2Re8ppvp3seVHXSRM44cdSsT9FfNEUUZLOGWVCsiWaRPWM1Znn+mqZ1OfVZ3z3DWEzSp7hRA==", + "dev": true + }, "node_modules/axios": { "version": "0.26.1", "resolved": "https://registry.npmjs.org/axios/-/axios-0.26.1.tgz", @@ -359,6 +376,33 @@ "follow-redirects": "^1.14.8" } }, + "node_modules/babel-polyfill": { + "version": "6.23.0", + "resolved": "https://registry.npmjs.org/babel-polyfill/-/babel-polyfill-6.23.0.tgz", + "integrity": "sha512-0l7mVU+LrQ2X/ZTUq63T5i3VyR2aTgcRTFmBcD6djQ/Fek6q1A9t5u0F4jZVYHzp78jwWAzGfLpAY1b4/I3lfg==", + "dev": true, + "dependencies": { + "babel-runtime": "^6.22.0", + "core-js": "^2.4.0", + "regenerator-runtime": "^0.10.0" + } + }, + "node_modules/babel-runtime": { + "version": "6.26.0", + "resolved": "https://registry.npmjs.org/babel-runtime/-/babel-runtime-6.26.0.tgz", + "integrity": "sha512-ITKNuq2wKlW1fJg9sSW52eepoYgZBggvOAHC0u/CYu/qxQ9EVzThCgR69BnSXLHjy2f7SY5zaQ4yt7H9ZVxY2g==", + "dev": true, + "dependencies": { + "core-js": "^2.4.0", + "regenerator-runtime": "^0.11.0" + } + }, + "node_modules/babel-runtime/node_modules/regenerator-runtime": { + "version": "0.11.1", + "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.11.1.tgz", + "integrity": "sha512-MguG95oij0fC3QV3URf4V2SDYGJhJnJGqvIIgdECeODCT98wSWDAJ94SSuVpYQUoTcGUIL6L4yNB7j1DFFHSBg==", + "dev": true + }, "node_modules/bail": { "version": "1.0.5", "resolved": "https://registry.npmjs.org/bail/-/bail-1.0.5.tgz", @@ -677,6 +721,14 @@ "node": "> 0.10" } }, + "node_modules/core-js": { + "version": "2.6.12", + "resolved": "https://registry.npmjs.org/core-js/-/core-js-2.6.12.tgz", + "integrity": "sha512-Kb2wC0fvsWfQrgk8HU5lW6U/Lcs8+9aaYcy4ZFc6DDlo4nZ7n70dEgE5rtR0oG6ufKDUnrwfWL1mXR5ljDatrQ==", + "deprecated": "core-js@<3.23.3 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Some versions have web compatibility issues. Please, upgrade your dependencies to the actual version of core-js.", + "dev": true, + "hasInstallScript": true + }, "node_modules/date-fns": { "version": "2.28.0", "resolved": "https://registry.npmjs.org/date-fns/-/date-fns-2.28.0.tgz", @@ -705,6 +757,15 @@ } } }, + "node_modules/debuglog": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/debuglog/-/debuglog-1.0.1.tgz", + "integrity": "sha512-syBZ+rnAK3EgMsH2aYEOLUW7mZSY9Gb+0wUMCFsZvcmiz+HigA0LOcq/HoQqVuGG+EKykunc7QG2bzrponfaSw==", + "dev": true, + "engines": { + "node": "*" + } + }, "node_modules/defaults": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/defaults/-/defaults-1.0.3.tgz", @@ -744,6 +805,16 @@ "node": ">=8" } }, + "node_modules/dezalgo": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/dezalgo/-/dezalgo-1.0.4.tgz", + "integrity": "sha512-rXSP0bf+5n0Qonsb+SVVfNfIsimO4HEtmnIpPHY8Q1UCzKlQrDMfdobr8nJOOsRgWCyMRqeSBQzmWUMq7zvVig==", + "dev": true, + "dependencies": { + "asap": "^2.0.0", + "wrappy": "1" + } + }, "node_modules/dir-glob": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/dir-glob/-/dir-glob-3.0.1.tgz", @@ -851,6 +922,27 @@ "integrity": "sha512-73/zxHTjP2N2FQf0J5ngNjxP9LqG2krUshxYaowI8HxZQsiL2pYJc3k9/O93fc5/lCSkZv+bQ5Esk6k6msiSvg==", "dev": true }, + "node_modules/encoding": { + "version": "0.1.13", + "resolved": "https://registry.npmjs.org/encoding/-/encoding-0.1.13.tgz", + "integrity": "sha512-ETBauow1T35Y/WZMkio9jiM0Z5xjHHmJ4XmjZOq1l/dXz3lr2sRn87nJy20RupqSh1F2m3HHPSp8ShIPQJrJ3A==", + "devOptional": true, + "dependencies": { + "iconv-lite": "^0.6.2" + } + }, + "node_modules/encoding/node_modules/iconv-lite": { + "version": "0.6.3", + "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.6.3.tgz", + "integrity": "sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==", + "devOptional": true, + "dependencies": { + "safer-buffer": ">= 2.1.2 < 3.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, "node_modules/entities": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/entities/-/entities-3.0.1.tgz", @@ -1024,6 +1116,12 @@ "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", "integrity": "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==" }, + "node_modules/function-bind": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz", + "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==", + "dev": true + }, "node_modules/gauge": { "version": "3.0.2", "resolved": "https://registry.npmjs.org/gauge/-/gauge-3.0.2.tgz", @@ -1165,6 +1263,39 @@ "uglify-js": "^3.1.4" } }, + "node_modules/has": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz", + "integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==", + "dev": true, + "dependencies": { + "function-bind": "^1.1.1" + }, + "engines": { + "node": ">= 0.4.0" + } + }, + "node_modules/has-ansi": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/has-ansi/-/has-ansi-2.0.0.tgz", + "integrity": "sha512-C8vBJ8DwUCx19vhm7urhTuUsr4/IyP6l4VzNQDv+ryHQObW3TTTp9yB68WpYgRe2bbaGuZ/se74IqFeVnMnLZg==", + "dev": true, + "dependencies": { + "ansi-regex": "^2.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/has-ansi/node_modules/ansi-regex": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz", + "integrity": "sha512-TIGnTpdo+E3+pCyAluZvtED5p5wCqLdezCyhPZzKPcxvFplEt4i+W7OONCKgeZFT3+y5NZZfOOS/Bdcanm1MYA==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, "node_modules/has-flag": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", @@ -1178,6 +1309,12 @@ "resolved": "https://registry.npmjs.org/has-unicode/-/has-unicode-2.0.1.tgz", "integrity": "sha512-8Rf9Y83NBReMnx0gFzA8JImQACstCYWUplepDa9xprwwtmgEZUF0h/i5xSA625zB/I37EtrswSST6OXxwaaIJQ==" }, + "node_modules/hosted-git-info": { + "version": "2.8.9", + "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.8.9.tgz", + "integrity": "sha512-mxIDAb9Lsm6DoOJ7xH+5+X4y1LU/4Hi50L9C5sIswK3JzULS4bwk1FvjdBgvYR4bzT4tuUQiC15FE2f5HbLvYw==", + "dev": true + }, "node_modules/htmlparser2": { "version": "7.2.0", "resolved": "https://registry.npmjs.org/htmlparser2/-/htmlparser2-7.2.0.tgz", @@ -1333,6 +1470,18 @@ "node": ">=4" } }, + "node_modules/is-core-module": { + "version": "2.11.0", + "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.11.0.tgz", + "integrity": "sha512-RRjxlvLDkD1YJwDbroBHMb+cukurkDWNyHx7D3oNB5x9rb5ogcksMC5wHCadcXoo67gVr/+3GFySh3134zi6rw==", + "dev": true, + "dependencies": { + "has": "^1.0.3" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, "node_modules/is-decimal": { "version": "1.0.4", "resolved": "https://registry.npmjs.org/is-decimal/-/is-decimal-1.0.4.tgz", @@ -1408,6 +1557,15 @@ "node": ">=8" } }, + "node_modules/is-stream": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-1.1.0.tgz", + "integrity": "sha512-uQPm8kcs47jx38atAcWTVxyltQYoPT68y9aWYdV6yWXSyW8mzSat0TL6CiWdZeCdF3KrAvpVtnHbTv4RN+rqdQ==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, "node_modules/is-unicode-supported": { "version": "0.1.0", "resolved": "https://registry.npmjs.org/is-unicode-supported/-/is-unicode-supported-0.1.0.tgz", @@ -1427,6 +1585,12 @@ "node": ">=6" } }, + "node_modules/json-parse-even-better-errors": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz", + "integrity": "sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==", + "dev": true + }, "node_modules/jsonfile": { "version": "6.1.0", "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.1.0.tgz", @@ -1438,6 +1602,132 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/license-checker": { + "version": "25.0.1", + "resolved": "https://registry.npmjs.org/license-checker/-/license-checker-25.0.1.tgz", + "integrity": "sha512-mET5AIwl7MR2IAKYYoVBBpV0OnkKQ1xGj2IMMeEFIs42QAkEVjRtFZGWmQ28WeU7MP779iAgOaOy93Mn44mn6g==", + "dev": true, + "dependencies": { + "chalk": "^2.4.1", + "debug": "^3.1.0", + "mkdirp": "^0.5.1", + "nopt": "^4.0.1", + "read-installed": "~4.0.3", + "semver": "^5.5.0", + "spdx-correct": "^3.0.0", + "spdx-expression-parse": "^3.0.0", + "spdx-satisfies": "^4.0.0", + "treeify": "^1.1.0" + }, + "bin": { + "license-checker": "bin/license-checker" + } + }, + "node_modules/license-checker/node_modules/ansi-styles": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", + "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "dev": true, + "dependencies": { + "color-convert": "^1.9.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/license-checker/node_modules/chalk": { + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", + "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", + "dev": true, + "dependencies": { + "ansi-styles": "^3.2.1", + "escape-string-regexp": "^1.0.5", + "supports-color": "^5.3.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/license-checker/node_modules/color-convert": { + "version": "1.9.3", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", + "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", + "dev": true, + "dependencies": { + "color-name": "1.1.3" + } + }, + "node_modules/license-checker/node_modules/color-name": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", + "integrity": "sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==", + "dev": true + }, + "node_modules/license-checker/node_modules/debug": { + "version": "3.2.7", + "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz", + "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==", + "dev": true, + "dependencies": { + "ms": "^2.1.1" + } + }, + "node_modules/license-checker/node_modules/has-flag": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", + "integrity": "sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw==", + "dev": true, + "engines": { + "node": ">=4" + } + }, + "node_modules/license-checker/node_modules/mkdirp": { + "version": "0.5.6", + "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.6.tgz", + "integrity": "sha512-FP+p8RB8OWpF3YZBCrP5gtADmtXApB5AMLn+vdyA+PyxCjrCs00mjyUozssO33cwDeT3wNGdLxJ5M//YqtHAJw==", + "dev": true, + "dependencies": { + "minimist": "^1.2.6" + }, + "bin": { + "mkdirp": "bin/cmd.js" + } + }, + "node_modules/license-checker/node_modules/nopt": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/nopt/-/nopt-4.0.3.tgz", + "integrity": "sha512-CvaGwVMztSMJLOeXPrez7fyfObdZqNUK1cPAEzLHrTybIua9pMdmmPR5YwtfNftIOMv3DPUhFaxsZMNTQO20Kg==", + "dev": true, + "dependencies": { + "abbrev": "1", + "osenv": "^0.1.4" + }, + "bin": { + "nopt": "bin/nopt.js" + } + }, + "node_modules/license-checker/node_modules/semver": { + "version": "5.7.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", + "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", + "dev": true, + "bin": { + "semver": "bin/semver" + } + }, + "node_modules/license-checker/node_modules/supports-color": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "dev": true, + "dependencies": { + "has-flag": "^3.0.0" + }, + "engines": { + "node": ">=4" + } + }, "node_modules/lodash": { "version": "4.17.21", "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz", @@ -1939,6 +2229,33 @@ "node": ">=6" } }, + "node_modules/normalize-package-data": { + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-2.5.0.tgz", + "integrity": "sha512-/5CMN3T0R4XTj4DcGaexo+roZSdSFW/0AOOTROrjxzCG1wrWXEsGbRKevjlIL+ZDE4sZlJr5ED4YW0yqmkK+eA==", + "dev": true, + "dependencies": { + "hosted-git-info": "^2.1.4", + "resolve": "^1.10.0", + "semver": "2 || 3 || 4 || 5", + "validate-npm-package-license": "^3.0.1" + } + }, + "node_modules/normalize-package-data/node_modules/semver": { + "version": "5.7.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", + "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", + "dev": true, + "bin": { + "semver": "bin/semver" + } + }, + "node_modules/npm-normalize-package-bin": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/npm-normalize-package-bin/-/npm-normalize-package-bin-1.0.1.tgz", + "integrity": "sha512-EPfafl6JL5/rU+ot6P3gRSCpPDW5VmIzX959Ob1+ySFUuuYHWHekXpwdUZcKP5C+DS4GEtdJluwBjnsNDl+fSA==", + "dev": true + }, "node_modules/npmlog": { "version": "5.0.1", "resolved": "https://registry.npmjs.org/npmlog/-/npmlog-5.0.1.tgz", @@ -1988,101 +2305,412 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/ora": { - "version": "5.4.1", - "resolved": "https://registry.npmjs.org/ora/-/ora-5.4.1.tgz", - "integrity": "sha512-5b6Y85tPxZZ7QytO+BQzysW31HJku27cRIlkbAXaNx+BdcVi+LlRFmVXzeF6a7JCwJpyw5c4b+YSVImQIrBpuQ==", + "node_modules/opencollective": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/opencollective/-/opencollective-1.0.3.tgz", + "integrity": "sha512-YBRI0Qa8+Ui0/STV1qYuPrJm889PT3oCPHMVoL+8Y3nwCffj7PSrB2NlGgrhgBKDujxTjxknHWJ/FiqOsYcIDw==", + "dev": true, "dependencies": { - "bl": "^4.1.0", - "chalk": "^4.1.0", - "cli-cursor": "^3.1.0", - "cli-spinners": "^2.5.0", - "is-interactive": "^1.0.0", - "is-unicode-supported": "^0.1.0", - "log-symbols": "^4.1.0", - "strip-ansi": "^6.0.0", - "wcwidth": "^1.0.1" + "babel-polyfill": "6.23.0", + "chalk": "1.1.3", + "inquirer": "3.0.6", + "minimist": "1.2.0", + "node-fetch": "1.6.3", + "opn": "4.0.2" }, + "bin": { + "oc": "dist/bin/opencollective.js", + "opencollective": "dist/bin/opencollective.js" + } + }, + "node_modules/opencollective/node_modules/ansi-escapes": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-1.4.0.tgz", + "integrity": "sha512-wiXutNjDUlNEDWHcYH3jtZUhd3c4/VojassD8zHdHCY13xbZy2XbW+NKQwA0tWGBVzDA9qEzYwfoSsWmviidhw==", + "dev": true, "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "node": ">=0.10.0" } }, - "node_modules/ory-prettier-styles": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/ory-prettier-styles/-/ory-prettier-styles-1.3.0.tgz", - "integrity": "sha512-Vfn0G6CyLaadwcCamwe1SQCf37ZQfBDgMrhRI70dE/2fbE3Q43/xu7K5c32I5FGt/EliroWty5yBjmdkj0eWug==", - "dev": true + "node_modules/opencollective/node_modules/ansi-regex": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz", + "integrity": "sha512-TIGnTpdo+E3+pCyAluZvtED5p5wCqLdezCyhPZzKPcxvFplEt4i+W7OONCKgeZFT3+y5NZZfOOS/Bdcanm1MYA==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } }, - "node_modules/os-tmpdir": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/os-tmpdir/-/os-tmpdir-1.0.2.tgz", - "integrity": "sha512-D2FR03Vir7FIu45XBY20mTb+/ZSWB00sjU9jdQXt83gDrI4Ztz5Fs7/yy74g2N5SVQY4xY1qDr4rNddwYRVX0g==", + "node_modules/opencollective/node_modules/ansi-styles": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz", + "integrity": "sha512-kmCevFghRiWM7HB5zTPULl4r9bVFSWjz62MhqizDGUrq2NWuNMQyuv4tHHoKJHs69M/MF64lEcHdYIocrdWQYA==", + "dev": true, "engines": { "node": ">=0.10.0" } }, - "node_modules/parse-entities": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/parse-entities/-/parse-entities-2.0.0.tgz", - "integrity": "sha512-kkywGpCcRYhqQIchaWqZ875wzpS/bMKhz5HnN3p7wveJTkTtyAB/AlnS0f8DFSqYW1T82t6yEAkEcB+A1I3MbQ==", + "node_modules/opencollective/node_modules/chalk": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz", + "integrity": "sha512-U3lRVLMSlsCfjqYPbLyVv11M9CPW4I728d6TCKMAOJueEeB9/8o+eSsMnxPJD+Q+K909sdESg7C+tIkoH6on1A==", "dev": true, "dependencies": { - "character-entities": "^1.0.0", - "character-entities-legacy": "^1.0.0", - "character-reference-invalid": "^1.0.0", - "is-alphanumerical": "^1.0.0", - "is-decimal": "^1.0.0", - "is-hexadecimal": "^1.0.0" + "ansi-styles": "^2.2.1", + "escape-string-regexp": "^1.0.2", + "has-ansi": "^2.0.0", + "strip-ansi": "^3.0.0", + "supports-color": "^2.0.0" }, - "funding": { - "type": "github", - "url": "https://github.com/sponsors/wooorm" - } - }, - "node_modules/path-is-absolute": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", - "integrity": "sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==", "engines": { "node": ">=0.10.0" } }, - "node_modules/path-to-regexp": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-3.2.0.tgz", - "integrity": "sha512-jczvQbCUS7XmS7o+y1aEO9OBVFeZBQ1MDSEqmO7xSoPgOPoowY/SxLpZ6Vh97/8qHZOteiCKb7gkG9gA2ZUxJA==" + "node_modules/opencollective/node_modules/chardet": { + "version": "0.4.2", + "resolved": "https://registry.npmjs.org/chardet/-/chardet-0.4.2.tgz", + "integrity": "sha512-j/Toj7f1z98Hh2cYo2BVr85EpIRWqUi7rtRSGxh/cqUjqrnJe9l9UE7IUGd2vQ2p+kSHLkSzObQPZPLUC6TQwg==", + "dev": true }, - "node_modules/path-type": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/path-type/-/path-type-4.0.0.tgz", - "integrity": "sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==", + "node_modules/opencollective/node_modules/cli-cursor": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/cli-cursor/-/cli-cursor-2.1.0.tgz", + "integrity": "sha512-8lgKz8LmCRYZZQDpRyT2m5rKJ08TnU4tR9FFFW2rxpxR1FzWi4PQ/NfyODchAatHaUgnSPVcx/R5w6NuTBzFiw==", "dev": true, + "dependencies": { + "restore-cursor": "^2.0.0" + }, "engines": { - "node": ">=8" + "node": ">=4" } }, - "node_modules/picomatch": { - "version": "2.3.1", - "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz", - "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==", + "node_modules/opencollective/node_modules/cli-width": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/cli-width/-/cli-width-2.2.1.tgz", + "integrity": "sha512-GRMWDxpOB6Dgk2E5Uo+3eEBvtOOlimMmpbFiKuLFnQzYDavtLFY3K5ona41jgN/WdRZtG7utuVSVTL4HbZHGkw==", + "dev": true + }, + "node_modules/opencollective/node_modules/external-editor": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/external-editor/-/external-editor-2.2.0.tgz", + "integrity": "sha512-bSn6gvGxKt+b7+6TKEv1ZycHleA7aHhRHyAqJyp5pbUFuYYNIzpZnQDk7AsYckyWdEnTeAnay0aCy2aV6iTk9A==", "dev": true, - "engines": { - "node": ">=8.6" + "dependencies": { + "chardet": "^0.4.0", + "iconv-lite": "^0.4.17", + "tmp": "^0.0.33" }, - "funding": { - "url": "https://github.com/sponsors/jonschlinkert" + "engines": { + "node": ">=0.12" } }, - "node_modules/prettier": { - "version": "2.7.1", - "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.7.1.tgz", - "integrity": "sha512-ujppO+MkdPqoVINuDFDRLClm7D78qbDt0/NR+wp5FqEZOoTNAjPHWj17QRhu7geIHJfcNhRk1XVQmF8Bp3ye+g==", + "node_modules/opencollective/node_modules/figures": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/figures/-/figures-2.0.0.tgz", + "integrity": "sha512-Oa2M9atig69ZkfwiApY8F2Yy+tzMbazyvqv21R0NsSC8floSOC09BbT1ITWAdoMGQvJ/aZnR1KMwdx9tvHnTNA==", "dev": true, - "bin": { - "prettier": "bin-prettier.js" + "dependencies": { + "escape-string-regexp": "^1.0.5" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/opencollective/node_modules/inquirer": { + "version": "3.0.6", + "resolved": "https://registry.npmjs.org/inquirer/-/inquirer-3.0.6.tgz", + "integrity": "sha512-thluxTGBXUGb8DuQcvH9/CM/CrcGyB5xUpWc9x6Slqcq1z/hRr2a6KxUpX4ddRfmbe0hg3E4jTvo5833aWz3BA==", + "dev": true, + "dependencies": { + "ansi-escapes": "^1.1.0", + "chalk": "^1.0.0", + "cli-cursor": "^2.1.0", + "cli-width": "^2.0.0", + "external-editor": "^2.0.1", + "figures": "^2.0.0", + "lodash": "^4.3.0", + "mute-stream": "0.0.7", + "run-async": "^2.2.0", + "rx": "^4.1.0", + "string-width": "^2.0.0", + "strip-ansi": "^3.0.0", + "through": "^2.3.6" + } + }, + "node_modules/opencollective/node_modules/is-fullwidth-code-point": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz", + "integrity": "sha512-VHskAKYM8RfSFXwee5t5cbN5PZeq1Wrh6qd5bkyiXIf6UQcN6w/A0eXM9r6t8d+GYOh+o6ZhiEnb88LN/Y8m2w==", + "dev": true, + "engines": { + "node": ">=4" + } + }, + "node_modules/opencollective/node_modules/mimic-fn": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-1.2.0.tgz", + "integrity": "sha512-jf84uxzwiuiIVKiOLpfYk7N46TSy8ubTonmneY9vrpHNAnp0QBt2BxWV9dO3/j+BoVAb+a5G6YDPW3M5HOdMWQ==", + "dev": true, + "engines": { + "node": ">=4" + } + }, + "node_modules/opencollective/node_modules/minimist": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.0.tgz", + "integrity": "sha512-7Wl+Jz+IGWuSdgsQEJ4JunV0si/iMhg42MnQQG6h1R6TNeVenp4U9x5CC5v/gYqz/fENLQITAWXidNtVL0NNbw==", + "dev": true + }, + "node_modules/opencollective/node_modules/mute-stream": { + "version": "0.0.7", + "resolved": "https://registry.npmjs.org/mute-stream/-/mute-stream-0.0.7.tgz", + "integrity": "sha512-r65nCZhrbXXb6dXOACihYApHw2Q6pV0M3V0PSxd74N0+D8nzAdEAITq2oAjA1jVnKI+tGvEBUpqiMh0+rW6zDQ==", + "dev": true + }, + "node_modules/opencollective/node_modules/node-fetch": { + "version": "1.6.3", + "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-1.6.3.tgz", + "integrity": "sha512-BDxbhLHXFFFvilHjh9xihcDyPkXQ+kjblxnl82zAX41xUYSNvuRpFRznmldR9+OKu+p+ULZ7hNoyunlLB5ecUA==", + "dev": true, + "dependencies": { + "encoding": "^0.1.11", + "is-stream": "^1.0.1" + } + }, + "node_modules/opencollective/node_modules/onetime": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/onetime/-/onetime-2.0.1.tgz", + "integrity": "sha512-oyyPpiMaKARvvcgip+JV+7zci5L8D1W9RZIz2l1o08AM3pfspitVWnPt3mzHcBPp12oYMTy0pqrFs/C+m3EwsQ==", + "dev": true, + "dependencies": { + "mimic-fn": "^1.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/opencollective/node_modules/restore-cursor": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/restore-cursor/-/restore-cursor-2.0.0.tgz", + "integrity": "sha512-6IzJLuGi4+R14vwagDHX+JrXmPVtPpn4mffDJ1UdR7/Edm87fl6yi8mMBIVvFtJaNTUvjughmW4hwLhRG7gC1Q==", + "dev": true, + "dependencies": { + "onetime": "^2.0.0", + "signal-exit": "^3.0.2" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/opencollective/node_modules/string-width": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-2.1.1.tgz", + "integrity": "sha512-nOqH59deCq9SRHlxq1Aw85Jnt4w6KvLKqWVik6oA9ZklXLNIOlqg4F2yrT1MVaTjAqvVwdfeZ7w7aCvJD7ugkw==", + "dev": true, + "dependencies": { + "is-fullwidth-code-point": "^2.0.0", + "strip-ansi": "^4.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/opencollective/node_modules/string-width/node_modules/ansi-regex": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-3.0.1.tgz", + "integrity": "sha512-+O9Jct8wf++lXxxFc4hc8LsjaSq0HFzzL7cVsw8pRDIPdjKD2mT4ytDZlLuSBZ4cLKZFXIrMGO7DbQCtMJJMKw==", + "dev": true, + "engines": { + "node": ">=4" + } + }, + "node_modules/opencollective/node_modules/string-width/node_modules/strip-ansi": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-4.0.0.tgz", + "integrity": "sha512-4XaJ2zQdCzROZDivEVIDPkcQn8LMFSa8kj8Gxb/Lnwzv9A8VctNZ+lfivC/sV3ivW8ElJTERXZoPBRrZKkNKow==", + "dev": true, + "dependencies": { + "ansi-regex": "^3.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/opencollective/node_modules/strip-ansi": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz", + "integrity": "sha512-VhumSSbBqDTP8p2ZLKj40UjBCV4+v8bUSEpUb4KjRgWk9pbqGF4REFj6KEagidb2f/M6AzC0EmFyDNGaw9OCzg==", + "dev": true, + "dependencies": { + "ansi-regex": "^2.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/opencollective/node_modules/supports-color": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz", + "integrity": "sha512-KKNVtd6pCYgPIKU4cp2733HWYCpplQhddZLBUryaAHou723x+FRzQ5Df824Fj+IyyuiQTRoub4SnIFfIcrp70g==", + "dev": true, + "engines": { + "node": ">=0.8.0" + } + }, + "node_modules/opn": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/opn/-/opn-4.0.2.tgz", + "integrity": "sha512-iPBWbPP4OEOzR1xfhpGLDh+ypKBOygunZhM9jBtA7FS5sKjEiMZw0EFb82hnDOmTZX90ZWLoZKUza4cVt8MexA==", + "dev": true, + "dependencies": { + "object-assign": "^4.0.1", + "pinkie-promise": "^2.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/ora": { + "version": "5.4.1", + "resolved": "https://registry.npmjs.org/ora/-/ora-5.4.1.tgz", + "integrity": "sha512-5b6Y85tPxZZ7QytO+BQzysW31HJku27cRIlkbAXaNx+BdcVi+LlRFmVXzeF6a7JCwJpyw5c4b+YSVImQIrBpuQ==", + "dependencies": { + "bl": "^4.1.0", + "chalk": "^4.1.0", + "cli-cursor": "^3.1.0", + "cli-spinners": "^2.5.0", + "is-interactive": "^1.0.0", + "is-unicode-supported": "^0.1.0", + "log-symbols": "^4.1.0", + "strip-ansi": "^6.0.0", + "wcwidth": "^1.0.1" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/ory-prettier-styles": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/ory-prettier-styles/-/ory-prettier-styles-1.3.0.tgz", + "integrity": "sha512-Vfn0G6CyLaadwcCamwe1SQCf37ZQfBDgMrhRI70dE/2fbE3Q43/xu7K5c32I5FGt/EliroWty5yBjmdkj0eWug==", + "dev": true + }, + "node_modules/os-homedir": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/os-homedir/-/os-homedir-1.0.2.tgz", + "integrity": "sha512-B5JU3cabzk8c67mRRd3ECmROafjYMXbuzlwtqdM8IbS8ktlTix8aFGb2bAGKrSRIlnfKwovGUUr72JUPyOb6kQ==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/os-tmpdir": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/os-tmpdir/-/os-tmpdir-1.0.2.tgz", + "integrity": "sha512-D2FR03Vir7FIu45XBY20mTb+/ZSWB00sjU9jdQXt83gDrI4Ztz5Fs7/yy74g2N5SVQY4xY1qDr4rNddwYRVX0g==", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/osenv": { + "version": "0.1.5", + "resolved": "https://registry.npmjs.org/osenv/-/osenv-0.1.5.tgz", + "integrity": "sha512-0CWcCECdMVc2Rw3U5w9ZjqX6ga6ubk1xDVKxtBQPK7wis/0F2r9T6k4ydGYhecl7YUBxBVxhL5oisPsNxAPe2g==", + "dev": true, + "dependencies": { + "os-homedir": "^1.0.0", + "os-tmpdir": "^1.0.0" + } + }, + "node_modules/parse-entities": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/parse-entities/-/parse-entities-2.0.0.tgz", + "integrity": "sha512-kkywGpCcRYhqQIchaWqZ875wzpS/bMKhz5HnN3p7wveJTkTtyAB/AlnS0f8DFSqYW1T82t6yEAkEcB+A1I3MbQ==", + "dev": true, + "dependencies": { + "character-entities": "^1.0.0", + "character-entities-legacy": "^1.0.0", + "character-reference-invalid": "^1.0.0", + "is-alphanumerical": "^1.0.0", + "is-decimal": "^1.0.0", + "is-hexadecimal": "^1.0.0" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/path-is-absolute": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", + "integrity": "sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/path-parse": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz", + "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==", + "dev": true + }, + "node_modules/path-to-regexp": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-3.2.0.tgz", + "integrity": "sha512-jczvQbCUS7XmS7o+y1aEO9OBVFeZBQ1MDSEqmO7xSoPgOPoowY/SxLpZ6Vh97/8qHZOteiCKb7gkG9gA2ZUxJA==" + }, + "node_modules/path-type": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/path-type/-/path-type-4.0.0.tgz", + "integrity": "sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/picomatch": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz", + "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==", + "dev": true, + "engines": { + "node": ">=8.6" + }, + "funding": { + "url": "https://github.com/sponsors/jonschlinkert" + } + }, + "node_modules/pinkie": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/pinkie/-/pinkie-2.0.4.tgz", + "integrity": "sha512-MnUuEycAemtSaeFSjXKW/aroV7akBbY+Sv+RkyqFjgAe73F+MR0TBWKBRDkmfWq/HiFmdavfZ1G7h4SPZXaCSg==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/pinkie-promise": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/pinkie-promise/-/pinkie-promise-2.0.1.tgz", + "integrity": "sha512-0Gni6D4UcLTbv9c57DfxDGdr41XfgUjqWZu492f0cIGr16zDU06BWP/RAEvOuo7CQ0CNjHaLlM59YJJFm3NWlw==", + "dev": true, + "dependencies": { + "pinkie": "^2.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/prettier": { + "version": "2.7.1", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.7.1.tgz", + "integrity": "sha512-ujppO+MkdPqoVINuDFDRLClm7D78qbDt0/NR+wp5FqEZOoTNAjPHWj17QRhu7geIHJfcNhRk1XVQmF8Bp3ye+g==", + "dev": true, + "bin": { + "prettier": "bin-prettier.js" }, "engines": { "node": ">=10.13.0" @@ -2123,6 +2751,44 @@ } ] }, + "node_modules/read-installed": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/read-installed/-/read-installed-4.0.3.tgz", + "integrity": "sha512-O03wg/IYuV/VtnK2h/KXEt9VIbMUFbk3ERG0Iu4FhLZw0EP0T9znqrYDGn6ncbEsXUFaUjiVAWXHzxwt3lhRPQ==", + "dev": true, + "dependencies": { + "debuglog": "^1.0.1", + "read-package-json": "^2.0.0", + "readdir-scoped-modules": "^1.0.0", + "semver": "2 || 3 || 4 || 5", + "slide": "~1.1.3", + "util-extend": "^1.0.1" + }, + "optionalDependencies": { + "graceful-fs": "^4.1.2" + } + }, + "node_modules/read-installed/node_modules/semver": { + "version": "5.7.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", + "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", + "dev": true, + "bin": { + "semver": "bin/semver" + } + }, + "node_modules/read-package-json": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/read-package-json/-/read-package-json-2.1.2.tgz", + "integrity": "sha512-D1KmuLQr6ZSJS0tW8hf3WGpRlwszJOXZ3E8Yd/DNRaM5d+1wVRZdHlpGBLAuovjr28LbWvjpWkBHMxpRGGjzNA==", + "dev": true, + "dependencies": { + "glob": "^7.1.1", + "json-parse-even-better-errors": "^2.3.0", + "normalize-package-data": "^2.0.0", + "npm-normalize-package-bin": "^1.0.0" + } + }, "node_modules/readable-stream": { "version": "3.6.0", "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz", @@ -2136,11 +2802,29 @@ "node": ">= 6" } }, + "node_modules/readdir-scoped-modules": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/readdir-scoped-modules/-/readdir-scoped-modules-1.1.0.tgz", + "integrity": "sha512-asaikDeqAQg7JifRsZn1NJZXo9E+VwlyCfbkZhwyISinqk5zNS6266HS5kah6P0SaQKGF6SkNnZVHUzHFYxYDw==", + "dev": true, + "dependencies": { + "debuglog": "^1.0.1", + "dezalgo": "^1.0.0", + "graceful-fs": "^4.1.2", + "once": "^1.3.0" + } + }, "node_modules/reflect-metadata": { "version": "0.1.13", "resolved": "https://registry.npmjs.org/reflect-metadata/-/reflect-metadata-0.1.13.tgz", "integrity": "sha512-Ts1Y/anZELhSsjMcU605fU9RE4Oi3p5ORujwbIKXfWa+0Zxs510Qrmrce5/Jowq3cHSZSJqBjypxmHarc+vEWg==" }, + "node_modules/regenerator-runtime": { + "version": "0.10.5", + "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.10.5.tgz", + "integrity": "sha512-02YopEIhAgiBHWeoTiA8aitHDt8z6w+rQqNuIftlM+ZtvSl/brTouaU7DW6GO/cHtvxJvS4Hwv2ibKdxIRi24w==", + "dev": true + }, "node_modules/remark-footnotes": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/remark-footnotes/-/remark-footnotes-3.0.0.tgz", @@ -2213,6 +2897,23 @@ "node": ">=0.10.0" } }, + "node_modules/resolve": { + "version": "1.22.1", + "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.1.tgz", + "integrity": "sha512-nBpuuYuY5jFsli/JIs1oldw6fOQCBioohqWZg/2hiaOybXOft4lonv85uDOKXdf8rhyK159cxU5cDcK/NKk8zw==", + "dev": true, + "dependencies": { + "is-core-module": "^2.9.0", + "path-parse": "^1.0.7", + "supports-preserve-symlinks-flag": "^1.0.0" + }, + "bin": { + "resolve": "bin/resolve" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, "node_modules/restore-cursor": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/restore-cursor/-/restore-cursor-3.1.0.tgz", @@ -2280,6 +2981,12 @@ "queue-microtask": "^1.2.2" } }, + "node_modules/rx": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/rx/-/rx-4.1.0.tgz", + "integrity": "sha512-CiaiuN6gapkdl+cZUr67W6I8jquN4lkak3vtIsIWCl4XIPP8ffsoyN6/+PuGXnQy8Cu8W2y9Xxh31Rq4M6wUug==", + "dev": true + }, "node_modules/rxjs": { "version": "7.5.5", "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-7.5.5.tgz", @@ -2350,6 +3057,15 @@ "node": ">=8" } }, + "node_modules/slide": { + "version": "1.1.6", + "resolved": "https://registry.npmjs.org/slide/-/slide-1.1.6.tgz", + "integrity": "sha512-NwrtjCg+lZoqhFU8fOwl4ay2ei8PaqCBOUV3/ektPY9trO1yQ1oXEfmHAhKArUVUr/hOHvy5f6AdP17dCM0zMw==", + "dev": true, + "engines": { + "node": "*" + } + }, "node_modules/sort-object-keys": { "version": "1.1.3", "resolved": "https://registry.npmjs.org/sort-object-keys/-/sort-object-keys-1.1.3.tgz", @@ -2386,6 +3102,66 @@ "resolved": "https://registry.npmjs.org/spawn-command/-/spawn-command-0.0.2-1.tgz", "integrity": "sha512-n98l9E2RMSJ9ON1AKisHzz7V42VDiBQGY6PB1BwRglz99wpVsSuGzQ+jOi6lFXBGVTCrRpltvjm+/XA+tpeJrg==" }, + "node_modules/spdx-compare": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/spdx-compare/-/spdx-compare-1.0.0.tgz", + "integrity": "sha512-C1mDZOX0hnu0ep9dfmuoi03+eOdDoz2yvK79RxbcrVEG1NO1Ph35yW102DHWKN4pk80nwCgeMmSY5L25VE4D9A==", + "dev": true, + "dependencies": { + "array-find-index": "^1.0.2", + "spdx-expression-parse": "^3.0.0", + "spdx-ranges": "^2.0.0" + } + }, + "node_modules/spdx-correct": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/spdx-correct/-/spdx-correct-3.1.1.tgz", + "integrity": "sha512-cOYcUWwhCuHCXi49RhFRCyJEK3iPj1Ziz9DpViV3tbZOwXD49QzIN3MpOLJNxh2qwq2lJJZaKMVw9qNi4jTC0w==", + "dev": true, + "dependencies": { + "spdx-expression-parse": "^3.0.0", + "spdx-license-ids": "^3.0.0" + } + }, + "node_modules/spdx-exceptions": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/spdx-exceptions/-/spdx-exceptions-2.3.0.tgz", + "integrity": "sha512-/tTrYOC7PPI1nUAgx34hUpqXuyJG+DTHJTnIULG4rDygi4xu/tfgmq1e1cIRwRzwZgo4NLySi+ricLkZkw4i5A==", + "dev": true + }, + "node_modules/spdx-expression-parse": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/spdx-expression-parse/-/spdx-expression-parse-3.0.1.tgz", + "integrity": "sha512-cbqHunsQWnJNE6KhVSMsMeH5H/L9EpymbzqTQ3uLwNCLZ1Q481oWaofqH7nO6V07xlXwY6PhQdQ2IedWx/ZK4Q==", + "dev": true, + "dependencies": { + "spdx-exceptions": "^2.1.0", + "spdx-license-ids": "^3.0.0" + } + }, + "node_modules/spdx-license-ids": { + "version": "3.0.12", + "resolved": "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.12.tgz", + "integrity": "sha512-rr+VVSXtRhO4OHbXUiAF7xW3Bo9DuuF6C5jH+q/x15j2jniycgKbxU09Hr0WqlSLUs4i4ltHGXqTe7VHclYWyA==", + "dev": true + }, + "node_modules/spdx-ranges": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/spdx-ranges/-/spdx-ranges-2.1.1.tgz", + "integrity": "sha512-mcdpQFV7UDAgLpXEE/jOMqvK4LBoO0uTQg0uvXUewmEFhpiZx5yJSZITHB8w1ZahKdhfZqP5GPEOKLyEq5p8XA==", + "dev": true + }, + "node_modules/spdx-satisfies": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/spdx-satisfies/-/spdx-satisfies-4.0.1.tgz", + "integrity": "sha512-WVzZ/cXAzoNmjCWiEluEA3BjHp5tiUmmhn9MK+X0tBbR9sOqtC6UQwmgCNrAIZvNlMuBUYAaHYfb2oqlF9SwKA==", + "dev": true, + "dependencies": { + "spdx-compare": "^1.0.0", + "spdx-expression-parse": "^3.0.0", + "spdx-ranges": "^2.0.0" + } + }, "node_modules/string_decoder": { "version": "1.3.0", "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz", @@ -2434,6 +3210,18 @@ "node": ">=8" } }, + "node_modules/supports-preserve-symlinks-flag": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz", + "integrity": "sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==", + "dev": true, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, "node_modules/tar": { "version": "6.1.11", "resolved": "https://registry.npmjs.org/tar/-/tar-6.1.11.tgz", @@ -2497,6 +3285,15 @@ "tree-kill": "cli.js" } }, + "node_modules/treeify": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/treeify/-/treeify-1.1.0.tgz", + "integrity": "sha512-1m4RA7xVAJrSGrrXGs0L3YTwyvBs2S8PbRHaLZAkFw7JR8oIFwYtysxlBZhYIa7xSyiYJKZ3iGrrk55cGA3i9A==", + "dev": true, + "engines": { + "node": ">=0.6" + } + }, "node_modules/trough": { "version": "1.0.5", "resolved": "https://registry.npmjs.org/trough/-/trough-1.0.5.tgz", @@ -2615,6 +3412,12 @@ "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", "integrity": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==" }, + "node_modules/util-extend": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/util-extend/-/util-extend-1.0.3.tgz", + "integrity": "sha512-mLs5zAK+ctllYBj+iAQvlDCwoxU/WDOUaJkcFudeiAX6OajC6BKXJUa9a+tbtkC11dz2Ufb7h0lyvIOVn4LADA==", + "dev": true + }, "node_modules/uuid": { "version": "8.3.2", "resolved": "https://registry.npmjs.org/uuid/-/uuid-8.3.2.tgz", @@ -2623,6 +3426,16 @@ "uuid": "dist/bin/uuid" } }, + "node_modules/validate-npm-package-license": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/validate-npm-package-license/-/validate-npm-package-license-3.0.4.tgz", + "integrity": "sha512-DpKm2Ui/xN7/HQKCtpZxoRWBhZ9Z0kqtygG8XCgNQ8ZlDnxuQmWhj566j8fN4Cu3/JmbhsDo7fcAJq4s9h27Ew==", + "dev": true, + "dependencies": { + "spdx-correct": "^3.0.0", + "spdx-expression-parse": "^3.0.0" + } + }, "node_modules/vfile": { "version": "4.2.1", "resolved": "https://registry.npmjs.org/vfile/-/vfile-4.2.1.tgz", @@ -2988,12 +3801,24 @@ "readable-stream": "^3.6.0" } }, + "array-find-index": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/array-find-index/-/array-find-index-1.0.2.tgz", + "integrity": "sha512-M1HQyIXcBGtVywBt8WVdim+lrNaK7VHp99Qt5pSNziXznKHViIBbXWtfRTpEFpF/c4FdfxNAsCCwPp5phBYJtw==", + "dev": true + }, "array-union": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/array-union/-/array-union-2.1.0.tgz", "integrity": "sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw==", "dev": true }, + "asap": { + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/asap/-/asap-2.0.6.tgz", + "integrity": "sha512-BSHWgDSAiKs50o2Re8ppvp3seVHXSRM44cdSsT9FfNEUUZLOGWVCsiWaRPWM1Znn+mqZ1OfVZ3z3DWEzSp7hRA==", + "dev": true + }, "axios": { "version": "0.26.1", "resolved": "https://registry.npmjs.org/axios/-/axios-0.26.1.tgz", @@ -3002,6 +3827,35 @@ "follow-redirects": "^1.14.8" } }, + "babel-polyfill": { + "version": "6.23.0", + "resolved": "https://registry.npmjs.org/babel-polyfill/-/babel-polyfill-6.23.0.tgz", + "integrity": "sha512-0l7mVU+LrQ2X/ZTUq63T5i3VyR2aTgcRTFmBcD6djQ/Fek6q1A9t5u0F4jZVYHzp78jwWAzGfLpAY1b4/I3lfg==", + "dev": true, + "requires": { + "babel-runtime": "^6.22.0", + "core-js": "^2.4.0", + "regenerator-runtime": "^0.10.0" + } + }, + "babel-runtime": { + "version": "6.26.0", + "resolved": "https://registry.npmjs.org/babel-runtime/-/babel-runtime-6.26.0.tgz", + "integrity": "sha512-ITKNuq2wKlW1fJg9sSW52eepoYgZBggvOAHC0u/CYu/qxQ9EVzThCgR69BnSXLHjy2f7SY5zaQ4yt7H9ZVxY2g==", + "dev": true, + "requires": { + "core-js": "^2.4.0", + "regenerator-runtime": "^0.11.0" + }, + "dependencies": { + "regenerator-runtime": { + "version": "0.11.1", + "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.11.1.tgz", + "integrity": "sha512-MguG95oij0fC3QV3URf4V2SDYGJhJnJGqvIIgdECeODCT98wSWDAJ94SSuVpYQUoTcGUIL6L4yNB7j1DFFHSBg==", + "dev": true + } + } + }, "bail": { "version": "1.0.5", "resolved": "https://registry.npmjs.org/bail/-/bail-1.0.5.tgz", @@ -3220,6 +4074,12 @@ "easy-table": "1.1.0" } }, + "core-js": { + "version": "2.6.12", + "resolved": "https://registry.npmjs.org/core-js/-/core-js-2.6.12.tgz", + "integrity": "sha512-Kb2wC0fvsWfQrgk8HU5lW6U/Lcs8+9aaYcy4ZFc6DDlo4nZ7n70dEgE5rtR0oG6ufKDUnrwfWL1mXR5ljDatrQ==", + "dev": true + }, "date-fns": { "version": "2.28.0", "resolved": "https://registry.npmjs.org/date-fns/-/date-fns-2.28.0.tgz", @@ -3233,6 +4093,12 @@ "ms": "2.1.2" } }, + "debuglog": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/debuglog/-/debuglog-1.0.1.tgz", + "integrity": "sha512-syBZ+rnAK3EgMsH2aYEOLUW7mZSY9Gb+0wUMCFsZvcmiz+HigA0LOcq/HoQqVuGG+EKykunc7QG2bzrponfaSw==", + "dev": true + }, "defaults": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/defaults/-/defaults-1.0.3.tgz", @@ -3263,6 +4129,16 @@ "integrity": "sha512-TLz+x/vEXm/Y7P7wn1EJFNLxYpUD4TgMosxY6fAVJUnJMbupHBOncxyWUG9OpTaH9EBD7uFI5LfEgmMOc54DsA==", "dev": true }, + "dezalgo": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/dezalgo/-/dezalgo-1.0.4.tgz", + "integrity": "sha512-rXSP0bf+5n0Qonsb+SVVfNfIsimO4HEtmnIpPHY8Q1UCzKlQrDMfdobr8nJOOsRgWCyMRqeSBQzmWUMq7zvVig==", + "dev": true, + "requires": { + "asap": "^2.0.0", + "wrappy": "1" + } + }, "dir-glob": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/dir-glob/-/dir-glob-3.0.1.tgz", @@ -3345,6 +4221,26 @@ "integrity": "sha512-73/zxHTjP2N2FQf0J5ngNjxP9LqG2krUshxYaowI8HxZQsiL2pYJc3k9/O93fc5/lCSkZv+bQ5Esk6k6msiSvg==", "dev": true }, + "encoding": { + "version": "0.1.13", + "resolved": "https://registry.npmjs.org/encoding/-/encoding-0.1.13.tgz", + "integrity": "sha512-ETBauow1T35Y/WZMkio9jiM0Z5xjHHmJ4XmjZOq1l/dXz3lr2sRn87nJy20RupqSh1F2m3HHPSp8ShIPQJrJ3A==", + "devOptional": true, + "requires": { + "iconv-lite": "^0.6.2" + }, + "dependencies": { + "iconv-lite": { + "version": "0.6.3", + "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.6.3.tgz", + "integrity": "sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==", + "devOptional": true, + "requires": { + "safer-buffer": ">= 2.1.2 < 3.0.0" + } + } + } + }, "entities": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/entities/-/entities-3.0.1.tgz", @@ -3464,6 +4360,12 @@ "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", "integrity": "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==" }, + "function-bind": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz", + "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==", + "dev": true + }, "gauge": { "version": "3.0.2", "resolved": "https://registry.npmjs.org/gauge/-/gauge-3.0.2.tgz", @@ -3568,6 +4470,32 @@ "wordwrap": "^1.0.0" } }, + "has": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz", + "integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==", + "dev": true, + "requires": { + "function-bind": "^1.1.1" + } + }, + "has-ansi": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/has-ansi/-/has-ansi-2.0.0.tgz", + "integrity": "sha512-C8vBJ8DwUCx19vhm7urhTuUsr4/IyP6l4VzNQDv+ryHQObW3TTTp9yB68WpYgRe2bbaGuZ/se74IqFeVnMnLZg==", + "dev": true, + "requires": { + "ansi-regex": "^2.0.0" + }, + "dependencies": { + "ansi-regex": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz", + "integrity": "sha512-TIGnTpdo+E3+pCyAluZvtED5p5wCqLdezCyhPZzKPcxvFplEt4i+W7OONCKgeZFT3+y5NZZfOOS/Bdcanm1MYA==", + "dev": true + } + } + }, "has-flag": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", @@ -3578,6 +4506,12 @@ "resolved": "https://registry.npmjs.org/has-unicode/-/has-unicode-2.0.1.tgz", "integrity": "sha512-8Rf9Y83NBReMnx0gFzA8JImQACstCYWUplepDa9xprwwtmgEZUF0h/i5xSA625zB/I37EtrswSST6OXxwaaIJQ==" }, + "hosted-git-info": { + "version": "2.8.9", + "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.8.9.tgz", + "integrity": "sha512-mxIDAb9Lsm6DoOJ7xH+5+X4y1LU/4Hi50L9C5sIswK3JzULS4bwk1FvjdBgvYR4bzT4tuUQiC15FE2f5HbLvYw==", + "dev": true + }, "htmlparser2": { "version": "7.2.0", "resolved": "https://registry.npmjs.org/htmlparser2/-/htmlparser2-7.2.0.tgz", @@ -3675,6 +4609,15 @@ "integrity": "sha512-i2R6zNFDwgEHJyQUtJEk0XFi1i0dPFn/oqjK3/vPCcDeJvW5NQ83V8QbicfF1SupOaB0h8ntgBC2YiE7dfyctQ==", "dev": true }, + "is-core-module": { + "version": "2.11.0", + "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.11.0.tgz", + "integrity": "sha512-RRjxlvLDkD1YJwDbroBHMb+cukurkDWNyHx7D3oNB5x9rb5ogcksMC5wHCadcXoo67gVr/+3GFySh3134zi6rw==", + "dev": true, + "requires": { + "has": "^1.0.3" + } + }, "is-decimal": { "version": "1.0.4", "resolved": "https://registry.npmjs.org/is-decimal/-/is-decimal-1.0.4.tgz", @@ -3724,6 +4667,12 @@ "integrity": "sha512-YWnfyRwxL/+SsrWYfOpUtz5b3YD+nyfkHvjbcanzk8zgyO4ASD67uVMRt8k5bM4lLMDnXfriRhOpemw+NfT1eA==", "dev": true }, + "is-stream": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-1.1.0.tgz", + "integrity": "sha512-uQPm8kcs47jx38atAcWTVxyltQYoPT68y9aWYdV6yWXSyW8mzSat0TL6CiWdZeCdF3KrAvpVtnHbTv4RN+rqdQ==", + "dev": true + }, "is-unicode-supported": { "version": "0.1.0", "resolved": "https://registry.npmjs.org/is-unicode-supported/-/is-unicode-supported-0.1.0.tgz", @@ -3734,6 +4683,12 @@ "resolved": "https://registry.npmjs.org/iterare/-/iterare-1.2.1.tgz", "integrity": "sha512-RKYVTCjAnRthyJes037NX/IiqeidgN1xc3j1RjFfECFp28A1GVwK9nA+i0rJPaHqSZwygLzRnFlzUuHFoWWy+Q==" }, + "json-parse-even-better-errors": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz", + "integrity": "sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==", + "dev": true + }, "jsonfile": { "version": "6.1.0", "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.1.0.tgz", @@ -3743,6 +4698,110 @@ "universalify": "^2.0.0" } }, + "license-checker": { + "version": "25.0.1", + "resolved": "https://registry.npmjs.org/license-checker/-/license-checker-25.0.1.tgz", + "integrity": "sha512-mET5AIwl7MR2IAKYYoVBBpV0OnkKQ1xGj2IMMeEFIs42QAkEVjRtFZGWmQ28WeU7MP779iAgOaOy93Mn44mn6g==", + "dev": true, + "requires": { + "chalk": "^2.4.1", + "debug": "^3.1.0", + "mkdirp": "^0.5.1", + "nopt": "^4.0.1", + "read-installed": "~4.0.3", + "semver": "^5.5.0", + "spdx-correct": "^3.0.0", + "spdx-expression-parse": "^3.0.0", + "spdx-satisfies": "^4.0.0", + "treeify": "^1.1.0" + }, + "dependencies": { + "ansi-styles": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", + "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "dev": true, + "requires": { + "color-convert": "^1.9.0" + } + }, + "chalk": { + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", + "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", + "dev": true, + "requires": { + "ansi-styles": "^3.2.1", + "escape-string-regexp": "^1.0.5", + "supports-color": "^5.3.0" + } + }, + "color-convert": { + "version": "1.9.3", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", + "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", + "dev": true, + "requires": { + "color-name": "1.1.3" + } + }, + "color-name": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", + "integrity": "sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==", + "dev": true + }, + "debug": { + "version": "3.2.7", + "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz", + "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==", + "dev": true, + "requires": { + "ms": "^2.1.1" + } + }, + "has-flag": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", + "integrity": "sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw==", + "dev": true + }, + "mkdirp": { + "version": "0.5.6", + "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.6.tgz", + "integrity": "sha512-FP+p8RB8OWpF3YZBCrP5gtADmtXApB5AMLn+vdyA+PyxCjrCs00mjyUozssO33cwDeT3wNGdLxJ5M//YqtHAJw==", + "dev": true, + "requires": { + "minimist": "^1.2.6" + } + }, + "nopt": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/nopt/-/nopt-4.0.3.tgz", + "integrity": "sha512-CvaGwVMztSMJLOeXPrez7fyfObdZqNUK1cPAEzLHrTybIua9pMdmmPR5YwtfNftIOMv3DPUhFaxsZMNTQO20Kg==", + "dev": true, + "requires": { + "abbrev": "1", + "osenv": "^0.1.4" + } + }, + "semver": { + "version": "5.7.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", + "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", + "dev": true + }, + "supports-color": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "dev": true, + "requires": { + "has-flag": "^3.0.0" + } + } + } + }, "lodash": { "version": "4.17.21", "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz", @@ -4089,6 +5148,32 @@ "abbrev": "1" } }, + "normalize-package-data": { + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-2.5.0.tgz", + "integrity": "sha512-/5CMN3T0R4XTj4DcGaexo+roZSdSFW/0AOOTROrjxzCG1wrWXEsGbRKevjlIL+ZDE4sZlJr5ED4YW0yqmkK+eA==", + "dev": true, + "requires": { + "hosted-git-info": "^2.1.4", + "resolve": "^1.10.0", + "semver": "2 || 3 || 4 || 5", + "validate-npm-package-license": "^3.0.1" + }, + "dependencies": { + "semver": { + "version": "5.7.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", + "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", + "dev": true + } + } + }, + "npm-normalize-package-bin": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/npm-normalize-package-bin/-/npm-normalize-package-bin-1.0.1.tgz", + "integrity": "sha512-EPfafl6JL5/rU+ot6P3gRSCpPDW5VmIzX959Ob1+ySFUuuYHWHekXpwdUZcKP5C+DS4GEtdJluwBjnsNDl+fSA==", + "dev": true + }, "npmlog": { "version": "5.0.1", "resolved": "https://registry.npmjs.org/npmlog/-/npmlog-5.0.1.tgz", @@ -4126,6 +5211,220 @@ "mimic-fn": "^2.1.0" } }, + "opencollective": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/opencollective/-/opencollective-1.0.3.tgz", + "integrity": "sha512-YBRI0Qa8+Ui0/STV1qYuPrJm889PT3oCPHMVoL+8Y3nwCffj7PSrB2NlGgrhgBKDujxTjxknHWJ/FiqOsYcIDw==", + "dev": true, + "requires": { + "babel-polyfill": "6.23.0", + "chalk": "1.1.3", + "inquirer": "3.0.6", + "minimist": "1.2.0", + "node-fetch": "1.6.3", + "opn": "4.0.2" + }, + "dependencies": { + "ansi-escapes": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-1.4.0.tgz", + "integrity": "sha512-wiXutNjDUlNEDWHcYH3jtZUhd3c4/VojassD8zHdHCY13xbZy2XbW+NKQwA0tWGBVzDA9qEzYwfoSsWmviidhw==", + "dev": true + }, + "ansi-regex": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz", + "integrity": "sha512-TIGnTpdo+E3+pCyAluZvtED5p5wCqLdezCyhPZzKPcxvFplEt4i+W7OONCKgeZFT3+y5NZZfOOS/Bdcanm1MYA==", + "dev": true + }, + "ansi-styles": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz", + "integrity": "sha512-kmCevFghRiWM7HB5zTPULl4r9bVFSWjz62MhqizDGUrq2NWuNMQyuv4tHHoKJHs69M/MF64lEcHdYIocrdWQYA==", + "dev": true + }, + "chalk": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz", + "integrity": "sha512-U3lRVLMSlsCfjqYPbLyVv11M9CPW4I728d6TCKMAOJueEeB9/8o+eSsMnxPJD+Q+K909sdESg7C+tIkoH6on1A==", + "dev": true, + "requires": { + "ansi-styles": "^2.2.1", + "escape-string-regexp": "^1.0.2", + "has-ansi": "^2.0.0", + "strip-ansi": "^3.0.0", + "supports-color": "^2.0.0" + } + }, + "chardet": { + "version": "0.4.2", + "resolved": "https://registry.npmjs.org/chardet/-/chardet-0.4.2.tgz", + "integrity": "sha512-j/Toj7f1z98Hh2cYo2BVr85EpIRWqUi7rtRSGxh/cqUjqrnJe9l9UE7IUGd2vQ2p+kSHLkSzObQPZPLUC6TQwg==", + "dev": true + }, + "cli-cursor": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/cli-cursor/-/cli-cursor-2.1.0.tgz", + "integrity": "sha512-8lgKz8LmCRYZZQDpRyT2m5rKJ08TnU4tR9FFFW2rxpxR1FzWi4PQ/NfyODchAatHaUgnSPVcx/R5w6NuTBzFiw==", + "dev": true, + "requires": { + "restore-cursor": "^2.0.0" + } + }, + "cli-width": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/cli-width/-/cli-width-2.2.1.tgz", + "integrity": "sha512-GRMWDxpOB6Dgk2E5Uo+3eEBvtOOlimMmpbFiKuLFnQzYDavtLFY3K5ona41jgN/WdRZtG7utuVSVTL4HbZHGkw==", + "dev": true + }, + "external-editor": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/external-editor/-/external-editor-2.2.0.tgz", + "integrity": "sha512-bSn6gvGxKt+b7+6TKEv1ZycHleA7aHhRHyAqJyp5pbUFuYYNIzpZnQDk7AsYckyWdEnTeAnay0aCy2aV6iTk9A==", + "dev": true, + "requires": { + "chardet": "^0.4.0", + "iconv-lite": "^0.4.17", + "tmp": "^0.0.33" + } + }, + "figures": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/figures/-/figures-2.0.0.tgz", + "integrity": "sha512-Oa2M9atig69ZkfwiApY8F2Yy+tzMbazyvqv21R0NsSC8floSOC09BbT1ITWAdoMGQvJ/aZnR1KMwdx9tvHnTNA==", + "dev": true, + "requires": { + "escape-string-regexp": "^1.0.5" + } + }, + "inquirer": { + "version": "3.0.6", + "resolved": "https://registry.npmjs.org/inquirer/-/inquirer-3.0.6.tgz", + "integrity": "sha512-thluxTGBXUGb8DuQcvH9/CM/CrcGyB5xUpWc9x6Slqcq1z/hRr2a6KxUpX4ddRfmbe0hg3E4jTvo5833aWz3BA==", + "dev": true, + "requires": { + "ansi-escapes": "^1.1.0", + "chalk": "^1.0.0", + "cli-cursor": "^2.1.0", + "cli-width": "^2.0.0", + "external-editor": "^2.0.1", + "figures": "^2.0.0", + "lodash": "^4.3.0", + "mute-stream": "0.0.7", + "run-async": "^2.2.0", + "rx": "^4.1.0", + "string-width": "^2.0.0", + "strip-ansi": "^3.0.0", + "through": "^2.3.6" + } + }, + "is-fullwidth-code-point": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz", + "integrity": "sha512-VHskAKYM8RfSFXwee5t5cbN5PZeq1Wrh6qd5bkyiXIf6UQcN6w/A0eXM9r6t8d+GYOh+o6ZhiEnb88LN/Y8m2w==", + "dev": true + }, + "mimic-fn": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-1.2.0.tgz", + "integrity": "sha512-jf84uxzwiuiIVKiOLpfYk7N46TSy8ubTonmneY9vrpHNAnp0QBt2BxWV9dO3/j+BoVAb+a5G6YDPW3M5HOdMWQ==", + "dev": true + }, + "minimist": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.0.tgz", + "integrity": "sha512-7Wl+Jz+IGWuSdgsQEJ4JunV0si/iMhg42MnQQG6h1R6TNeVenp4U9x5CC5v/gYqz/fENLQITAWXidNtVL0NNbw==", + "dev": true + }, + "mute-stream": { + "version": "0.0.7", + "resolved": "https://registry.npmjs.org/mute-stream/-/mute-stream-0.0.7.tgz", + "integrity": "sha512-r65nCZhrbXXb6dXOACihYApHw2Q6pV0M3V0PSxd74N0+D8nzAdEAITq2oAjA1jVnKI+tGvEBUpqiMh0+rW6zDQ==", + "dev": true + }, + "node-fetch": { + "version": "1.6.3", + "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-1.6.3.tgz", + "integrity": "sha512-BDxbhLHXFFFvilHjh9xihcDyPkXQ+kjblxnl82zAX41xUYSNvuRpFRznmldR9+OKu+p+ULZ7hNoyunlLB5ecUA==", + "dev": true, + "requires": { + "encoding": "^0.1.11", + "is-stream": "^1.0.1" + } + }, + "onetime": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/onetime/-/onetime-2.0.1.tgz", + "integrity": "sha512-oyyPpiMaKARvvcgip+JV+7zci5L8D1W9RZIz2l1o08AM3pfspitVWnPt3mzHcBPp12oYMTy0pqrFs/C+m3EwsQ==", + "dev": true, + "requires": { + "mimic-fn": "^1.0.0" + } + }, + "restore-cursor": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/restore-cursor/-/restore-cursor-2.0.0.tgz", + "integrity": "sha512-6IzJLuGi4+R14vwagDHX+JrXmPVtPpn4mffDJ1UdR7/Edm87fl6yi8mMBIVvFtJaNTUvjughmW4hwLhRG7gC1Q==", + "dev": true, + "requires": { + "onetime": "^2.0.0", + "signal-exit": "^3.0.2" + } + }, + "string-width": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-2.1.1.tgz", + "integrity": "sha512-nOqH59deCq9SRHlxq1Aw85Jnt4w6KvLKqWVik6oA9ZklXLNIOlqg4F2yrT1MVaTjAqvVwdfeZ7w7aCvJD7ugkw==", + "dev": true, + "requires": { + "is-fullwidth-code-point": "^2.0.0", + "strip-ansi": "^4.0.0" + }, + "dependencies": { + "ansi-regex": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-3.0.1.tgz", + "integrity": "sha512-+O9Jct8wf++lXxxFc4hc8LsjaSq0HFzzL7cVsw8pRDIPdjKD2mT4ytDZlLuSBZ4cLKZFXIrMGO7DbQCtMJJMKw==", + "dev": true + }, + "strip-ansi": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-4.0.0.tgz", + "integrity": "sha512-4XaJ2zQdCzROZDivEVIDPkcQn8LMFSa8kj8Gxb/Lnwzv9A8VctNZ+lfivC/sV3ivW8ElJTERXZoPBRrZKkNKow==", + "dev": true, + "requires": { + "ansi-regex": "^3.0.0" + } + } + } + }, + "strip-ansi": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz", + "integrity": "sha512-VhumSSbBqDTP8p2ZLKj40UjBCV4+v8bUSEpUb4KjRgWk9pbqGF4REFj6KEagidb2f/M6AzC0EmFyDNGaw9OCzg==", + "dev": true, + "requires": { + "ansi-regex": "^2.0.0" + } + }, + "supports-color": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz", + "integrity": "sha512-KKNVtd6pCYgPIKU4cp2733HWYCpplQhddZLBUryaAHou723x+FRzQ5Df824Fj+IyyuiQTRoub4SnIFfIcrp70g==", + "dev": true + } + } + }, + "opn": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/opn/-/opn-4.0.2.tgz", + "integrity": "sha512-iPBWbPP4OEOzR1xfhpGLDh+ypKBOygunZhM9jBtA7FS5sKjEiMZw0EFb82hnDOmTZX90ZWLoZKUza4cVt8MexA==", + "dev": true, + "requires": { + "object-assign": "^4.0.1", + "pinkie-promise": "^2.0.0" + } + }, "ora": { "version": "5.4.1", "resolved": "https://registry.npmjs.org/ora/-/ora-5.4.1.tgz", @@ -4148,11 +5447,27 @@ "integrity": "sha512-Vfn0G6CyLaadwcCamwe1SQCf37ZQfBDgMrhRI70dE/2fbE3Q43/xu7K5c32I5FGt/EliroWty5yBjmdkj0eWug==", "dev": true }, + "os-homedir": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/os-homedir/-/os-homedir-1.0.2.tgz", + "integrity": "sha512-B5JU3cabzk8c67mRRd3ECmROafjYMXbuzlwtqdM8IbS8ktlTix8aFGb2bAGKrSRIlnfKwovGUUr72JUPyOb6kQ==", + "dev": true + }, "os-tmpdir": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/os-tmpdir/-/os-tmpdir-1.0.2.tgz", "integrity": "sha512-D2FR03Vir7FIu45XBY20mTb+/ZSWB00sjU9jdQXt83gDrI4Ztz5Fs7/yy74g2N5SVQY4xY1qDr4rNddwYRVX0g==" }, + "osenv": { + "version": "0.1.5", + "resolved": "https://registry.npmjs.org/osenv/-/osenv-0.1.5.tgz", + "integrity": "sha512-0CWcCECdMVc2Rw3U5w9ZjqX6ga6ubk1xDVKxtBQPK7wis/0F2r9T6k4ydGYhecl7YUBxBVxhL5oisPsNxAPe2g==", + "dev": true, + "requires": { + "os-homedir": "^1.0.0", + "os-tmpdir": "^1.0.0" + } + }, "parse-entities": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/parse-entities/-/parse-entities-2.0.0.tgz", @@ -4172,6 +5487,12 @@ "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", "integrity": "sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==" }, + "path-parse": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz", + "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==", + "dev": true + }, "path-to-regexp": { "version": "3.2.0", "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-3.2.0.tgz", @@ -4189,6 +5510,21 @@ "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==", "dev": true }, + "pinkie": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/pinkie/-/pinkie-2.0.4.tgz", + "integrity": "sha512-MnUuEycAemtSaeFSjXKW/aroV7akBbY+Sv+RkyqFjgAe73F+MR0TBWKBRDkmfWq/HiFmdavfZ1G7h4SPZXaCSg==", + "dev": true + }, + "pinkie-promise": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/pinkie-promise/-/pinkie-promise-2.0.1.tgz", + "integrity": "sha512-0Gni6D4UcLTbv9c57DfxDGdr41XfgUjqWZu492f0cIGr16zDU06BWP/RAEvOuo7CQ0CNjHaLlM59YJJFm3NWlw==", + "dev": true, + "requires": { + "pinkie": "^2.0.0" + } + }, "prettier": { "version": "2.7.1", "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.7.1.tgz", @@ -4210,6 +5546,41 @@ "integrity": "sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==", "dev": true }, + "read-installed": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/read-installed/-/read-installed-4.0.3.tgz", + "integrity": "sha512-O03wg/IYuV/VtnK2h/KXEt9VIbMUFbk3ERG0Iu4FhLZw0EP0T9znqrYDGn6ncbEsXUFaUjiVAWXHzxwt3lhRPQ==", + "dev": true, + "requires": { + "debuglog": "^1.0.1", + "graceful-fs": "^4.1.2", + "read-package-json": "^2.0.0", + "readdir-scoped-modules": "^1.0.0", + "semver": "2 || 3 || 4 || 5", + "slide": "~1.1.3", + "util-extend": "^1.0.1" + }, + "dependencies": { + "semver": { + "version": "5.7.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", + "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", + "dev": true + } + } + }, + "read-package-json": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/read-package-json/-/read-package-json-2.1.2.tgz", + "integrity": "sha512-D1KmuLQr6ZSJS0tW8hf3WGpRlwszJOXZ3E8Yd/DNRaM5d+1wVRZdHlpGBLAuovjr28LbWvjpWkBHMxpRGGjzNA==", + "dev": true, + "requires": { + "glob": "^7.1.1", + "json-parse-even-better-errors": "^2.3.0", + "normalize-package-data": "^2.0.0", + "npm-normalize-package-bin": "^1.0.0" + } + }, "readable-stream": { "version": "3.6.0", "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz", @@ -4220,11 +5591,29 @@ "util-deprecate": "^1.0.1" } }, + "readdir-scoped-modules": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/readdir-scoped-modules/-/readdir-scoped-modules-1.1.0.tgz", + "integrity": "sha512-asaikDeqAQg7JifRsZn1NJZXo9E+VwlyCfbkZhwyISinqk5zNS6266HS5kah6P0SaQKGF6SkNnZVHUzHFYxYDw==", + "dev": true, + "requires": { + "debuglog": "^1.0.1", + "dezalgo": "^1.0.0", + "graceful-fs": "^4.1.2", + "once": "^1.3.0" + } + }, "reflect-metadata": { "version": "0.1.13", "resolved": "https://registry.npmjs.org/reflect-metadata/-/reflect-metadata-0.1.13.tgz", "integrity": "sha512-Ts1Y/anZELhSsjMcU605fU9RE4Oi3p5ORujwbIKXfWa+0Zxs510Qrmrce5/Jowq3cHSZSJqBjypxmHarc+vEWg==" }, + "regenerator-runtime": { + "version": "0.10.5", + "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.10.5.tgz", + "integrity": "sha512-02YopEIhAgiBHWeoTiA8aitHDt8z6w+rQqNuIftlM+ZtvSl/brTouaU7DW6GO/cHtvxJvS4Hwv2ibKdxIRi24w==", + "dev": true + }, "remark-footnotes": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/remark-footnotes/-/remark-footnotes-3.0.0.tgz", @@ -4275,6 +5664,17 @@ "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz", "integrity": "sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q==" }, + "resolve": { + "version": "1.22.1", + "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.1.tgz", + "integrity": "sha512-nBpuuYuY5jFsli/JIs1oldw6fOQCBioohqWZg/2hiaOybXOft4lonv85uDOKXdf8rhyK159cxU5cDcK/NKk8zw==", + "dev": true, + "requires": { + "is-core-module": "^2.9.0", + "path-parse": "^1.0.7", + "supports-preserve-symlinks-flag": "^1.0.0" + } + }, "restore-cursor": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/restore-cursor/-/restore-cursor-3.1.0.tgz", @@ -4312,6 +5712,12 @@ "queue-microtask": "^1.2.2" } }, + "rx": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/rx/-/rx-4.1.0.tgz", + "integrity": "sha512-CiaiuN6gapkdl+cZUr67W6I8jquN4lkak3vtIsIWCl4XIPP8ffsoyN6/+PuGXnQy8Cu8W2y9Xxh31Rq4M6wUug==", + "dev": true + }, "rxjs": { "version": "7.5.5", "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-7.5.5.tgz", @@ -4361,6 +5767,12 @@ "integrity": "sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==", "dev": true }, + "slide": { + "version": "1.1.6", + "resolved": "https://registry.npmjs.org/slide/-/slide-1.1.6.tgz", + "integrity": "sha512-NwrtjCg+lZoqhFU8fOwl4ay2ei8PaqCBOUV3/ektPY9trO1yQ1oXEfmHAhKArUVUr/hOHvy5f6AdP17dCM0zMw==", + "dev": true + }, "sort-object-keys": { "version": "1.1.3", "resolved": "https://registry.npmjs.org/sort-object-keys/-/sort-object-keys-1.1.3.tgz", @@ -4391,6 +5803,66 @@ "resolved": "https://registry.npmjs.org/spawn-command/-/spawn-command-0.0.2-1.tgz", "integrity": "sha512-n98l9E2RMSJ9ON1AKisHzz7V42VDiBQGY6PB1BwRglz99wpVsSuGzQ+jOi6lFXBGVTCrRpltvjm+/XA+tpeJrg==" }, + "spdx-compare": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/spdx-compare/-/spdx-compare-1.0.0.tgz", + "integrity": "sha512-C1mDZOX0hnu0ep9dfmuoi03+eOdDoz2yvK79RxbcrVEG1NO1Ph35yW102DHWKN4pk80nwCgeMmSY5L25VE4D9A==", + "dev": true, + "requires": { + "array-find-index": "^1.0.2", + "spdx-expression-parse": "^3.0.0", + "spdx-ranges": "^2.0.0" + } + }, + "spdx-correct": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/spdx-correct/-/spdx-correct-3.1.1.tgz", + "integrity": "sha512-cOYcUWwhCuHCXi49RhFRCyJEK3iPj1Ziz9DpViV3tbZOwXD49QzIN3MpOLJNxh2qwq2lJJZaKMVw9qNi4jTC0w==", + "dev": true, + "requires": { + "spdx-expression-parse": "^3.0.0", + "spdx-license-ids": "^3.0.0" + } + }, + "spdx-exceptions": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/spdx-exceptions/-/spdx-exceptions-2.3.0.tgz", + "integrity": "sha512-/tTrYOC7PPI1nUAgx34hUpqXuyJG+DTHJTnIULG4rDygi4xu/tfgmq1e1cIRwRzwZgo4NLySi+ricLkZkw4i5A==", + "dev": true + }, + "spdx-expression-parse": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/spdx-expression-parse/-/spdx-expression-parse-3.0.1.tgz", + "integrity": "sha512-cbqHunsQWnJNE6KhVSMsMeH5H/L9EpymbzqTQ3uLwNCLZ1Q481oWaofqH7nO6V07xlXwY6PhQdQ2IedWx/ZK4Q==", + "dev": true, + "requires": { + "spdx-exceptions": "^2.1.0", + "spdx-license-ids": "^3.0.0" + } + }, + "spdx-license-ids": { + "version": "3.0.12", + "resolved": "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.12.tgz", + "integrity": "sha512-rr+VVSXtRhO4OHbXUiAF7xW3Bo9DuuF6C5jH+q/x15j2jniycgKbxU09Hr0WqlSLUs4i4ltHGXqTe7VHclYWyA==", + "dev": true + }, + "spdx-ranges": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/spdx-ranges/-/spdx-ranges-2.1.1.tgz", + "integrity": "sha512-mcdpQFV7UDAgLpXEE/jOMqvK4LBoO0uTQg0uvXUewmEFhpiZx5yJSZITHB8w1ZahKdhfZqP5GPEOKLyEq5p8XA==", + "dev": true + }, + "spdx-satisfies": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/spdx-satisfies/-/spdx-satisfies-4.0.1.tgz", + "integrity": "sha512-WVzZ/cXAzoNmjCWiEluEA3BjHp5tiUmmhn9MK+X0tBbR9sOqtC6UQwmgCNrAIZvNlMuBUYAaHYfb2oqlF9SwKA==", + "dev": true, + "requires": { + "spdx-compare": "^1.0.0", + "spdx-expression-parse": "^3.0.0", + "spdx-ranges": "^2.0.0" + } + }, "string_decoder": { "version": "1.3.0", "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz", @@ -4432,6 +5904,12 @@ "has-flag": "^4.0.0" } }, + "supports-preserve-symlinks-flag": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz", + "integrity": "sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==", + "dev": true + }, "tar": { "version": "6.1.11", "resolved": "https://registry.npmjs.org/tar/-/tar-6.1.11.tgz", @@ -4483,6 +5961,12 @@ "resolved": "https://registry.npmjs.org/tree-kill/-/tree-kill-1.2.2.tgz", "integrity": "sha512-L0Orpi8qGpRG//Nd+H90vFB+3iHnue1zSSGmNOOCh1GLJ7rUKVwV2HvijphGQS2UmhUZewS9VgvxYIdgr+fG1A==" }, + "treeify": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/treeify/-/treeify-1.1.0.tgz", + "integrity": "sha512-1m4RA7xVAJrSGrrXGs0L3YTwyvBs2S8PbRHaLZAkFw7JR8oIFwYtysxlBZhYIa7xSyiYJKZ3iGrrk55cGA3i9A==", + "dev": true + }, "trough": { "version": "1.0.5", "resolved": "https://registry.npmjs.org/trough/-/trough-1.0.5.tgz", @@ -4566,11 +6050,27 @@ "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", "integrity": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==" }, + "util-extend": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/util-extend/-/util-extend-1.0.3.tgz", + "integrity": "sha512-mLs5zAK+ctllYBj+iAQvlDCwoxU/WDOUaJkcFudeiAX6OajC6BKXJUa9a+tbtkC11dz2Ufb7h0lyvIOVn4LADA==", + "dev": true + }, "uuid": { "version": "8.3.2", "resolved": "https://registry.npmjs.org/uuid/-/uuid-8.3.2.tgz", "integrity": "sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==" }, + "validate-npm-package-license": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/validate-npm-package-license/-/validate-npm-package-license-3.0.4.tgz", + "integrity": "sha512-DpKm2Ui/xN7/HQKCtpZxoRWBhZ9Z0kqtygG8XCgNQ8ZlDnxuQmWhj566j8fN4Cu3/JmbhsDo7fcAJq4s9h27Ew==", + "dev": true, + "requires": { + "spdx-correct": "^3.0.0", + "spdx-expression-parse": "^3.0.0" + } + }, "vfile": { "version": "4.2.1", "resolved": "https://registry.npmjs.org/vfile/-/vfile-4.2.1.tgz", diff --git a/package.json b/package.json index 291173c61..953111df1 100644 --- a/package.json +++ b/package.json @@ -18,6 +18,8 @@ }, "devDependencies": { "doctoc": "^2.0.1", + "license-checker": "^25.0.1", + "opencollective": "^1.0.3", "ory-prettier-styles": "^1.2.0", "prettier": "2.7.1", "prettier-plugin-packagejson": "^2.2.18" From 16d671784ed28f8e9f620c73d3891b2f7c8210c1 Mon Sep 17 00:00:00 2001 From: aeneasr <3372410+aeneasr@users.noreply.github.com> Date: Wed, 2 Nov 2022 11:37:06 +0000 Subject: [PATCH 15/25] chore: update repository templates to https://github.com/ory/meta/commit/d3f8710e356fb833d4bd71b4ba19d062df2ea89e --- .github/workflows/format.yml | 3 +++ package-lock.json | 8 ++++---- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/format.yml b/.github/workflows/format.yml index a7a720ebc..acf5b2110 100644 --- a/.github/workflows/format.yml +++ b/.github/workflows/format.yml @@ -1,3 +1,6 @@ +# AUTO-GENERATED, DO NOT EDIT! +# Please edit the original at https://github.com/ory/meta/blob/master/templates/repository/common/.github/workflows/format.yml + name: Format on: diff --git a/package-lock.json b/package-lock.json index fa8cd67ea..f74d57b80 100644 --- a/package-lock.json +++ b/package-lock.json @@ -926,7 +926,7 @@ "version": "0.1.13", "resolved": "https://registry.npmjs.org/encoding/-/encoding-0.1.13.tgz", "integrity": "sha512-ETBauow1T35Y/WZMkio9jiM0Z5xjHHmJ4XmjZOq1l/dXz3lr2sRn87nJy20RupqSh1F2m3HHPSp8ShIPQJrJ3A==", - "devOptional": true, + "dev": true, "dependencies": { "iconv-lite": "^0.6.2" } @@ -935,7 +935,7 @@ "version": "0.6.3", "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.6.3.tgz", "integrity": "sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==", - "devOptional": true, + "dev": true, "dependencies": { "safer-buffer": ">= 2.1.2 < 3.0.0" }, @@ -4225,7 +4225,7 @@ "version": "0.1.13", "resolved": "https://registry.npmjs.org/encoding/-/encoding-0.1.13.tgz", "integrity": "sha512-ETBauow1T35Y/WZMkio9jiM0Z5xjHHmJ4XmjZOq1l/dXz3lr2sRn87nJy20RupqSh1F2m3HHPSp8ShIPQJrJ3A==", - "devOptional": true, + "dev": true, "requires": { "iconv-lite": "^0.6.2" }, @@ -4234,7 +4234,7 @@ "version": "0.6.3", "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.6.3.tgz", "integrity": "sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==", - "devOptional": true, + "dev": true, "requires": { "safer-buffer": ">= 2.1.2 < 3.0.0" } From 11090f61f19f80fec42dbb0f5a1d4e75b21f9c9f Mon Sep 17 00:00:00 2001 From: ory-bot <60093411+ory-bot@users.noreply.github.com> Date: Wed, 12 Oct 2022 20:46:56 +0000 Subject: [PATCH 16/25] autogen: build buf --- proto/ory/keto/opl/v1alpha1/syntax_service_pb.js | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/proto/ory/keto/opl/v1alpha1/syntax_service_pb.js b/proto/ory/keto/opl/v1alpha1/syntax_service_pb.js index fd530a99f..d507711c2 100644 --- a/proto/ory/keto/opl/v1alpha1/syntax_service_pb.js +++ b/proto/ory/keto/opl/v1alpha1/syntax_service_pb.js @@ -13,13 +13,7 @@ var jspb = require('google-protobuf'); var goog = jspb; -var global = - (typeof globalThis !== 'undefined' && globalThis) || - (typeof window !== 'undefined' && window) || - (typeof global !== 'undefined' && global) || - (typeof self !== 'undefined' && self) || - (function () { return this; }).call(null) || - Function('return this')(); +var global = (function() { return this || window || global || self || Function('return this')(); }).call(null); goog.exportSymbol('proto.ory.keto.opl.v1alpha1.CheckRequest', null, global); goog.exportSymbol('proto.ory.keto.opl.v1alpha1.CheckResponse', null, global); From d5787ca8fcc87409589609bd7197f3aa756f68af Mon Sep 17 00:00:00 2001 From: ory-bot <60093411+ory-bot@users.noreply.github.com> Date: Wed, 2 Nov 2022 11:14:04 +0000 Subject: [PATCH 17/25] autogen: build buf --- proto/ory/keto/opl/v1alpha1/syntax_service_pb.js | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/proto/ory/keto/opl/v1alpha1/syntax_service_pb.js b/proto/ory/keto/opl/v1alpha1/syntax_service_pb.js index d507711c2..fd530a99f 100644 --- a/proto/ory/keto/opl/v1alpha1/syntax_service_pb.js +++ b/proto/ory/keto/opl/v1alpha1/syntax_service_pb.js @@ -13,7 +13,13 @@ var jspb = require('google-protobuf'); var goog = jspb; -var global = (function() { return this || window || global || self || Function('return this')(); }).call(null); +var global = + (typeof globalThis !== 'undefined' && globalThis) || + (typeof window !== 'undefined' && window) || + (typeof global !== 'undefined' && global) || + (typeof self !== 'undefined' && self) || + (function () { return this; }).call(null) || + Function('return this')(); goog.exportSymbol('proto.ory.keto.opl.v1alpha1.CheckRequest', null, global); goog.exportSymbol('proto.ory.keto.opl.v1alpha1.CheckResponse', null, global); From 2ef497682b45567afa4eeb563dca5a416027fab3 Mon Sep 17 00:00:00 2001 From: Kevin Goslar Date: Wed, 2 Nov 2022 07:28:58 -0400 Subject: [PATCH 18/25] chore: license checker (#1098) --- package-lock.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/package-lock.json b/package-lock.json index f74d57b80..fa8cd67ea 100644 --- a/package-lock.json +++ b/package-lock.json @@ -926,7 +926,7 @@ "version": "0.1.13", "resolved": "https://registry.npmjs.org/encoding/-/encoding-0.1.13.tgz", "integrity": "sha512-ETBauow1T35Y/WZMkio9jiM0Z5xjHHmJ4XmjZOq1l/dXz3lr2sRn87nJy20RupqSh1F2m3HHPSp8ShIPQJrJ3A==", - "dev": true, + "devOptional": true, "dependencies": { "iconv-lite": "^0.6.2" } @@ -935,7 +935,7 @@ "version": "0.6.3", "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.6.3.tgz", "integrity": "sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==", - "dev": true, + "devOptional": true, "dependencies": { "safer-buffer": ">= 2.1.2 < 3.0.0" }, @@ -4225,7 +4225,7 @@ "version": "0.1.13", "resolved": "https://registry.npmjs.org/encoding/-/encoding-0.1.13.tgz", "integrity": "sha512-ETBauow1T35Y/WZMkio9jiM0Z5xjHHmJ4XmjZOq1l/dXz3lr2sRn87nJy20RupqSh1F2m3HHPSp8ShIPQJrJ3A==", - "dev": true, + "devOptional": true, "requires": { "iconv-lite": "^0.6.2" }, @@ -4234,7 +4234,7 @@ "version": "0.6.3", "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.6.3.tgz", "integrity": "sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==", - "dev": true, + "devOptional": true, "requires": { "safer-buffer": ">= 2.1.2 < 3.0.0" } From 616460d57e91baa514836059991f0316adeb101c Mon Sep 17 00:00:00 2001 From: Kevin Goslar Date: Wed, 2 Nov 2022 16:18:50 -0400 Subject: [PATCH 19/25] chore: remove format header (#1105) --- .github/workflows/format.yml | 3 --- 1 file changed, 3 deletions(-) diff --git a/.github/workflows/format.yml b/.github/workflows/format.yml index acf5b2110..a7a720ebc 100644 --- a/.github/workflows/format.yml +++ b/.github/workflows/format.yml @@ -1,6 +1,3 @@ -# AUTO-GENERATED, DO NOT EDIT! -# Please edit the original at https://github.com/ory/meta/blob/master/templates/repository/common/.github/workflows/format.yml - name: Format on: From a085e0b66f1cb171c4152f228c395a266007a608 Mon Sep 17 00:00:00 2001 From: ory-bot <60093411+ory-bot@users.noreply.github.com> Date: Wed, 12 Oct 2022 20:46:56 +0000 Subject: [PATCH 20/25] autogen: build buf --- proto/ory/keto/opl/v1alpha1/syntax_service_pb.js | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/proto/ory/keto/opl/v1alpha1/syntax_service_pb.js b/proto/ory/keto/opl/v1alpha1/syntax_service_pb.js index fd530a99f..d507711c2 100644 --- a/proto/ory/keto/opl/v1alpha1/syntax_service_pb.js +++ b/proto/ory/keto/opl/v1alpha1/syntax_service_pb.js @@ -13,13 +13,7 @@ var jspb = require('google-protobuf'); var goog = jspb; -var global = - (typeof globalThis !== 'undefined' && globalThis) || - (typeof window !== 'undefined' && window) || - (typeof global !== 'undefined' && global) || - (typeof self !== 'undefined' && self) || - (function () { return this; }).call(null) || - Function('return this')(); +var global = (function() { return this || window || global || self || Function('return this')(); }).call(null); goog.exportSymbol('proto.ory.keto.opl.v1alpha1.CheckRequest', null, global); goog.exportSymbol('proto.ory.keto.opl.v1alpha1.CheckResponse', null, global); From 411b1fee2cc6f09f05e3fc4efb10e20f2b36832c Mon Sep 17 00:00:00 2001 From: ory-bot <60093411+ory-bot@users.noreply.github.com> Date: Wed, 2 Nov 2022 11:14:04 +0000 Subject: [PATCH 21/25] autogen: build buf --- proto/ory/keto/opl/v1alpha1/syntax_service_pb.js | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/proto/ory/keto/opl/v1alpha1/syntax_service_pb.js b/proto/ory/keto/opl/v1alpha1/syntax_service_pb.js index d507711c2..fd530a99f 100644 --- a/proto/ory/keto/opl/v1alpha1/syntax_service_pb.js +++ b/proto/ory/keto/opl/v1alpha1/syntax_service_pb.js @@ -13,7 +13,13 @@ var jspb = require('google-protobuf'); var goog = jspb; -var global = (function() { return this || window || global || self || Function('return this')(); }).call(null); +var global = + (typeof globalThis !== 'undefined' && globalThis) || + (typeof window !== 'undefined' && window) || + (typeof global !== 'undefined' && global) || + (typeof self !== 'undefined' && self) || + (function () { return this; }).call(null) || + Function('return this')(); goog.exportSymbol('proto.ory.keto.opl.v1alpha1.CheckRequest', null, global); goog.exportSymbol('proto.ory.keto.opl.v1alpha1.CheckResponse', null, global); From b042609388b16e2f59b26e40e417a973fe065609 Mon Sep 17 00:00:00 2001 From: Kevin Goslar Date: Wed, 2 Nov 2022 15:52:07 -0500 Subject: [PATCH 22/25] chore: license headers --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 21cd58987..158321037 100644 --- a/Makefile +++ b/Makefile @@ -167,7 +167,7 @@ licenses: .bin/licenses node_modules # checks open-source licenses curl https://raw.githubusercontent.com/ory/ci/master/licenses/install | sh .bin/ory: Makefile - curl https://raw.githubusercontent.com/ory/meta/master/install.sh | bash -s -- -b .bin ory v0.1.44 + curl https://raw.githubusercontent.com/ory/meta/master/install.sh | bash -s -- -b .bin ory v0.1.45 touch .bin/ory node_modules: package-lock.json From f488cab8b0a096d19df6c33f6a9745928fbaca26 Mon Sep 17 00:00:00 2001 From: Kevin Goslar Date: Wed, 2 Nov 2022 16:10:47 -0500 Subject: [PATCH 23/25] chore: license headers --- internal/namespace/namespacehandler/handler.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/internal/namespace/namespacehandler/handler.go b/internal/namespace/namespacehandler/handler.go index 6df611f6f..e573680e2 100644 --- a/internal/namespace/namespacehandler/handler.go +++ b/internal/namespace/namespacehandler/handler.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package namespacehandler import ( From e26c192ee2f157a30ab4415be23f62c2b6d41662 Mon Sep 17 00:00:00 2001 From: Kevin Goslar Date: Thu, 3 Nov 2022 06:12:44 -0500 Subject: [PATCH 24/25] chore: license headers --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 158321037..2c08a6395 100644 --- a/Makefile +++ b/Makefile @@ -167,7 +167,7 @@ licenses: .bin/licenses node_modules # checks open-source licenses curl https://raw.githubusercontent.com/ory/ci/master/licenses/install | sh .bin/ory: Makefile - curl https://raw.githubusercontent.com/ory/meta/master/install.sh | bash -s -- -b .bin ory v0.1.45 + curl https://raw.githubusercontent.com/ory/meta/master/install.sh | bash -s -- -b .bin ory v0.1.47 touch .bin/ory node_modules: package-lock.json From 691ac731141f64dfad4ac0028fe57a750a42aa02 Mon Sep 17 00:00:00 2001 From: Kevin Goslar Date: Thu, 3 Nov 2022 06:21:02 -0500 Subject: [PATCH 25/25] chore: license headers --- cmd/check/root.go | 1 + cmd/check/root_test.go | 1 + cmd/clidoc/main.go | 1 + cmd/client/grpc_client.go | 1 + cmd/client/grpc_client_test.go | 1 + cmd/client/test_helpers.go | 1 + cmd/expand/root.go | 1 + cmd/expand/root_test.go | 1 + cmd/helpers/helpers.go | 1 + cmd/migrate/down.go | 1 + cmd/migrate/migrate_test.go | 1 + cmd/migrate/root.go | 1 + cmd/migrate/status.go | 1 + cmd/migrate/up.go | 1 + cmd/namespace/opl_generate.go | 1 + cmd/namespace/opl_generate_test.go | 1 + cmd/namespace/root.go | 1 + cmd/namespace/validate.go | 1 + cmd/namespace/validate_test.go | 1 + cmd/relationtuple/create.go | 1 + cmd/relationtuple/delete.go | 1 + cmd/relationtuple/delete_all.go | 1 + cmd/relationtuple/delete_all_test.go | 1 + cmd/relationtuple/get.go | 1 + cmd/relationtuple/output.go | 1 + cmd/relationtuple/output_test.go | 1 + cmd/relationtuple/parse.go | 1 + cmd/relationtuple/parse_test.go | 1 + cmd/relationtuple/root.go | 1 + cmd/root.go | 1 + cmd/serve_debug_test.go | 1 + cmd/server/serve.go | 1 + cmd/status/root.go | 1 + cmd/status/root_test.go | 1 + .../expand-api-display-access/00-create-tuples/index.js | 1 + .../expand-api-display-access/00-create-tuples/main.go | 1 + .../expand-api-display-access/01-expand-beach/index.js | 1 + .../expand-api-display-access/01-expand-beach/main.go | 1 + .../expand-api-display-access/99-cleanup/index.js | 1 + .../expand-api-display-access/99-cleanup/main.go | 1 + .../list-api-display-objects/00-create-tuples/index.js | 1 + .../list-api-display-objects/00-create-tuples/main.go | 1 + .../list-api-display-objects/01-list-PM/index.js | 1 + .../list-api-display-objects/01-list-PM/main.go | 1 + .../list-api-display-objects/02-list-coffee-break/index.js | 1 + .../list-api-display-objects/02-list-coffee-break/main.go | 1 + .../list-api-display-objects/99-cleanup/index.js | 1 + .../list-api-display-objects/99-cleanup/main.go | 1 + .../simple-access-check-guide/00-write-direct-access/index.js | 1 + .../simple-access-check-guide/00-write-direct-access/main.go | 1 + .../simple-access-check-guide/01-check-direct-access/index.js | 1 + .../simple-access-check-guide/01-check-direct-access/main.go | 1 + .../simple-access-check-guide/99-cleanup/index.js | 1 + .../simple-access-check-guide/99-cleanup/main.go | 1 + contrib/namespace-type-lib/index.d.ts | 1 + contrib/namespace-type-lib/test.ts | 1 + contrib/rewrites-example/namespaces.keto.ts | 1 + doc.go | 1 + doc_swagger.go | 1 + embedx/schemas.go | 1 + embedx/schemas_test.go | 1 + internal/check/bench_test.go | 1 + internal/check/binop.go | 1 + internal/check/checkgroup/checkgroup_test.go | 1 + internal/check/checkgroup/concurrent_checkgroup.go | 1 + internal/check/checkgroup/definitions.go | 1 + internal/check/checkgroup/membership_string.go | 1 + internal/check/checkgroup/testmain_test.go | 1 + internal/check/checkgroup/workerpool_test.go | 1 + internal/check/engine.go | 1 + internal/check/engine_test.go | 1 + internal/check/handler.go | 1 + internal/check/handler_test.go | 1 + internal/check/performance_test.go | 1 + internal/check/rewrites.go | 1 + internal/check/rewrites_test.go | 1 + internal/check/testmain_test.go | 1 + internal/driver/config/buildinfo.go | 1 + internal/driver/config/namespace_memory.go | 1 + internal/driver/config/namespace_memory_test.go | 1 + internal/driver/config/namespace_watcher.go | 1 + internal/driver/config/namespace_watcher_test.go | 1 + internal/driver/config/opl_config_namespace_watcher.go | 1 + internal/driver/config/provider.go | 1 + internal/driver/config/provider_test.go | 1 + internal/driver/daemon.go | 1 + internal/driver/daemon_test.go | 1 + internal/driver/pop_connection.go | 1 + internal/driver/registry.go | 1 + internal/driver/registry_default.go | 1 + internal/driver/registry_factory.go | 1 + internal/driver/selfsigned_cert_bench_test.go | 1 + internal/e2e/cli_client_test.go | 1 + internal/e2e/full_suit_test.go | 1 + internal/e2e/grpc_client_test.go | 1 + internal/e2e/helpers.go | 1 + internal/e2e/rest_client_test.go | 1 + internal/e2e/sdk_client_test.go | 1 + internal/e2e/testcases_test.go | 1 + internal/e2e/transaction_cases_test.go | 1 + internal/expand/engine.go | 1 + internal/expand/engine_test.go | 1 + internal/expand/handler.go | 1 + internal/expand/handler_test.go | 1 + internal/expand/testhelper.go | 1 + internal/namespace/ast/ast_definitions.go | 1 + internal/namespace/ast/operator_string.go | 1 + internal/namespace/definitions.go | 1 + internal/namespace/namespacehandler/handler.go | 1 + internal/persistence/definitions.go | 1 + internal/persistence/sql/full_test.go | 1 + internal/persistence/sql/migrations/migratest/migration_test.go | 1 + .../sql/migrations/uuidmapping/uuid_mapping_migrator.go | 1 + .../sql/migrations/uuidmapping/uuid_mapping_migrator_test.go | 1 + internal/persistence/sql/pagination_test.go | 1 + internal/persistence/sql/persister.go | 1 + internal/persistence/sql/relationtuples.go | 1 + internal/persistence/sql/relationtuples_test.go | 1 + internal/persistence/sql/uuid_mapping.go | 1 + internal/persistence/sql/uuid_mapping_test.go | 1 + internal/relationtuple/definitions.go | 1 + internal/relationtuple/definitions_test.go | 1 + internal/relationtuple/handler.go | 1 + internal/relationtuple/manager_isolation.go | 1 + internal/relationtuple/manager_requirements.go | 1 + internal/relationtuple/read_server.go | 1 + internal/relationtuple/read_server_test.go | 1 + internal/relationtuple/swagger_definitions.go | 1 + internal/relationtuple/test_helper.go | 1 + internal/relationtuple/transact_server.go | 1 + internal/relationtuple/transact_server_test.go | 1 + internal/relationtuple/uuid_mapping.go | 1 + internal/relationtuple/uuid_mapping_test.go | 1 + internal/schema/handler.go | 1 + internal/schema/handler_test.go | 1 + internal/schema/itemtype_string.go | 1 + internal/schema/lexer.go | 1 + internal/schema/lexer_test.go | 1 + internal/schema/limits.go | 1 + internal/schema/parse_errors.go | 1 + internal/schema/parser.go | 1 + internal/schema/parser_fuzzer.go | 1 + internal/schema/parser_test.go | 1 + internal/schema/typechecks.go | 1 + internal/swagger_types.go | 1 + internal/x/dbx/dsn_cockroach.go | 1 + internal/x/dbx/dsn_mysql.go | 1 + internal/x/dbx/dsn_nocockroach.go | 1 + internal/x/dbx/dsn_nomysql.go | 1 + internal/x/dbx/dsn_nopostgres.go | 1 + internal/x/dbx/dsn_nosqlite.go | 1 + internal/x/dbx/dsn_postgres.go | 1 + internal/x/dbx/dsn_sqlite.go | 1 + internal/x/dbx/dsn_testutils.go | 1 + internal/x/dbx/dsn_testutils_test.go | 1 + internal/x/graph/graph_utils.go | 1 + internal/x/graph/graph_utils_test.go | 1 + internal/x/helpers.go | 1 + internal/x/max_depth.go | 1 + internal/x/pagination.go | 1 + internal/x/registry.go | 1 + internal/x/router.go | 1 + ketoapi/cmd_output.go | 1 + ketoapi/enc_proto.go | 1 + ketoapi/enc_string.go | 1 + ketoapi/enc_test.go | 1 + ketoapi/enc_url_query.go | 1 + ketoapi/public_api_definitions.go | 1 + ketoctx/contextualizer.go | 1 + ketoctx/contextualizer_test.go | 1 + ketoctx/options.go | 1 + ketoctx/options_test.go | 1 + main.go | 1 + spec/files.go | 1 + 174 files changed, 174 insertions(+) diff --git a/cmd/check/root.go b/cmd/check/root.go index 75af060ec..09194653e 100644 --- a/cmd/check/root.go +++ b/cmd/check/root.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package check diff --git a/cmd/check/root_test.go b/cmd/check/root_test.go index d253ebe0c..0436a90ba 100644 --- a/cmd/check/root_test.go +++ b/cmd/check/root_test.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package check diff --git a/cmd/clidoc/main.go b/cmd/clidoc/main.go index 2efc33b11..bc5b6dafe 100644 --- a/cmd/clidoc/main.go +++ b/cmd/clidoc/main.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package main diff --git a/cmd/client/grpc_client.go b/cmd/client/grpc_client.go index 83e370cf6..90db677b6 100644 --- a/cmd/client/grpc_client.go +++ b/cmd/client/grpc_client.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package client diff --git a/cmd/client/grpc_client_test.go b/cmd/client/grpc_client_test.go index e9019dd62..3eb14a8b9 100644 --- a/cmd/client/grpc_client_test.go +++ b/cmd/client/grpc_client_test.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package client diff --git a/cmd/client/test_helpers.go b/cmd/client/test_helpers.go index ab34239a3..30bef36d3 100644 --- a/cmd/client/test_helpers.go +++ b/cmd/client/test_helpers.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package client diff --git a/cmd/expand/root.go b/cmd/expand/root.go index 6a60e3b13..4684ff695 100644 --- a/cmd/expand/root.go +++ b/cmd/expand/root.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package expand diff --git a/cmd/expand/root_test.go b/cmd/expand/root_test.go index f7d5fbce4..52e7f0744 100644 --- a/cmd/expand/root_test.go +++ b/cmd/expand/root_test.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package expand diff --git a/cmd/helpers/helpers.go b/cmd/helpers/helpers.go index 2ea1409f1..fb84018a1 100644 --- a/cmd/helpers/helpers.go +++ b/cmd/helpers/helpers.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package helpers diff --git a/cmd/migrate/down.go b/cmd/migrate/down.go index 50d00c9aa..1560a4378 100644 --- a/cmd/migrate/down.go +++ b/cmd/migrate/down.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package migrate diff --git a/cmd/migrate/migrate_test.go b/cmd/migrate/migrate_test.go index 0873f4961..d7ab52886 100644 --- a/cmd/migrate/migrate_test.go +++ b/cmd/migrate/migrate_test.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package migrate diff --git a/cmd/migrate/root.go b/cmd/migrate/root.go index c7b27f43a..8603222a0 100644 --- a/cmd/migrate/root.go +++ b/cmd/migrate/root.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package migrate diff --git a/cmd/migrate/status.go b/cmd/migrate/status.go index 7073ed581..5bfc8c8ef 100644 --- a/cmd/migrate/status.go +++ b/cmd/migrate/status.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package migrate diff --git a/cmd/migrate/up.go b/cmd/migrate/up.go index 0d3c9b125..bddfc5956 100644 --- a/cmd/migrate/up.go +++ b/cmd/migrate/up.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package migrate diff --git a/cmd/namespace/opl_generate.go b/cmd/namespace/opl_generate.go index f3a671544..94bf9212b 100644 --- a/cmd/namespace/opl_generate.go +++ b/cmd/namespace/opl_generate.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package namespace diff --git a/cmd/namespace/opl_generate_test.go b/cmd/namespace/opl_generate_test.go index ff75f9011..d501f9002 100644 --- a/cmd/namespace/opl_generate_test.go +++ b/cmd/namespace/opl_generate_test.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package namespace_test diff --git a/cmd/namespace/root.go b/cmd/namespace/root.go index 286d74f85..c3da8473a 100644 --- a/cmd/namespace/root.go +++ b/cmd/namespace/root.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package namespace diff --git a/cmd/namespace/validate.go b/cmd/namespace/validate.go index ef82763b2..d7c38a43c 100644 --- a/cmd/namespace/validate.go +++ b/cmd/namespace/validate.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package namespace diff --git a/cmd/namespace/validate_test.go b/cmd/namespace/validate_test.go index 2360e49ee..5d4c44e0d 100644 --- a/cmd/namespace/validate_test.go +++ b/cmd/namespace/validate_test.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package namespace diff --git a/cmd/relationtuple/create.go b/cmd/relationtuple/create.go index eff90c02d..a8ebaef45 100644 --- a/cmd/relationtuple/create.go +++ b/cmd/relationtuple/create.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package relationtuple diff --git a/cmd/relationtuple/delete.go b/cmd/relationtuple/delete.go index e9e3c1045..60a261cc7 100644 --- a/cmd/relationtuple/delete.go +++ b/cmd/relationtuple/delete.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package relationtuple diff --git a/cmd/relationtuple/delete_all.go b/cmd/relationtuple/delete_all.go index 18a770307..8675c504c 100644 --- a/cmd/relationtuple/delete_all.go +++ b/cmd/relationtuple/delete_all.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package relationtuple diff --git a/cmd/relationtuple/delete_all_test.go b/cmd/relationtuple/delete_all_test.go index 48148c867..7df06665f 100644 --- a/cmd/relationtuple/delete_all_test.go +++ b/cmd/relationtuple/delete_all_test.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package relationtuple diff --git a/cmd/relationtuple/get.go b/cmd/relationtuple/get.go index 38454f5e4..03eb33341 100644 --- a/cmd/relationtuple/get.go +++ b/cmd/relationtuple/get.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package relationtuple diff --git a/cmd/relationtuple/output.go b/cmd/relationtuple/output.go index a1a2147d0..018787ef9 100644 --- a/cmd/relationtuple/output.go +++ b/cmd/relationtuple/output.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package relationtuple diff --git a/cmd/relationtuple/output_test.go b/cmd/relationtuple/output_test.go index 2b28ed34e..bcfa29e4a 100644 --- a/cmd/relationtuple/output_test.go +++ b/cmd/relationtuple/output_test.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package relationtuple diff --git a/cmd/relationtuple/parse.go b/cmd/relationtuple/parse.go index b810d1621..0be42382a 100644 --- a/cmd/relationtuple/parse.go +++ b/cmd/relationtuple/parse.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package relationtuple diff --git a/cmd/relationtuple/parse_test.go b/cmd/relationtuple/parse_test.go index 84674a965..38a9ebfa0 100644 --- a/cmd/relationtuple/parse_test.go +++ b/cmd/relationtuple/parse_test.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package relationtuple diff --git a/cmd/relationtuple/root.go b/cmd/relationtuple/root.go index 6e200180e..3cca761a0 100644 --- a/cmd/relationtuple/root.go +++ b/cmd/relationtuple/root.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package relationtuple diff --git a/cmd/root.go b/cmd/root.go index c2a939eba..77885347a 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package cmd diff --git a/cmd/serve_debug_test.go b/cmd/serve_debug_test.go index 9abc836d3..8df46a738 100644 --- a/cmd/serve_debug_test.go +++ b/cmd/serve_debug_test.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package cmd diff --git a/cmd/server/serve.go b/cmd/server/serve.go index 6764b5620..5e13ecb75 100644 --- a/cmd/server/serve.go +++ b/cmd/server/serve.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package server diff --git a/cmd/status/root.go b/cmd/status/root.go index d1dc96208..3061fe5cf 100644 --- a/cmd/status/root.go +++ b/cmd/status/root.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package status diff --git a/cmd/status/root_test.go b/cmd/status/root_test.go index 4db38f818..077dac61f 100644 --- a/cmd/status/root_test.go +++ b/cmd/status/root_test.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package status diff --git a/contrib/docs-code-samples/expand-api-display-access/00-create-tuples/index.js b/contrib/docs-code-samples/expand-api-display-access/00-create-tuples/index.js index c10b8acc1..63bb8458f 100644 --- a/contrib/docs-code-samples/expand-api-display-access/00-create-tuples/index.js +++ b/contrib/docs-code-samples/expand-api-display-access/00-create-tuples/index.js @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 import grpc from "@ory/keto-grpc-client/node_modules/@grpc/grpc-js/build/src/index.js" import { relationTuples, write, writeService } from "@ory/keto-grpc-client" diff --git a/contrib/docs-code-samples/expand-api-display-access/00-create-tuples/main.go b/contrib/docs-code-samples/expand-api-display-access/00-create-tuples/main.go index fa8967389..d94986577 100644 --- a/contrib/docs-code-samples/expand-api-display-access/00-create-tuples/main.go +++ b/contrib/docs-code-samples/expand-api-display-access/00-create-tuples/main.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package main diff --git a/contrib/docs-code-samples/expand-api-display-access/01-expand-beach/index.js b/contrib/docs-code-samples/expand-api-display-access/01-expand-beach/index.js index 1b5e5beab..0022388a7 100644 --- a/contrib/docs-code-samples/expand-api-display-access/01-expand-beach/index.js +++ b/contrib/docs-code-samples/expand-api-display-access/01-expand-beach/index.js @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 import grpc from "@ory/keto-grpc-client/node_modules/@grpc/grpc-js/build/src/index.js" import { relationTuples, expand, expandService } from "@ory/keto-grpc-client" diff --git a/contrib/docs-code-samples/expand-api-display-access/01-expand-beach/main.go b/contrib/docs-code-samples/expand-api-display-access/01-expand-beach/main.go index f8639614c..4321cecf9 100644 --- a/contrib/docs-code-samples/expand-api-display-access/01-expand-beach/main.go +++ b/contrib/docs-code-samples/expand-api-display-access/01-expand-beach/main.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package main diff --git a/contrib/docs-code-samples/expand-api-display-access/99-cleanup/index.js b/contrib/docs-code-samples/expand-api-display-access/99-cleanup/index.js index 6cc4f6241..b9ded337f 100644 --- a/contrib/docs-code-samples/expand-api-display-access/99-cleanup/index.js +++ b/contrib/docs-code-samples/expand-api-display-access/99-cleanup/index.js @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 import grpc from "@ory/keto-grpc-client/node_modules/@grpc/grpc-js/build/src/index.js" import { relationTuples, write, writeService } from "@ory/keto-grpc-client" diff --git a/contrib/docs-code-samples/expand-api-display-access/99-cleanup/main.go b/contrib/docs-code-samples/expand-api-display-access/99-cleanup/main.go index 3d19e07cd..e89c60c7c 100644 --- a/contrib/docs-code-samples/expand-api-display-access/99-cleanup/main.go +++ b/contrib/docs-code-samples/expand-api-display-access/99-cleanup/main.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 //go:build docscodesamples // +build docscodesamples diff --git a/contrib/docs-code-samples/list-api-display-objects/00-create-tuples/index.js b/contrib/docs-code-samples/list-api-display-objects/00-create-tuples/index.js index 440555b72..9c76c3d7a 100644 --- a/contrib/docs-code-samples/list-api-display-objects/00-create-tuples/index.js +++ b/contrib/docs-code-samples/list-api-display-objects/00-create-tuples/index.js @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 import grpc from "@ory/keto-grpc-client/node_modules/@grpc/grpc-js/build/src/index.js" import { relationTuples, write, writeService } from "@ory/keto-grpc-client" diff --git a/contrib/docs-code-samples/list-api-display-objects/00-create-tuples/main.go b/contrib/docs-code-samples/list-api-display-objects/00-create-tuples/main.go index ac6cb4791..0715a83aa 100644 --- a/contrib/docs-code-samples/list-api-display-objects/00-create-tuples/main.go +++ b/contrib/docs-code-samples/list-api-display-objects/00-create-tuples/main.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package main diff --git a/contrib/docs-code-samples/list-api-display-objects/01-list-PM/index.js b/contrib/docs-code-samples/list-api-display-objects/01-list-PM/index.js index 93192d240..132afcb64 100644 --- a/contrib/docs-code-samples/list-api-display-objects/01-list-PM/index.js +++ b/contrib/docs-code-samples/list-api-display-objects/01-list-PM/index.js @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 import grpc from "@ory/keto-grpc-client/node_modules/@grpc/grpc-js/build/src/index.js" import { relationTuples, read, readService } from "@ory/keto-grpc-client" diff --git a/contrib/docs-code-samples/list-api-display-objects/01-list-PM/main.go b/contrib/docs-code-samples/list-api-display-objects/01-list-PM/main.go index d01b40b35..35370b511 100644 --- a/contrib/docs-code-samples/list-api-display-objects/01-list-PM/main.go +++ b/contrib/docs-code-samples/list-api-display-objects/01-list-PM/main.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package main diff --git a/contrib/docs-code-samples/list-api-display-objects/02-list-coffee-break/index.js b/contrib/docs-code-samples/list-api-display-objects/02-list-coffee-break/index.js index 96176254d..033ebdc6a 100644 --- a/contrib/docs-code-samples/list-api-display-objects/02-list-coffee-break/index.js +++ b/contrib/docs-code-samples/list-api-display-objects/02-list-coffee-break/index.js @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 import grpc from "@ory/keto-grpc-client/node_modules/@grpc/grpc-js/build/src/index.js" import { read, readService } from "@ory/keto-grpc-client" diff --git a/contrib/docs-code-samples/list-api-display-objects/02-list-coffee-break/main.go b/contrib/docs-code-samples/list-api-display-objects/02-list-coffee-break/main.go index 96944c927..bc6d30671 100644 --- a/contrib/docs-code-samples/list-api-display-objects/02-list-coffee-break/main.go +++ b/contrib/docs-code-samples/list-api-display-objects/02-list-coffee-break/main.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package main diff --git a/contrib/docs-code-samples/list-api-display-objects/99-cleanup/index.js b/contrib/docs-code-samples/list-api-display-objects/99-cleanup/index.js index 4fecee34f..4486a19fc 100644 --- a/contrib/docs-code-samples/list-api-display-objects/99-cleanup/index.js +++ b/contrib/docs-code-samples/list-api-display-objects/99-cleanup/index.js @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 import grpc from "@ory/keto-grpc-client/node_modules/@grpc/grpc-js/build/src/index.js" import { write, writeService, read, readService } from "@ory/keto-grpc-client" diff --git a/contrib/docs-code-samples/list-api-display-objects/99-cleanup/main.go b/contrib/docs-code-samples/list-api-display-objects/99-cleanup/main.go index 2ff4b3a05..bd95d863f 100644 --- a/contrib/docs-code-samples/list-api-display-objects/99-cleanup/main.go +++ b/contrib/docs-code-samples/list-api-display-objects/99-cleanup/main.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 //go:build docscodesamples // +build docscodesamples diff --git a/contrib/docs-code-samples/simple-access-check-guide/00-write-direct-access/index.js b/contrib/docs-code-samples/simple-access-check-guide/00-write-direct-access/index.js index 575dc3e0a..33da25cdf 100644 --- a/contrib/docs-code-samples/simple-access-check-guide/00-write-direct-access/index.js +++ b/contrib/docs-code-samples/simple-access-check-guide/00-write-direct-access/index.js @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 import grpc from "@ory/keto-grpc-client/node_modules/@grpc/grpc-js/build/src/index.js" import { relationTuples, write, writeService } from "@ory/keto-grpc-client" diff --git a/contrib/docs-code-samples/simple-access-check-guide/00-write-direct-access/main.go b/contrib/docs-code-samples/simple-access-check-guide/00-write-direct-access/main.go index ceb3c9f80..9cbb5441f 100644 --- a/contrib/docs-code-samples/simple-access-check-guide/00-write-direct-access/main.go +++ b/contrib/docs-code-samples/simple-access-check-guide/00-write-direct-access/main.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package main diff --git a/contrib/docs-code-samples/simple-access-check-guide/01-check-direct-access/index.js b/contrib/docs-code-samples/simple-access-check-guide/01-check-direct-access/index.js index fc859218e..018397f75 100644 --- a/contrib/docs-code-samples/simple-access-check-guide/01-check-direct-access/index.js +++ b/contrib/docs-code-samples/simple-access-check-guide/01-check-direct-access/index.js @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 import grpc from "@ory/keto-grpc-client/node_modules/@grpc/grpc-js/build/src/index.js" import { relationTuples, check, checkService } from "@ory/keto-grpc-client" diff --git a/contrib/docs-code-samples/simple-access-check-guide/01-check-direct-access/main.go b/contrib/docs-code-samples/simple-access-check-guide/01-check-direct-access/main.go index 1db22b9c8..1c87760de 100644 --- a/contrib/docs-code-samples/simple-access-check-guide/01-check-direct-access/main.go +++ b/contrib/docs-code-samples/simple-access-check-guide/01-check-direct-access/main.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package main diff --git a/contrib/docs-code-samples/simple-access-check-guide/99-cleanup/index.js b/contrib/docs-code-samples/simple-access-check-guide/99-cleanup/index.js index 038deefc4..e4a1fb563 100644 --- a/contrib/docs-code-samples/simple-access-check-guide/99-cleanup/index.js +++ b/contrib/docs-code-samples/simple-access-check-guide/99-cleanup/index.js @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 import grpc from "@ory/keto-grpc-client/node_modules/@grpc/grpc-js/build/src/index.js" import { relationTuples, write, writeService } from "@ory/keto-grpc-client" diff --git a/contrib/docs-code-samples/simple-access-check-guide/99-cleanup/main.go b/contrib/docs-code-samples/simple-access-check-guide/99-cleanup/main.go index be0d95771..725c3288e 100644 --- a/contrib/docs-code-samples/simple-access-check-guide/99-cleanup/main.go +++ b/contrib/docs-code-samples/simple-access-check-guide/99-cleanup/main.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package main diff --git a/contrib/namespace-type-lib/index.d.ts b/contrib/namespace-type-lib/index.d.ts index 38921e24a..32e0ba48b 100644 --- a/contrib/namespace-type-lib/index.d.ts +++ b/contrib/namespace-type-lib/index.d.ts @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 /// diff --git a/contrib/namespace-type-lib/test.ts b/contrib/namespace-type-lib/test.ts index 664f2d852..15d844f19 100644 --- a/contrib/namespace-type-lib/test.ts +++ b/contrib/namespace-type-lib/test.ts @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 import { Namespace, SubjectSet, Context } from "@ory/keto-namespace-types" diff --git a/contrib/rewrites-example/namespaces.keto.ts b/contrib/rewrites-example/namespaces.keto.ts index 8d6a00e89..10523d15f 100644 --- a/contrib/rewrites-example/namespaces.keto.ts +++ b/contrib/rewrites-example/namespaces.keto.ts @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 import { Namespace, SubjectSet, Context } from "@ory/keto-namespace-types" diff --git a/doc.go b/doc.go index 338a7c934..7ff65b40b 100644 --- a/doc.go +++ b/doc.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 // Package main ORY Keto // diff --git a/doc_swagger.go b/doc_swagger.go index d6516054e..df8d571c6 100644 --- a/doc_swagger.go +++ b/doc_swagger.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package main diff --git a/embedx/schemas.go b/embedx/schemas.go index 97650d98f..5077ee82c 100644 --- a/embedx/schemas.go +++ b/embedx/schemas.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package embedx diff --git a/embedx/schemas_test.go b/embedx/schemas_test.go index ec860aa95..bea06a96f 100644 --- a/embedx/schemas_test.go +++ b/embedx/schemas_test.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package embedx diff --git a/internal/check/bench_test.go b/internal/check/bench_test.go index 800c20b52..993e240b7 100644 --- a/internal/check/bench_test.go +++ b/internal/check/bench_test.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package check_test diff --git a/internal/check/binop.go b/internal/check/binop.go index ab0d1c887..1593557d6 100644 --- a/internal/check/binop.go +++ b/internal/check/binop.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package check diff --git a/internal/check/checkgroup/checkgroup_test.go b/internal/check/checkgroup/checkgroup_test.go index f47ccb2cd..0ed489da5 100644 --- a/internal/check/checkgroup/checkgroup_test.go +++ b/internal/check/checkgroup/checkgroup_test.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package checkgroup_test diff --git a/internal/check/checkgroup/concurrent_checkgroup.go b/internal/check/checkgroup/concurrent_checkgroup.go index e60b94a5d..762549e4b 100644 --- a/internal/check/checkgroup/concurrent_checkgroup.go +++ b/internal/check/checkgroup/concurrent_checkgroup.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package checkgroup diff --git a/internal/check/checkgroup/definitions.go b/internal/check/checkgroup/definitions.go index c799c5895..0eac0924a 100644 --- a/internal/check/checkgroup/definitions.go +++ b/internal/check/checkgroup/definitions.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package checkgroup diff --git a/internal/check/checkgroup/membership_string.go b/internal/check/checkgroup/membership_string.go index b390ea4f2..3fc6fd662 100644 --- a/internal/check/checkgroup/membership_string.go +++ b/internal/check/checkgroup/membership_string.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 // Code generated by "stringer -type Membership"; DO NOT EDIT. diff --git a/internal/check/checkgroup/testmain_test.go b/internal/check/checkgroup/testmain_test.go index 89eef54ad..171494f7e 100644 --- a/internal/check/checkgroup/testmain_test.go +++ b/internal/check/checkgroup/testmain_test.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package checkgroup_test diff --git a/internal/check/checkgroup/workerpool_test.go b/internal/check/checkgroup/workerpool_test.go index 60c4f709e..7a052aa20 100644 --- a/internal/check/checkgroup/workerpool_test.go +++ b/internal/check/checkgroup/workerpool_test.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package checkgroup_test diff --git a/internal/check/engine.go b/internal/check/engine.go index 2779d93bb..263bfe62e 100644 --- a/internal/check/engine.go +++ b/internal/check/engine.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package check diff --git a/internal/check/engine_test.go b/internal/check/engine_test.go index 3f20bb372..b421d65c5 100644 --- a/internal/check/engine_test.go +++ b/internal/check/engine_test.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package check_test diff --git a/internal/check/handler.go b/internal/check/handler.go index 1836f46c2..3ba2fd64c 100644 --- a/internal/check/handler.go +++ b/internal/check/handler.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package check diff --git a/internal/check/handler_test.go b/internal/check/handler_test.go index bfb13bcfd..b3cedf4b5 100644 --- a/internal/check/handler_test.go +++ b/internal/check/handler_test.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package check_test diff --git a/internal/check/performance_test.go b/internal/check/performance_test.go index cccc62ee2..ce50f04a7 100644 --- a/internal/check/performance_test.go +++ b/internal/check/performance_test.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package check_test diff --git a/internal/check/rewrites.go b/internal/check/rewrites.go index d3e217ede..a1b36fa9b 100644 --- a/internal/check/rewrites.go +++ b/internal/check/rewrites.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package check diff --git a/internal/check/rewrites_test.go b/internal/check/rewrites_test.go index 7f26eef58..bdff9c665 100644 --- a/internal/check/rewrites_test.go +++ b/internal/check/rewrites_test.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package check_test diff --git a/internal/check/testmain_test.go b/internal/check/testmain_test.go index 5463d6bda..0e3ab7c81 100644 --- a/internal/check/testmain_test.go +++ b/internal/check/testmain_test.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package check_test diff --git a/internal/driver/config/buildinfo.go b/internal/driver/config/buildinfo.go index dc9969c10..54a894387 100644 --- a/internal/driver/config/buildinfo.go +++ b/internal/driver/config/buildinfo.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package config diff --git a/internal/driver/config/namespace_memory.go b/internal/driver/config/namespace_memory.go index 22ac6fb15..e78420646 100644 --- a/internal/driver/config/namespace_memory.go +++ b/internal/driver/config/namespace_memory.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package config diff --git a/internal/driver/config/namespace_memory_test.go b/internal/driver/config/namespace_memory_test.go index 853dd9dcd..281842d07 100644 --- a/internal/driver/config/namespace_memory_test.go +++ b/internal/driver/config/namespace_memory_test.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package config diff --git a/internal/driver/config/namespace_watcher.go b/internal/driver/config/namespace_watcher.go index ba4d3e393..ca1a6e584 100644 --- a/internal/driver/config/namespace_watcher.go +++ b/internal/driver/config/namespace_watcher.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package config diff --git a/internal/driver/config/namespace_watcher_test.go b/internal/driver/config/namespace_watcher_test.go index 9349cd82d..1a5d8d971 100644 --- a/internal/driver/config/namespace_watcher_test.go +++ b/internal/driver/config/namespace_watcher_test.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package config diff --git a/internal/driver/config/opl_config_namespace_watcher.go b/internal/driver/config/opl_config_namespace_watcher.go index 73bafe4e2..b32e77d8e 100644 --- a/internal/driver/config/opl_config_namespace_watcher.go +++ b/internal/driver/config/opl_config_namespace_watcher.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package config diff --git a/internal/driver/config/provider.go b/internal/driver/config/provider.go index 3de22918b..c6729e306 100644 --- a/internal/driver/config/provider.go +++ b/internal/driver/config/provider.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package config diff --git a/internal/driver/config/provider_test.go b/internal/driver/config/provider_test.go index 87e222394..f90b5dd67 100644 --- a/internal/driver/config/provider_test.go +++ b/internal/driver/config/provider_test.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package config diff --git a/internal/driver/daemon.go b/internal/driver/daemon.go index bc8c82b81..5fbc28769 100644 --- a/internal/driver/daemon.go +++ b/internal/driver/daemon.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package driver diff --git a/internal/driver/daemon_test.go b/internal/driver/daemon_test.go index d2d483ad7..560b9ab1e 100644 --- a/internal/driver/daemon_test.go +++ b/internal/driver/daemon_test.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package driver diff --git a/internal/driver/pop_connection.go b/internal/driver/pop_connection.go index dbaca8aaf..d076a1b76 100644 --- a/internal/driver/pop_connection.go +++ b/internal/driver/pop_connection.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package driver diff --git a/internal/driver/registry.go b/internal/driver/registry.go index 91111f59a..8ee7fff9f 100644 --- a/internal/driver/registry.go +++ b/internal/driver/registry.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package driver diff --git a/internal/driver/registry_default.go b/internal/driver/registry_default.go index 13fd56107..48b1d0bc7 100644 --- a/internal/driver/registry_default.go +++ b/internal/driver/registry_default.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package driver diff --git a/internal/driver/registry_factory.go b/internal/driver/registry_factory.go index af3f9a235..fb8856b70 100644 --- a/internal/driver/registry_factory.go +++ b/internal/driver/registry_factory.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package driver diff --git a/internal/driver/selfsigned_cert_bench_test.go b/internal/driver/selfsigned_cert_bench_test.go index 8c1e1bc70..4cc485e3f 100644 --- a/internal/driver/selfsigned_cert_bench_test.go +++ b/internal/driver/selfsigned_cert_bench_test.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package driver diff --git a/internal/e2e/cli_client_test.go b/internal/e2e/cli_client_test.go index 072897a4e..f4646a223 100644 --- a/internal/e2e/cli_client_test.go +++ b/internal/e2e/cli_client_test.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package e2e diff --git a/internal/e2e/full_suit_test.go b/internal/e2e/full_suit_test.go index 147965537..0cb2aa9a5 100644 --- a/internal/e2e/full_suit_test.go +++ b/internal/e2e/full_suit_test.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package e2e diff --git a/internal/e2e/grpc_client_test.go b/internal/e2e/grpc_client_test.go index 7bf66ffc4..e78329403 100644 --- a/internal/e2e/grpc_client_test.go +++ b/internal/e2e/grpc_client_test.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package e2e diff --git a/internal/e2e/helpers.go b/internal/e2e/helpers.go index 13d9aac86..fb98e485e 100644 --- a/internal/e2e/helpers.go +++ b/internal/e2e/helpers.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package e2e diff --git a/internal/e2e/rest_client_test.go b/internal/e2e/rest_client_test.go index 7dfc7bf02..49b2ebea1 100644 --- a/internal/e2e/rest_client_test.go +++ b/internal/e2e/rest_client_test.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package e2e diff --git a/internal/e2e/sdk_client_test.go b/internal/e2e/sdk_client_test.go index 0d75c5d12..7f18a64bb 100644 --- a/internal/e2e/sdk_client_test.go +++ b/internal/e2e/sdk_client_test.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package e2e diff --git a/internal/e2e/testcases_test.go b/internal/e2e/testcases_test.go index 49504e1ae..9a0a7fb58 100644 --- a/internal/e2e/testcases_test.go +++ b/internal/e2e/testcases_test.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package e2e diff --git a/internal/e2e/transaction_cases_test.go b/internal/e2e/transaction_cases_test.go index 953c916ef..76e0d5910 100644 --- a/internal/e2e/transaction_cases_test.go +++ b/internal/e2e/transaction_cases_test.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package e2e diff --git a/internal/expand/engine.go b/internal/expand/engine.go index 3586e12c7..2cb0a764c 100644 --- a/internal/expand/engine.go +++ b/internal/expand/engine.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package expand diff --git a/internal/expand/engine_test.go b/internal/expand/engine_test.go index cfcce2189..0386b85b9 100644 --- a/internal/expand/engine_test.go +++ b/internal/expand/engine_test.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package expand_test diff --git a/internal/expand/handler.go b/internal/expand/handler.go index 102a3fac3..d03b125be 100644 --- a/internal/expand/handler.go +++ b/internal/expand/handler.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package expand diff --git a/internal/expand/handler_test.go b/internal/expand/handler_test.go index d7c532899..cf2d6733a 100644 --- a/internal/expand/handler_test.go +++ b/internal/expand/handler_test.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package expand_test diff --git a/internal/expand/testhelper.go b/internal/expand/testhelper.go index 1a0f8f5ab..0d44956c7 100644 --- a/internal/expand/testhelper.go +++ b/internal/expand/testhelper.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package expand diff --git a/internal/namespace/ast/ast_definitions.go b/internal/namespace/ast/ast_definitions.go index 18b2d12ad..b9c049863 100644 --- a/internal/namespace/ast/ast_definitions.go +++ b/internal/namespace/ast/ast_definitions.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package ast diff --git a/internal/namespace/ast/operator_string.go b/internal/namespace/ast/operator_string.go index 39e164a1b..07834396c 100644 --- a/internal/namespace/ast/operator_string.go +++ b/internal/namespace/ast/operator_string.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 // Code generated by "stringer -type=Operator -linecomment"; DO NOT EDIT. diff --git a/internal/namespace/definitions.go b/internal/namespace/definitions.go index b39490eff..a47f05576 100644 --- a/internal/namespace/definitions.go +++ b/internal/namespace/definitions.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package namespace diff --git a/internal/namespace/namespacehandler/handler.go b/internal/namespace/namespacehandler/handler.go index e573680e2..315fab3d9 100644 --- a/internal/namespace/namespacehandler/handler.go +++ b/internal/namespace/namespacehandler/handler.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package namespacehandler diff --git a/internal/persistence/definitions.go b/internal/persistence/definitions.go index 59b767ebd..61d60d962 100644 --- a/internal/persistence/definitions.go +++ b/internal/persistence/definitions.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package persistence diff --git a/internal/persistence/sql/full_test.go b/internal/persistence/sql/full_test.go index e811b3c8b..b74d8f44a 100644 --- a/internal/persistence/sql/full_test.go +++ b/internal/persistence/sql/full_test.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package sql_test diff --git a/internal/persistence/sql/migrations/migratest/migration_test.go b/internal/persistence/sql/migrations/migratest/migration_test.go index df75ba172..09e202eb4 100644 --- a/internal/persistence/sql/migrations/migratest/migration_test.go +++ b/internal/persistence/sql/migrations/migratest/migration_test.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package migratest diff --git a/internal/persistence/sql/migrations/uuidmapping/uuid_mapping_migrator.go b/internal/persistence/sql/migrations/uuidmapping/uuid_mapping_migrator.go index ab3be803c..e4db40c64 100644 --- a/internal/persistence/sql/migrations/uuidmapping/uuid_mapping_migrator.go +++ b/internal/persistence/sql/migrations/uuidmapping/uuid_mapping_migrator.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package uuidmapping diff --git a/internal/persistence/sql/migrations/uuidmapping/uuid_mapping_migrator_test.go b/internal/persistence/sql/migrations/uuidmapping/uuid_mapping_migrator_test.go index ab8c6d511..428b01141 100644 --- a/internal/persistence/sql/migrations/uuidmapping/uuid_mapping_migrator_test.go +++ b/internal/persistence/sql/migrations/uuidmapping/uuid_mapping_migrator_test.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package uuidmapping_test diff --git a/internal/persistence/sql/pagination_test.go b/internal/persistence/sql/pagination_test.go index 38367da59..debeb7623 100644 --- a/internal/persistence/sql/pagination_test.go +++ b/internal/persistence/sql/pagination_test.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package sql diff --git a/internal/persistence/sql/persister.go b/internal/persistence/sql/persister.go index 5927ca964..1df576e57 100644 --- a/internal/persistence/sql/persister.go +++ b/internal/persistence/sql/persister.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package sql diff --git a/internal/persistence/sql/relationtuples.go b/internal/persistence/sql/relationtuples.go index 6ff780160..4310edeff 100644 --- a/internal/persistence/sql/relationtuples.go +++ b/internal/persistence/sql/relationtuples.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package sql diff --git a/internal/persistence/sql/relationtuples_test.go b/internal/persistence/sql/relationtuples_test.go index 10f1b781a..aaa5691da 100644 --- a/internal/persistence/sql/relationtuples_test.go +++ b/internal/persistence/sql/relationtuples_test.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package sql_test diff --git a/internal/persistence/sql/uuid_mapping.go b/internal/persistence/sql/uuid_mapping.go index 59fa583e3..66db88e45 100644 --- a/internal/persistence/sql/uuid_mapping.go +++ b/internal/persistence/sql/uuid_mapping.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package sql diff --git a/internal/persistence/sql/uuid_mapping_test.go b/internal/persistence/sql/uuid_mapping_test.go index ce2d47f5f..8e3d6cea8 100644 --- a/internal/persistence/sql/uuid_mapping_test.go +++ b/internal/persistence/sql/uuid_mapping_test.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package sql_test diff --git a/internal/relationtuple/definitions.go b/internal/relationtuple/definitions.go index e7edfd5f4..8218d407a 100644 --- a/internal/relationtuple/definitions.go +++ b/internal/relationtuple/definitions.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package relationtuple diff --git a/internal/relationtuple/definitions_test.go b/internal/relationtuple/definitions_test.go index 0e134697c..ab850edb4 100644 --- a/internal/relationtuple/definitions_test.go +++ b/internal/relationtuple/definitions_test.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package relationtuple diff --git a/internal/relationtuple/handler.go b/internal/relationtuple/handler.go index 8cdac84aa..0e38b8dae 100644 --- a/internal/relationtuple/handler.go +++ b/internal/relationtuple/handler.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package relationtuple diff --git a/internal/relationtuple/manager_isolation.go b/internal/relationtuple/manager_isolation.go index b19913b9d..d57db1dc0 100644 --- a/internal/relationtuple/manager_isolation.go +++ b/internal/relationtuple/manager_isolation.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package relationtuple diff --git a/internal/relationtuple/manager_requirements.go b/internal/relationtuple/manager_requirements.go index ac4f27bb8..e02086cf4 100644 --- a/internal/relationtuple/manager_requirements.go +++ b/internal/relationtuple/manager_requirements.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package relationtuple diff --git a/internal/relationtuple/read_server.go b/internal/relationtuple/read_server.go index e83465565..51da7c5a4 100644 --- a/internal/relationtuple/read_server.go +++ b/internal/relationtuple/read_server.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package relationtuple diff --git a/internal/relationtuple/read_server_test.go b/internal/relationtuple/read_server_test.go index 2a78a67f0..b6acf6d1c 100644 --- a/internal/relationtuple/read_server_test.go +++ b/internal/relationtuple/read_server_test.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package relationtuple_test diff --git a/internal/relationtuple/swagger_definitions.go b/internal/relationtuple/swagger_definitions.go index ed86659fc..4127b0c21 100644 --- a/internal/relationtuple/swagger_definitions.go +++ b/internal/relationtuple/swagger_definitions.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package relationtuple diff --git a/internal/relationtuple/test_helper.go b/internal/relationtuple/test_helper.go index ce83d998b..9e68f9a90 100644 --- a/internal/relationtuple/test_helper.go +++ b/internal/relationtuple/test_helper.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package relationtuple diff --git a/internal/relationtuple/transact_server.go b/internal/relationtuple/transact_server.go index b25e91aad..330155869 100644 --- a/internal/relationtuple/transact_server.go +++ b/internal/relationtuple/transact_server.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package relationtuple diff --git a/internal/relationtuple/transact_server_test.go b/internal/relationtuple/transact_server_test.go index 1f24618a8..379952fcc 100644 --- a/internal/relationtuple/transact_server_test.go +++ b/internal/relationtuple/transact_server_test.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package relationtuple_test diff --git a/internal/relationtuple/uuid_mapping.go b/internal/relationtuple/uuid_mapping.go index 96579ad85..285e5a4ab 100644 --- a/internal/relationtuple/uuid_mapping.go +++ b/internal/relationtuple/uuid_mapping.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package relationtuple diff --git a/internal/relationtuple/uuid_mapping_test.go b/internal/relationtuple/uuid_mapping_test.go index d67866c28..5f2c757e5 100644 --- a/internal/relationtuple/uuid_mapping_test.go +++ b/internal/relationtuple/uuid_mapping_test.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package relationtuple_test diff --git a/internal/schema/handler.go b/internal/schema/handler.go index 87fd3e634..841cc85ff 100644 --- a/internal/schema/handler.go +++ b/internal/schema/handler.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package schema diff --git a/internal/schema/handler_test.go b/internal/schema/handler_test.go index 99323a732..cad979437 100644 --- a/internal/schema/handler_test.go +++ b/internal/schema/handler_test.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package schema_test diff --git a/internal/schema/itemtype_string.go b/internal/schema/itemtype_string.go index f6c43ee9e..c00f7375c 100644 --- a/internal/schema/itemtype_string.go +++ b/internal/schema/itemtype_string.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 // Code generated by "stringer -type=itemType -trimprefix item -linecomment"; DO NOT EDIT. diff --git a/internal/schema/lexer.go b/internal/schema/lexer.go index 44adf5d7b..0bdb649e6 100644 --- a/internal/schema/lexer.go +++ b/internal/schema/lexer.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 // The lexer is inspired by Rob Pike's talk at // https://www.youtube.com/watch?v=HxaD_trXwRE. diff --git a/internal/schema/lexer_test.go b/internal/schema/lexer_test.go index b19f3ed7b..f095b2a4a 100644 --- a/internal/schema/lexer_test.go +++ b/internal/schema/lexer_test.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package schema diff --git a/internal/schema/limits.go b/internal/schema/limits.go index 8827c6ff3..d849c6d7f 100644 --- a/internal/schema/limits.go +++ b/internal/schema/limits.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package schema diff --git a/internal/schema/parse_errors.go b/internal/schema/parse_errors.go index ed4c6be49..2e450e58f 100644 --- a/internal/schema/parse_errors.go +++ b/internal/schema/parse_errors.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package schema diff --git a/internal/schema/parser.go b/internal/schema/parser.go index c703c3613..0682c188e 100644 --- a/internal/schema/parser.go +++ b/internal/schema/parser.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package schema diff --git a/internal/schema/parser_fuzzer.go b/internal/schema/parser_fuzzer.go index c1c9eb36c..f5141d4a6 100644 --- a/internal/schema/parser_fuzzer.go +++ b/internal/schema/parser_fuzzer.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package schema diff --git a/internal/schema/parser_test.go b/internal/schema/parser_test.go index 68abd0bcb..94a2e8f2e 100644 --- a/internal/schema/parser_test.go +++ b/internal/schema/parser_test.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package schema diff --git a/internal/schema/typechecks.go b/internal/schema/typechecks.go index 46fa1b073..766bc53fe 100644 --- a/internal/schema/typechecks.go +++ b/internal/schema/typechecks.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package schema diff --git a/internal/swagger_types.go b/internal/swagger_types.go index 99ab1fed1..16c884e22 100644 --- a/internal/swagger_types.go +++ b/internal/swagger_types.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package internal diff --git a/internal/x/dbx/dsn_cockroach.go b/internal/x/dbx/dsn_cockroach.go index 5f30dc588..fa9cee9e5 100644 --- a/internal/x/dbx/dsn_cockroach.go +++ b/internal/x/dbx/dsn_cockroach.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 //go:build !nocrdb && !nocockroach diff --git a/internal/x/dbx/dsn_mysql.go b/internal/x/dbx/dsn_mysql.go index 976ad7507..91471e340 100644 --- a/internal/x/dbx/dsn_mysql.go +++ b/internal/x/dbx/dsn_mysql.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 //go:build !nomysql diff --git a/internal/x/dbx/dsn_nocockroach.go b/internal/x/dbx/dsn_nocockroach.go index ec254cc75..beb01c15e 100644 --- a/internal/x/dbx/dsn_nocockroach.go +++ b/internal/x/dbx/dsn_nocockroach.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 //go:build nocrdb || nocockroach diff --git a/internal/x/dbx/dsn_nomysql.go b/internal/x/dbx/dsn_nomysql.go index 030ad20d1..680f749f5 100644 --- a/internal/x/dbx/dsn_nomysql.go +++ b/internal/x/dbx/dsn_nomysql.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 //go:build nomysql diff --git a/internal/x/dbx/dsn_nopostgres.go b/internal/x/dbx/dsn_nopostgres.go index 33b528984..83b1c8375 100644 --- a/internal/x/dbx/dsn_nopostgres.go +++ b/internal/x/dbx/dsn_nopostgres.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 //go:build nopostgres diff --git a/internal/x/dbx/dsn_nosqlite.go b/internal/x/dbx/dsn_nosqlite.go index 86d07bc15..6b0b891b9 100644 --- a/internal/x/dbx/dsn_nosqlite.go +++ b/internal/x/dbx/dsn_nosqlite.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 //go:build !sqlite diff --git a/internal/x/dbx/dsn_postgres.go b/internal/x/dbx/dsn_postgres.go index a492ae305..a7e48e54a 100644 --- a/internal/x/dbx/dsn_postgres.go +++ b/internal/x/dbx/dsn_postgres.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 //go:build !nopostgres diff --git a/internal/x/dbx/dsn_sqlite.go b/internal/x/dbx/dsn_sqlite.go index ab8a6372d..3a157b4a3 100644 --- a/internal/x/dbx/dsn_sqlite.go +++ b/internal/x/dbx/dsn_sqlite.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 //go:build sqlite diff --git a/internal/x/dbx/dsn_testutils.go b/internal/x/dbx/dsn_testutils.go index 4463b09c1..e31b82b0c 100644 --- a/internal/x/dbx/dsn_testutils.go +++ b/internal/x/dbx/dsn_testutils.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package dbx diff --git a/internal/x/dbx/dsn_testutils_test.go b/internal/x/dbx/dsn_testutils_test.go index e1b43dac4..0ce51f5d7 100644 --- a/internal/x/dbx/dsn_testutils_test.go +++ b/internal/x/dbx/dsn_testutils_test.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package dbx diff --git a/internal/x/graph/graph_utils.go b/internal/x/graph/graph_utils.go index a642d5884..d62773b7d 100644 --- a/internal/x/graph/graph_utils.go +++ b/internal/x/graph/graph_utils.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package graph diff --git a/internal/x/graph/graph_utils_test.go b/internal/x/graph/graph_utils_test.go index 570927839..749bb06d5 100644 --- a/internal/x/graph/graph_utils_test.go +++ b/internal/x/graph/graph_utils_test.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package graph diff --git a/internal/x/helpers.go b/internal/x/helpers.go index 9ef8dc1e4..ed9f689ce 100644 --- a/internal/x/helpers.go +++ b/internal/x/helpers.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package x diff --git a/internal/x/max_depth.go b/internal/x/max_depth.go index 7ebe4f5a7..0b8266056 100644 --- a/internal/x/max_depth.go +++ b/internal/x/max_depth.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package x diff --git a/internal/x/pagination.go b/internal/x/pagination.go index 0a61a4852..b55b45ea7 100644 --- a/internal/x/pagination.go +++ b/internal/x/pagination.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package x diff --git a/internal/x/registry.go b/internal/x/registry.go index 8c2491098..b9d6e6014 100644 --- a/internal/x/registry.go +++ b/internal/x/registry.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package x diff --git a/internal/x/router.go b/internal/x/router.go index e3815286f..1506586b6 100644 --- a/internal/x/router.go +++ b/internal/x/router.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package x diff --git a/ketoapi/cmd_output.go b/ketoapi/cmd_output.go index 3f750fd00..30c53441c 100644 --- a/ketoapi/cmd_output.go +++ b/ketoapi/cmd_output.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package ketoapi diff --git a/ketoapi/enc_proto.go b/ketoapi/enc_proto.go index db4332f5f..97f7f9c38 100644 --- a/ketoapi/enc_proto.go +++ b/ketoapi/enc_proto.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package ketoapi diff --git a/ketoapi/enc_string.go b/ketoapi/enc_string.go index 192ba9c06..4a6db9fda 100644 --- a/ketoapi/enc_string.go +++ b/ketoapi/enc_string.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package ketoapi diff --git a/ketoapi/enc_test.go b/ketoapi/enc_test.go index 63e8c7ee5..6c73b0dbb 100644 --- a/ketoapi/enc_test.go +++ b/ketoapi/enc_test.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package ketoapi diff --git a/ketoapi/enc_url_query.go b/ketoapi/enc_url_query.go index 92fdaa875..cbdaa31ff 100644 --- a/ketoapi/enc_url_query.go +++ b/ketoapi/enc_url_query.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package ketoapi diff --git a/ketoapi/public_api_definitions.go b/ketoapi/public_api_definitions.go index b0b7ed5c7..902f4f5f8 100644 --- a/ketoapi/public_api_definitions.go +++ b/ketoapi/public_api_definitions.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package ketoapi diff --git a/ketoctx/contextualizer.go b/ketoctx/contextualizer.go index 6ab6ec58b..77860cd41 100644 --- a/ketoctx/contextualizer.go +++ b/ketoctx/contextualizer.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package ketoctx diff --git a/ketoctx/contextualizer_test.go b/ketoctx/contextualizer_test.go index ae60622b8..69c9a0aad 100644 --- a/ketoctx/contextualizer_test.go +++ b/ketoctx/contextualizer_test.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package ketoctx diff --git a/ketoctx/options.go b/ketoctx/options.go index 24976f67f..630623bee 100644 --- a/ketoctx/options.go +++ b/ketoctx/options.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package ketoctx diff --git a/ketoctx/options_test.go b/ketoctx/options_test.go index 61be00079..18a067a8f 100644 --- a/ketoctx/options_test.go +++ b/ketoctx/options_test.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package ketoctx diff --git a/main.go b/main.go index 27067fee7..cb0d58758 100644 --- a/main.go +++ b/main.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package main diff --git a/spec/files.go b/spec/files.go index 4862e6b8c..d1bbbdad6 100644 --- a/spec/files.go +++ b/spec/files.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package spec