netlify-cli 17.13.2 → 17.14.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/run.js +3 -3
- package/dist/commands/addons/addons-auth.d.ts +4 -0
- package/dist/commands/addons/addons-auth.d.ts.map +1 -0
- package/dist/commands/addons/addons-config.d.ts +4 -0
- package/dist/commands/addons/addons-config.d.ts.map +1 -0
- package/dist/commands/addons/addons-create.d.ts +4 -0
- package/dist/commands/addons/addons-create.d.ts.map +1 -0
- package/dist/commands/addons/addons-delete.d.ts +4 -0
- package/dist/commands/addons/addons-delete.d.ts.map +1 -0
- package/dist/commands/addons/addons-list.d.ts +4 -0
- package/dist/commands/addons/addons-list.d.ts.map +1 -0
- package/dist/commands/addons/addons.d.ts +3 -0
- package/dist/commands/addons/addons.d.ts.map +1 -0
- package/dist/commands/addons/index.d.ts +2 -0
- package/dist/commands/addons/index.d.ts.map +1 -0
- package/dist/commands/api/api.d.ts +4 -0
- package/dist/commands/api/api.d.ts.map +1 -0
- package/dist/commands/api/index.d.ts +3 -0
- package/dist/commands/api/index.d.ts.map +1 -0
- package/dist/commands/base-command.d.ts +78 -0
- package/dist/commands/base-command.d.ts.map +1 -0
- package/dist/commands/blobs/blobs-delete.d.ts +5 -0
- package/dist/commands/blobs/blobs-delete.d.ts.map +1 -0
- package/dist/commands/blobs/blobs-get.d.ts +8 -0
- package/dist/commands/blobs/blobs-get.d.ts.map +1 -0
- package/dist/commands/blobs/blobs-list.d.ts +10 -0
- package/dist/commands/blobs/blobs-list.d.ts.map +1 -0
- package/dist/commands/blobs/blobs-set.d.ts +8 -0
- package/dist/commands/blobs/blobs-set.d.ts.map +1 -0
- package/dist/commands/blobs/blobs.d.ts +6 -0
- package/dist/commands/blobs/blobs.d.ts.map +1 -0
- package/dist/commands/blobs/index.d.ts +2 -0
- package/dist/commands/blobs/index.d.ts.map +1 -0
- package/dist/commands/build/build.d.ts +13 -0
- package/dist/commands/build/build.d.ts.map +1 -0
- package/dist/commands/build/index.d.ts +3 -0
- package/dist/commands/build/index.d.ts.map +1 -0
- package/dist/commands/completion/completion.d.ts +5 -0
- package/dist/commands/completion/completion.d.ts.map +1 -0
- package/dist/commands/completion/index.d.ts +3 -0
- package/dist/commands/completion/index.d.ts.map +1 -0
- package/dist/commands/deploy/deploy.d.ts +4 -0
- package/dist/commands/deploy/deploy.d.ts.map +1 -0
- package/dist/commands/deploy/index.d.ts +3 -0
- package/dist/commands/deploy/index.d.ts.map +1 -0
- package/dist/commands/dev/dev-exec.d.ts +5 -0
- package/dist/commands/dev/dev-exec.d.ts.map +1 -0
- package/dist/commands/dev/dev.d.ts +5 -0
- package/dist/commands/dev/dev.d.ts.map +1 -0
- package/{src → dist}/commands/dev/dev.js +2 -2
- package/dist/commands/dev/index.d.ts +2 -0
- package/dist/commands/dev/index.d.ts.map +1 -0
- package/dist/commands/env/env-clone.d.ts +4 -0
- package/dist/commands/env/env-clone.d.ts.map +1 -0
- package/dist/commands/env/env-get.d.ts +4 -0
- package/dist/commands/env/env-get.d.ts.map +1 -0
- package/dist/commands/env/env-import.d.ts +4 -0
- package/dist/commands/env/env-import.d.ts.map +1 -0
- package/dist/commands/env/env-list.d.ts +4 -0
- package/dist/commands/env/env-list.d.ts.map +1 -0
- package/dist/commands/env/env-set.d.ts +4 -0
- package/dist/commands/env/env-set.d.ts.map +1 -0
- package/dist/commands/env/env-unset.d.ts +4 -0
- package/dist/commands/env/env-unset.d.ts.map +1 -0
- package/dist/commands/env/env.d.ts +3 -0
- package/dist/commands/env/env.d.ts.map +1 -0
- package/dist/commands/env/index.d.ts +2 -0
- package/dist/commands/env/index.d.ts.map +1 -0
- package/dist/commands/functions/functions-build.d.ts +4 -0
- package/dist/commands/functions/functions-build.d.ts.map +1 -0
- package/dist/commands/functions/functions-create.d.ts +4 -0
- package/dist/commands/functions/functions-create.d.ts.map +1 -0
- package/{src → dist}/commands/functions/functions-create.js +10 -8
- package/dist/commands/functions/functions-invoke.d.ts +4 -0
- package/dist/commands/functions/functions-invoke.d.ts.map +1 -0
- package/dist/commands/functions/functions-list.d.ts +4 -0
- package/dist/commands/functions/functions-list.d.ts.map +1 -0
- package/dist/commands/functions/functions-serve.d.ts +4 -0
- package/dist/commands/functions/functions-serve.d.ts.map +1 -0
- package/dist/commands/functions/functions.d.ts +3 -0
- package/dist/commands/functions/functions.d.ts.map +1 -0
- package/dist/commands/functions/index.d.ts +2 -0
- package/dist/commands/functions/index.d.ts.map +1 -0
- package/dist/commands/index.d.ts +3 -0
- package/dist/commands/index.d.ts.map +1 -0
- package/dist/commands/init/index.d.ts +3 -0
- package/dist/commands/init/index.d.ts.map +1 -0
- package/dist/commands/init/init.d.ts +4 -0
- package/dist/commands/init/init.d.ts.map +1 -0
- package/dist/commands/integration/deploy.d.ts +8 -0
- package/dist/commands/integration/deploy.d.ts.map +1 -0
- package/dist/commands/integration/index.d.ts +4 -0
- package/dist/commands/integration/index.d.ts.map +1 -0
- package/dist/commands/link/index.d.ts +3 -0
- package/dist/commands/link/index.d.ts.map +1 -0
- package/dist/commands/link/link.d.ts +4 -0
- package/dist/commands/link/link.d.ts.map +1 -0
- package/dist/commands/lm/index.d.ts +2 -0
- package/dist/commands/lm/index.d.ts.map +1 -0
- package/dist/commands/lm/lm-info.d.ts +5 -0
- package/dist/commands/lm/lm-info.d.ts.map +1 -0
- package/dist/commands/lm/lm-install.d.ts +3 -0
- package/dist/commands/lm/lm-install.d.ts.map +1 -0
- package/dist/commands/lm/lm-setup.d.ts +4 -0
- package/dist/commands/lm/lm-setup.d.ts.map +1 -0
- package/dist/commands/lm/lm-uninstall.d.ts +5 -0
- package/dist/commands/lm/lm-uninstall.d.ts.map +1 -0
- package/dist/commands/lm/lm.d.ts +3 -0
- package/dist/commands/lm/lm.d.ts.map +1 -0
- package/dist/commands/login/index.d.ts +3 -0
- package/dist/commands/login/index.d.ts.map +1 -0
- package/dist/commands/login/login.d.ts +4 -0
- package/dist/commands/login/login.d.ts.map +1 -0
- package/dist/commands/logout/index.d.ts +3 -0
- package/dist/commands/logout/index.d.ts.map +1 -0
- package/dist/commands/logout/logout.d.ts +4 -0
- package/dist/commands/logout/logout.d.ts.map +1 -0
- package/dist/commands/logs/build.d.ts +8 -0
- package/dist/commands/logs/build.d.ts.map +1 -0
- package/dist/commands/logs/functions.d.ts +4 -0
- package/dist/commands/logs/functions.d.ts.map +1 -0
- package/dist/commands/logs/index.d.ts +5 -0
- package/dist/commands/logs/index.d.ts.map +1 -0
- package/dist/commands/logs/log-levels.d.ts +11 -0
- package/dist/commands/logs/log-levels.d.ts.map +1 -0
- package/dist/commands/main.d.ts +8 -0
- package/dist/commands/main.d.ts.map +1 -0
- package/dist/commands/open/index.d.ts +3 -0
- package/dist/commands/open/index.d.ts.map +1 -0
- package/dist/commands/open/open-admin.d.ts +4 -0
- package/dist/commands/open/open-admin.d.ts.map +1 -0
- package/dist/commands/open/open-site.d.ts +4 -0
- package/dist/commands/open/open-site.d.ts.map +1 -0
- package/dist/commands/open/open.d.ts +4 -0
- package/dist/commands/open/open.d.ts.map +1 -0
- package/dist/commands/recipes/common.d.ts +3 -0
- package/dist/commands/recipes/common.d.ts.map +1 -0
- package/dist/commands/recipes/index.d.ts +3 -0
- package/dist/commands/recipes/index.d.ts.map +1 -0
- package/dist/commands/recipes/recipes-list.d.ts +5 -0
- package/dist/commands/recipes/recipes-list.d.ts.map +1 -0
- package/dist/commands/recipes/recipes.d.ts +9 -0
- package/dist/commands/recipes/recipes.d.ts.map +1 -0
- package/dist/commands/serve/index.d.ts +3 -0
- package/dist/commands/serve/index.d.ts.map +1 -0
- package/dist/commands/serve/serve.d.ts +4 -0
- package/dist/commands/serve/serve.d.ts.map +1 -0
- package/{src → dist}/commands/serve/serve.js +7 -7
- package/dist/commands/sites/index.d.ts +2 -0
- package/dist/commands/sites/index.d.ts.map +1 -0
- package/dist/commands/sites/sites-create-template.d.ts +5 -0
- package/dist/commands/sites/sites-create-template.d.ts.map +1 -0
- package/dist/commands/sites/sites-create.d.ts +7 -0
- package/dist/commands/sites/sites-create.d.ts.map +1 -0
- package/dist/commands/sites/sites-delete.d.ts +4 -0
- package/dist/commands/sites/sites-delete.d.ts.map +1 -0
- package/dist/commands/sites/sites-list.d.ts +4 -0
- package/dist/commands/sites/sites-list.d.ts.map +1 -0
- package/dist/commands/sites/sites.d.ts +5 -0
- package/dist/commands/sites/sites.d.ts.map +1 -0
- package/dist/commands/status/index.d.ts +3 -0
- package/dist/commands/status/index.d.ts.map +1 -0
- package/dist/commands/status/status-hooks.d.ts +4 -0
- package/dist/commands/status/status-hooks.d.ts.map +1 -0
- package/dist/commands/status/status.d.ts +4 -0
- package/dist/commands/status/status.d.ts.map +1 -0
- package/dist/commands/switch/index.d.ts +3 -0
- package/dist/commands/switch/index.d.ts.map +1 -0
- package/dist/commands/switch/switch.d.ts +4 -0
- package/dist/commands/switch/switch.d.ts.map +1 -0
- package/dist/commands/unlink/index.d.ts +3 -0
- package/dist/commands/unlink/index.d.ts.map +1 -0
- package/dist/commands/unlink/unlink.d.ts +4 -0
- package/dist/commands/unlink/unlink.d.ts.map +1 -0
- package/dist/commands/watch/index.d.ts +3 -0
- package/dist/commands/watch/index.d.ts.map +1 -0
- package/dist/commands/watch/watch.d.ts +4 -0
- package/dist/commands/watch/watch.d.ts.map +1 -0
- package/dist/lib/account.d.ts +6 -0
- package/dist/lib/account.d.ts.map +1 -0
- package/dist/lib/api.d.ts +9 -0
- package/dist/lib/api.d.ts.map +1 -0
- package/dist/lib/blobs/blobs.d.ts +24 -0
- package/dist/lib/blobs/blobs.d.ts.map +1 -0
- package/dist/lib/build.d.ts +71 -0
- package/dist/lib/build.d.ts.map +1 -0
- package/dist/lib/completion/constants.d.ts +2 -0
- package/dist/lib/completion/constants.d.ts.map +1 -0
- package/dist/lib/completion/generate-autocompletion.d.ts +8 -0
- package/dist/lib/completion/generate-autocompletion.d.ts.map +1 -0
- package/dist/lib/completion/get-autocompletion.d.ts +13 -0
- package/dist/lib/completion/get-autocompletion.d.ts.map +1 -0
- package/dist/lib/completion/index.d.ts +2 -0
- package/dist/lib/completion/index.d.ts.map +1 -0
- package/dist/lib/completion/script.d.ts +3 -0
- package/dist/lib/completion/script.d.ts.map +1 -0
- package/dist/lib/edge-functions/bootstrap.d.ts +2 -0
- package/dist/lib/edge-functions/bootstrap.d.ts.map +1 -0
- package/dist/lib/edge-functions/consts.d.ts +11 -0
- package/dist/lib/edge-functions/consts.d.ts.map +1 -0
- package/dist/lib/edge-functions/deploy.d.ts +11 -0
- package/dist/lib/edge-functions/deploy.d.ts.map +1 -0
- package/dist/lib/edge-functions/editor-helper.d.ts +9 -0
- package/dist/lib/edge-functions/editor-helper.d.ts.map +1 -0
- package/dist/lib/edge-functions/headers.d.ts +34 -0
- package/dist/lib/edge-functions/headers.d.ts.map +1 -0
- package/dist/lib/edge-functions/proxy.d.ts +57 -0
- package/dist/lib/edge-functions/proxy.d.ts.map +1 -0
- package/dist/lib/edge-functions/registry.d.ts +100 -0
- package/dist/lib/edge-functions/registry.d.ts.map +1 -0
- package/dist/lib/exec-fetcher.d.ts +31 -0
- package/dist/lib/exec-fetcher.d.ts.map +1 -0
- package/dist/lib/fs.d.ts +12 -0
- package/dist/lib/fs.d.ts.map +1 -0
- package/dist/lib/functions/background.d.ts +3 -0
- package/dist/lib/functions/background.d.ts.map +1 -0
- package/dist/lib/functions/config.d.ts +6 -0
- package/dist/lib/functions/config.d.ts.map +1 -0
- package/dist/lib/functions/form-submissions-handler.d.ts +5 -0
- package/dist/lib/functions/form-submissions-handler.d.ts.map +1 -0
- package/dist/lib/functions/local-proxy.d.ts +9 -0
- package/dist/lib/functions/local-proxy.d.ts.map +1 -0
- package/dist/lib/functions/memoized-build.d.ts +6 -0
- package/dist/lib/functions/memoized-build.d.ts.map +1 -0
- package/dist/lib/functions/netlify-function.d.ts +71 -0
- package/dist/lib/functions/netlify-function.d.ts.map +1 -0
- package/dist/lib/functions/registry.d.ts +103 -0
- package/dist/lib/functions/registry.d.ts.map +1 -0
- package/dist/lib/functions/runtimes/go/index.d.ts +25 -0
- package/dist/lib/functions/runtimes/go/index.d.ts.map +1 -0
- package/dist/lib/functions/runtimes/index.d.ts +42 -0
- package/dist/lib/functions/runtimes/index.d.ts.map +1 -0
- package/dist/lib/functions/runtimes/js/builders/netlify-lambda.d.ts +21 -0
- package/dist/lib/functions/runtimes/js/builders/netlify-lambda.d.ts.map +1 -0
- package/dist/lib/functions/runtimes/js/builders/zisi.d.ts +45 -0
- package/dist/lib/functions/runtimes/js/builders/zisi.d.ts.map +1 -0
- package/dist/lib/functions/runtimes/js/constants.d.ts +2 -0
- package/dist/lib/functions/runtimes/js/constants.d.ts.map +1 -0
- package/dist/lib/functions/runtimes/js/index.d.ts +23 -0
- package/dist/lib/functions/runtimes/js/index.d.ts.map +1 -0
- package/dist/lib/functions/runtimes/js/worker.d.ts +2 -0
- package/dist/lib/functions/runtimes/js/worker.d.ts.map +1 -0
- package/dist/lib/functions/runtimes/rust/index.d.ts +25 -0
- package/dist/lib/functions/runtimes/rust/index.d.ts.map +1 -0
- package/dist/lib/functions/scheduled.d.ts +17 -0
- package/dist/lib/functions/scheduled.d.ts.map +1 -0
- package/dist/lib/functions/server.d.ts +20 -0
- package/dist/lib/functions/server.d.ts.map +1 -0
- package/{src → dist}/lib/functions/server.js +2 -1
- package/dist/lib/functions/synchronous.d.ts +8 -0
- package/dist/lib/functions/synchronous.d.ts.map +1 -0
- package/{src → dist}/lib/functions/synchronous.js +1 -1
- package/dist/lib/functions/utils.d.ts +11 -0
- package/dist/lib/functions/utils.d.ts.map +1 -0
- package/dist/lib/geo-location.d.ts +46 -0
- package/dist/lib/geo-location.d.ts.map +1 -0
- package/dist/lib/http-agent.d.ts +18 -0
- package/dist/lib/http-agent.d.ts.map +1 -0
- package/dist/lib/images/proxy.d.ts +34 -0
- package/dist/lib/images/proxy.d.ts.map +1 -0
- package/dist/lib/log.d.ts +3 -0
- package/dist/lib/log.d.ts.map +1 -0
- package/dist/lib/path.d.ts +2 -0
- package/dist/lib/path.d.ts.map +1 -0
- package/dist/lib/render-error-template.d.ts +3 -0
- package/dist/lib/render-error-template.d.ts.map +1 -0
- package/dist/lib/settings.d.ts +20 -0
- package/dist/lib/settings.d.ts.map +1 -0
- package/dist/lib/spinner.d.ts +32 -0
- package/dist/lib/spinner.d.ts.map +1 -0
- package/dist/lib/string.d.ts +2 -0
- package/dist/lib/string.d.ts.map +1 -0
- package/dist/recipes/vscode/index.d.ts +12 -0
- package/dist/recipes/vscode/index.d.ts.map +1 -0
- package/dist/recipes/vscode/settings.d.ts +18 -0
- package/dist/recipes/vscode/settings.d.ts.map +1 -0
- package/dist/tsconfig.tsbuildinfo +1 -0
- package/dist/utils/addons/compare.d.ts +2 -0
- package/dist/utils/addons/compare.d.ts.map +1 -0
- package/dist/utils/addons/diffs/index.d.ts +2 -0
- package/dist/utils/addons/diffs/index.d.ts.map +1 -0
- package/dist/utils/addons/diffs/options.d.ts +221 -0
- package/dist/utils/addons/diffs/options.d.ts.map +1 -0
- package/dist/utils/addons/prepare.d.ts +38 -0
- package/dist/utils/addons/prepare.d.ts.map +1 -0
- package/dist/utils/addons/prompts.d.ts +12 -0
- package/dist/utils/addons/prompts.d.ts.map +1 -0
- package/dist/utils/addons/render.d.ts +3 -0
- package/dist/utils/addons/render.d.ts.map +1 -0
- package/dist/utils/addons/validation.d.ts +4 -0
- package/dist/utils/addons/validation.d.ts.map +1 -0
- package/dist/utils/banner.d.ts +4 -0
- package/dist/utils/banner.d.ts.map +1 -0
- package/dist/utils/build-info.d.ts +14 -0
- package/dist/utils/build-info.d.ts.map +1 -0
- package/dist/utils/command-helpers.d.ts +86 -0
- package/dist/utils/command-helpers.d.ts.map +1 -0
- package/dist/utils/create-deferred.d.ts +7 -0
- package/dist/utils/create-deferred.d.ts.map +1 -0
- package/dist/utils/create-stream-promise.d.ts +3 -0
- package/dist/utils/create-stream-promise.d.ts.map +1 -0
- package/dist/utils/deploy/constants.d.ts +10 -0
- package/dist/utils/deploy/constants.d.ts.map +1 -0
- package/dist/utils/deploy/deploy-site.d.ts +20 -0
- package/dist/utils/deploy/deploy-site.d.ts.map +1 -0
- package/dist/utils/deploy/hash-config.d.ts +10 -0
- package/dist/utils/deploy/hash-config.d.ts.map +1 -0
- package/dist/utils/deploy/hash-files.d.ts +14 -0
- package/dist/utils/deploy/hash-files.d.ts.map +1 -0
- package/dist/utils/deploy/hash-fns.d.ts +27 -0
- package/dist/utils/deploy/hash-fns.d.ts.map +1 -0
- package/dist/utils/deploy/hasher-segments.d.ts +14 -0
- package/dist/utils/deploy/hasher-segments.d.ts.map +1 -0
- package/dist/utils/deploy/upload-files.d.ts +7 -0
- package/dist/utils/deploy/upload-files.d.ts.map +1 -0
- package/dist/utils/deploy/util.d.ts +5 -0
- package/dist/utils/deploy/util.d.ts.map +1 -0
- package/dist/utils/detect-server-settings.d.ts +15 -0
- package/dist/utils/detect-server-settings.d.ts.map +1 -0
- package/dist/utils/dev.d.ts +62 -0
- package/dist/utils/dev.d.ts.map +1 -0
- package/{src → dist}/utils/dev.js +1 -0
- package/dist/utils/dot-env.d.ts +26 -0
- package/dist/utils/dot-env.d.ts.map +1 -0
- package/dist/utils/env/index.d.ts +99 -0
- package/dist/utils/env/index.d.ts.map +1 -0
- package/dist/utils/execa.d.ts +4 -0
- package/dist/utils/execa.d.ts.map +1 -0
- package/dist/utils/feature-flags.d.ts +20 -0
- package/dist/utils/feature-flags.d.ts.map +1 -0
- package/dist/utils/framework-server.d.ts +13 -0
- package/dist/utils/framework-server.d.ts.map +1 -0
- package/dist/utils/functions/constants.d.ts +2 -0
- package/dist/utils/functions/constants.d.ts.map +1 -0
- package/dist/utils/functions/functions.d.ts +35 -0
- package/dist/utils/functions/functions.d.ts.map +1 -0
- package/dist/utils/functions/get-functions.d.ts +10 -0
- package/dist/utils/functions/get-functions.d.ts.map +1 -0
- package/dist/utils/functions/index.d.ts +4 -0
- package/dist/utils/functions/index.d.ts.map +1 -0
- package/dist/utils/get-global-config.d.ts +7 -0
- package/dist/utils/get-global-config.d.ts.map +1 -0
- package/dist/utils/get-package-json.d.ts +3 -0
- package/dist/utils/get-package-json.d.ts.map +1 -0
- package/dist/utils/get-repo-data.d.ts +31 -0
- package/dist/utils/get-repo-data.d.ts.map +1 -0
- package/dist/utils/get-site.d.ts +2 -0
- package/dist/utils/get-site.d.ts.map +1 -0
- package/dist/utils/gh-auth.d.ts +11 -0
- package/dist/utils/gh-auth.d.ts.map +1 -0
- package/dist/utils/gitignore.d.ts +2 -0
- package/dist/utils/gitignore.d.ts.map +1 -0
- package/dist/utils/headers.d.ts +20 -0
- package/dist/utils/headers.d.ts.map +1 -0
- package/dist/utils/hooks/requires-site-info.d.ts +7 -0
- package/dist/utils/hooks/requires-site-info.d.ts.map +1 -0
- package/dist/utils/init/config-github.d.ts +21 -0
- package/dist/utils/init/config-github.d.ts.map +1 -0
- package/dist/utils/init/config-manual.d.ts +12 -0
- package/dist/utils/init/config-manual.d.ts.map +1 -0
- package/dist/utils/init/config.d.ts +14 -0
- package/dist/utils/init/config.d.ts.map +1 -0
- package/dist/utils/init/node-version.d.ts +5 -0
- package/dist/utils/init/node-version.d.ts.map +1 -0
- package/dist/utils/init/plugins.d.ts +3 -0
- package/dist/utils/init/plugins.d.ts.map +1 -0
- package/dist/utils/init/utils.d.ts +54 -0
- package/dist/utils/init/utils.d.ts.map +1 -0
- package/dist/utils/live-tunnel.d.ts +8 -0
- package/dist/utils/live-tunnel.d.ts.map +1 -0
- package/dist/utils/lm/install.d.ts +11 -0
- package/dist/utils/lm/install.d.ts.map +1 -0
- package/{src → dist}/utils/lm/install.js +17 -25
- package/dist/utils/lm/requirements.d.ts +5 -0
- package/dist/utils/lm/requirements.d.ts.map +1 -0
- package/dist/utils/lm/steps.d.ts +17 -0
- package/dist/utils/lm/steps.d.ts.map +1 -0
- package/dist/utils/lm/ui.d.ts +5 -0
- package/dist/utils/lm/ui.d.ts.map +1 -0
- package/dist/utils/multimap.d.ts +6 -0
- package/dist/utils/multimap.d.ts.map +1 -0
- package/dist/utils/open-browser.d.ts +13 -0
- package/dist/utils/open-browser.d.ts.map +1 -0
- package/dist/utils/parse-raw-flags.d.ts +3 -0
- package/dist/utils/parse-raw-flags.d.ts.map +1 -0
- package/dist/utils/proxy-server.d.ts +62 -0
- package/dist/utils/proxy-server.d.ts.map +1 -0
- package/dist/utils/proxy.d.ts +26 -0
- package/dist/utils/proxy.d.ts.map +1 -0
- package/{src → dist}/utils/proxy.js +1 -1
- package/dist/utils/read-repo-url.d.ts +12 -0
- package/dist/utils/read-repo-url.d.ts.map +1 -0
- package/dist/utils/redirects.d.ts +5 -0
- package/dist/utils/redirects.d.ts.map +1 -0
- package/dist/utils/request-id.d.ts +2 -0
- package/dist/utils/request-id.d.ts.map +1 -0
- package/dist/utils/rules-proxy.d.ts +12 -0
- package/dist/utils/rules-proxy.d.ts.map +1 -0
- package/dist/utils/run-build.d.ts +38 -0
- package/dist/utils/run-build.d.ts.map +1 -0
- package/dist/utils/shell.d.ts +16 -0
- package/dist/utils/shell.d.ts.map +1 -0
- package/dist/utils/sign-redirect.d.ts +7 -0
- package/dist/utils/sign-redirect.d.ts.map +1 -0
- package/dist/utils/sites/utils.d.ts +13 -0
- package/dist/utils/sites/utils.d.ts.map +1 -0
- package/dist/utils/state-config.d.ts +12 -0
- package/dist/utils/state-config.d.ts.map +1 -0
- package/dist/utils/static-server.d.ts +8 -0
- package/dist/utils/static-server.d.ts.map +1 -0
- package/dist/utils/telemetry/index.d.ts +3 -0
- package/dist/utils/telemetry/index.d.ts.map +1 -0
- package/dist/utils/telemetry/report-error.d.ts +10 -0
- package/dist/utils/telemetry/report-error.d.ts.map +1 -0
- package/dist/utils/telemetry/request.d.ts +2 -0
- package/dist/utils/telemetry/request.d.ts.map +1 -0
- package/dist/utils/telemetry/telemetry.d.ts +14 -0
- package/dist/utils/telemetry/telemetry.d.ts.map +1 -0
- package/dist/utils/telemetry/utils.d.ts +3 -0
- package/dist/utils/telemetry/utils.d.ts.map +1 -0
- package/dist/utils/telemetry/validation.d.ts +2 -0
- package/dist/utils/telemetry/validation.d.ts.map +1 -0
- package/dist/utils/types.d.ts +55 -0
- package/dist/utils/types.d.ts.map +1 -0
- package/dist/utils/types.js +1 -0
- package/dist/utils/validation.d.ts +6 -0
- package/dist/utils/validation.d.ts.map +1 -0
- package/dist/utils/websockets/index.d.ts +3 -0
- package/dist/utils/websockets/index.d.ts.map +1 -0
- package/{src/functions-templates → functions-templates}/rust/hello-world/src/main.rs +4 -4
- package/functions-templates/typescript/abtest/{{name}}.ts +31 -0
- package/functions-templates/typescript/geolocation/{{name}}.ts +23 -0
- package/functions-templates/typescript/hello-world/{{name}}.ts +12 -0
- package/functions-templates/typescript/json/{{name}}.ts +4 -0
- package/functions-templates/typescript/log/{{name}}.ts +9 -0
- package/functions-templates/typescript/scheduled-function/{{name}}.ts +12 -0
- package/functions-templates/typescript/set-cookies/{{name}}.ts +29 -0
- package/functions-templates/typescript/set-req-header/{{name}}.ts +5 -0
- package/functions-templates/typescript/set-res-header/{{name}}.ts +7 -0
- package/functions-templates/typescript/transform-response/{{name}}.ts +13 -0
- package/npm-shrinkwrap.json +16 -16
- package/package.json +6 -14
- package/scripts/postinstall.js +2 -2
- package/scripts/prepare-for-publish.js +56 -0
- package/src/lib/templates/function-error.html +0 -311
- /package/{src → dist}/commands/addons/addons-auth.js +0 -0
- /package/{src → dist}/commands/addons/addons-config.js +0 -0
- /package/{src → dist}/commands/addons/addons-create.js +0 -0
- /package/{src → dist}/commands/addons/addons-delete.js +0 -0
- /package/{src → dist}/commands/addons/addons-list.js +0 -0
- /package/{src → dist}/commands/addons/addons.js +0 -0
- /package/{src → dist}/commands/addons/index.js +0 -0
- /package/{src → dist}/commands/api/api.js +0 -0
- /package/{src → dist}/commands/api/index.js +0 -0
- /package/{src → dist}/commands/base-command.js +0 -0
- /package/{src → dist}/commands/blobs/blobs-delete.js +0 -0
- /package/{src → dist}/commands/blobs/blobs-get.js +0 -0
- /package/{src → dist}/commands/blobs/blobs-list.js +0 -0
- /package/{src → dist}/commands/blobs/blobs-set.js +0 -0
- /package/{src → dist}/commands/blobs/blobs.js +0 -0
- /package/{src → dist}/commands/blobs/index.js +0 -0
- /package/{src → dist}/commands/build/build.js +0 -0
- /package/{src → dist}/commands/build/index.js +0 -0
- /package/{src → dist}/commands/completion/completion.js +0 -0
- /package/{src → dist}/commands/completion/index.js +0 -0
- /package/{src → dist}/commands/deploy/deploy.js +0 -0
- /package/{src → dist}/commands/deploy/index.js +0 -0
- /package/{src → dist}/commands/dev/dev-exec.js +0 -0
- /package/{src → dist}/commands/dev/index.js +0 -0
- /package/{src → dist}/commands/env/env-clone.js +0 -0
- /package/{src → dist}/commands/env/env-get.js +0 -0
- /package/{src → dist}/commands/env/env-import.js +0 -0
- /package/{src → dist}/commands/env/env-list.js +0 -0
- /package/{src → dist}/commands/env/env-set.js +0 -0
- /package/{src → dist}/commands/env/env-unset.js +0 -0
- /package/{src → dist}/commands/env/env.js +0 -0
- /package/{src → dist}/commands/env/index.js +0 -0
- /package/{src → dist}/commands/functions/functions-build.js +0 -0
- /package/{src → dist}/commands/functions/functions-invoke.js +0 -0
- /package/{src → dist}/commands/functions/functions-list.js +0 -0
- /package/{src → dist}/commands/functions/functions-serve.js +0 -0
- /package/{src → dist}/commands/functions/functions.js +0 -0
- /package/{src → dist}/commands/functions/index.js +0 -0
- /package/{src → dist}/commands/index.js +0 -0
- /package/{src → dist}/commands/init/index.js +0 -0
- /package/{src → dist}/commands/init/init.js +0 -0
- /package/{src → dist}/commands/integration/deploy.js +0 -0
- /package/{src → dist}/commands/integration/index.js +0 -0
- /package/{src → dist}/commands/link/index.js +0 -0
- /package/{src → dist}/commands/link/link.js +0 -0
- /package/{src → dist}/commands/lm/index.js +0 -0
- /package/{src → dist}/commands/lm/lm-info.js +0 -0
- /package/{src → dist}/commands/lm/lm-install.js +0 -0
- /package/{src → dist}/commands/lm/lm-setup.js +0 -0
- /package/{src → dist}/commands/lm/lm-uninstall.js +0 -0
- /package/{src → dist}/commands/lm/lm.js +0 -0
- /package/{src → dist}/commands/login/index.js +0 -0
- /package/{src → dist}/commands/login/login.js +0 -0
- /package/{src → dist}/commands/logout/index.js +0 -0
- /package/{src → dist}/commands/logout/logout.js +0 -0
- /package/{src → dist}/commands/logs/build.js +0 -0
- /package/{src → dist}/commands/logs/functions.js +0 -0
- /package/{src → dist}/commands/logs/index.js +0 -0
- /package/{src → dist}/commands/logs/log-levels.js +0 -0
- /package/{src → dist}/commands/main.js +0 -0
- /package/{src → dist}/commands/open/index.js +0 -0
- /package/{src → dist}/commands/open/open-admin.js +0 -0
- /package/{src → dist}/commands/open/open-site.js +0 -0
- /package/{src → dist}/commands/open/open.js +0 -0
- /package/{src → dist}/commands/recipes/common.js +0 -0
- /package/{src → dist}/commands/recipes/index.js +0 -0
- /package/{src → dist}/commands/recipes/recipes-list.js +0 -0
- /package/{src → dist}/commands/recipes/recipes.js +0 -0
- /package/{src → dist}/commands/serve/index.js +0 -0
- /package/{src → dist}/commands/sites/index.js +0 -0
- /package/{src → dist}/commands/sites/sites-create-template.js +0 -0
- /package/{src → dist}/commands/sites/sites-create.js +0 -0
- /package/{src → dist}/commands/sites/sites-delete.js +0 -0
- /package/{src → dist}/commands/sites/sites-list.js +0 -0
- /package/{src → dist}/commands/sites/sites.js +0 -0
- /package/{src → dist}/commands/status/index.js +0 -0
- /package/{src → dist}/commands/status/status-hooks.js +0 -0
- /package/{src → dist}/commands/status/status.js +0 -0
- /package/{src → dist}/commands/switch/index.js +0 -0
- /package/{src → dist}/commands/switch/switch.js +0 -0
- /package/{src → dist}/commands/unlink/index.js +0 -0
- /package/{src → dist}/commands/unlink/unlink.js +0 -0
- /package/{src → dist}/commands/watch/index.js +0 -0
- /package/{src → dist}/commands/watch/watch.js +0 -0
- /package/{src → dist}/lib/account.js +0 -0
- /package/{src → dist}/lib/api.js +0 -0
- /package/{src → dist}/lib/blobs/blobs.js +0 -0
- /package/{src → dist}/lib/build.js +0 -0
- /package/{src → dist}/lib/completion/constants.js +0 -0
- /package/{src → dist}/lib/completion/generate-autocompletion.js +0 -0
- /package/{src → dist}/lib/completion/get-autocompletion.js +0 -0
- /package/{src → dist}/lib/completion/index.js +0 -0
- /package/{src → dist}/lib/completion/script.js +0 -0
- /package/{src → dist}/lib/edge-functions/bootstrap.js +0 -0
- /package/{src → dist}/lib/edge-functions/consts.js +0 -0
- /package/{src → dist}/lib/edge-functions/deploy.js +0 -0
- /package/{src → dist}/lib/edge-functions/editor-helper.js +0 -0
- /package/{src → dist}/lib/edge-functions/headers.js +0 -0
- /package/{src → dist}/lib/edge-functions/proxy.js +0 -0
- /package/{src → dist}/lib/edge-functions/registry.js +0 -0
- /package/{src → dist}/lib/exec-fetcher.js +0 -0
- /package/{src → dist}/lib/fs.js +0 -0
- /package/{src → dist}/lib/functions/background.js +0 -0
- /package/{src → dist}/lib/functions/config.js +0 -0
- /package/{src → dist}/lib/functions/form-submissions-handler.js +0 -0
- /package/{src → dist}/lib/functions/local-proxy.js +0 -0
- /package/{src → dist}/lib/functions/memoized-build.js +0 -0
- /package/{src → dist}/lib/functions/netlify-function.js +0 -0
- /package/{src → dist}/lib/functions/registry.js +0 -0
- /package/{src → dist}/lib/functions/runtimes/go/index.js +0 -0
- /package/{src → dist}/lib/functions/runtimes/index.js +0 -0
- /package/{src → dist}/lib/functions/runtimes/js/builders/netlify-lambda.js +0 -0
- /package/{src → dist}/lib/functions/runtimes/js/builders/zisi.js +0 -0
- /package/{src → dist}/lib/functions/runtimes/js/constants.js +0 -0
- /package/{src → dist}/lib/functions/runtimes/js/index.js +0 -0
- /package/{src → dist}/lib/functions/runtimes/js/worker.js +0 -0
- /package/{src → dist}/lib/functions/runtimes/rust/index.js +0 -0
- /package/{src → dist}/lib/functions/scheduled.js +0 -0
- /package/{src → dist}/lib/functions/utils.js +0 -0
- /package/{src → dist}/lib/geo-location.js +0 -0
- /package/{src → dist}/lib/http-agent.js +0 -0
- /package/{src → dist}/lib/images/proxy.js +0 -0
- /package/{src → dist}/lib/log.js +0 -0
- /package/{src → dist}/lib/path.js +0 -0
- /package/{src → dist}/lib/render-error-template.js +0 -0
- /package/{src → dist}/lib/settings.js +0 -0
- /package/{src → dist}/lib/spinner.js +0 -0
- /package/{src → dist}/lib/string.js +0 -0
- /package/{src → dist}/recipes/vscode/index.js +0 -0
- /package/{src → dist}/recipes/vscode/settings.js +0 -0
- /package/{src → dist}/utils/addons/compare.js +0 -0
- /package/{src → dist}/utils/addons/diffs/index.js +0 -0
- /package/{src → dist}/utils/addons/diffs/options.js +0 -0
- /package/{src → dist}/utils/addons/prepare.js +0 -0
- /package/{src → dist}/utils/addons/prompts.js +0 -0
- /package/{src → dist}/utils/addons/render.js +0 -0
- /package/{src → dist}/utils/addons/validation.js +0 -0
- /package/{src → dist}/utils/banner.js +0 -0
- /package/{src → dist}/utils/build-info.js +0 -0
- /package/{src → dist}/utils/command-helpers.js +0 -0
- /package/{src → dist}/utils/create-deferred.js +0 -0
- /package/{src → dist}/utils/create-stream-promise.js +0 -0
- /package/{src → dist}/utils/deploy/constants.js +0 -0
- /package/{src → dist}/utils/deploy/deploy-site.js +0 -0
- /package/{src → dist}/utils/deploy/hash-config.js +0 -0
- /package/{src → dist}/utils/deploy/hash-files.js +0 -0
- /package/{src → dist}/utils/deploy/hash-fns.js +0 -0
- /package/{src → dist}/utils/deploy/hasher-segments.js +0 -0
- /package/{src → dist}/utils/deploy/upload-files.js +0 -0
- /package/{src → dist}/utils/deploy/util.js +0 -0
- /package/{src → dist}/utils/detect-server-settings.js +0 -0
- /package/{src → dist}/utils/dot-env.js +0 -0
- /package/{src → dist}/utils/env/index.js +0 -0
- /package/{src → dist}/utils/execa.js +0 -0
- /package/{src → dist}/utils/feature-flags.js +0 -0
- /package/{src → dist}/utils/framework-server.js +0 -0
- /package/{src → dist}/utils/functions/constants.js +0 -0
- /package/{src → dist}/utils/functions/functions.js +0 -0
- /package/{src → dist}/utils/functions/get-functions.js +0 -0
- /package/{src → dist}/utils/functions/index.js +0 -0
- /package/{src → dist}/utils/get-global-config.js +0 -0
- /package/{src → dist}/utils/get-package-json.js +0 -0
- /package/{src → dist}/utils/get-repo-data.js +0 -0
- /package/{src → dist}/utils/get-site.js +0 -0
- /package/{src → dist}/utils/gh-auth.js +0 -0
- /package/{src → dist}/utils/gitignore.js +0 -0
- /package/{src → dist}/utils/headers.js +0 -0
- /package/{src → dist}/utils/hooks/requires-site-info.js +0 -0
- /package/{src → dist}/utils/init/config-github.js +0 -0
- /package/{src → dist}/utils/init/config-manual.js +0 -0
- /package/{src → dist}/utils/init/config.js +0 -0
- /package/{src → dist}/utils/init/node-version.js +0 -0
- /package/{src → dist}/utils/init/plugins.js +0 -0
- /package/{src → dist}/utils/init/utils.js +0 -0
- /package/{src → dist}/utils/live-tunnel.js +0 -0
- /package/{src → dist}/utils/lm/requirements.js +0 -0
- /package/{src → dist}/utils/lm/steps.js +0 -0
- /package/{src → dist}/utils/lm/ui.js +0 -0
- /package/{src → dist}/utils/multimap.js +0 -0
- /package/{src → dist}/utils/open-browser.js +0 -0
- /package/{src → dist}/utils/parse-raw-flags.js +0 -0
- /package/{src → dist}/utils/proxy-server.js +0 -0
- /package/{src → dist}/utils/read-repo-url.js +0 -0
- /package/{src → dist}/utils/redirects.js +0 -0
- /package/{src → dist}/utils/request-id.js +0 -0
- /package/{src → dist}/utils/rules-proxy.js +0 -0
- /package/{src → dist}/utils/run-build.js +0 -0
- /package/{src → dist}/utils/shell.js +0 -0
- /package/{src → dist}/utils/sign-redirect.js +0 -0
- /package/{src → dist}/utils/sites/utils.js +0 -0
- /package/{src → dist}/utils/state-config.js +0 -0
- /package/{src → dist}/utils/static-server.js +0 -0
- /package/{src → dist}/utils/telemetry/index.js +0 -0
- /package/{src → dist}/utils/telemetry/report-error.js +0 -0
- /package/{src → dist}/utils/telemetry/request.js +0 -0
- /package/{src → dist}/utils/telemetry/telemetry.js +0 -0
- /package/{src → dist}/utils/telemetry/utils.js +0 -0
- /package/{src → dist}/utils/telemetry/validation.js +0 -0
- /package/{src → dist}/utils/validation.js +0 -0
- /package/{src → dist}/utils/websockets/index.js +0 -0
- /package/{src/functions-templates → functions-templates}/go/hello-world/.netlify-function-template.js +0 -0
- /package/{src/functions-templates → functions-templates}/go/hello-world/go.mod +0 -0
- /package/{src/functions-templates → functions-templates}/go/hello-world/go.sum +0 -0
- /package/{src/functions-templates → functions-templates}/go/hello-world/main.go +0 -0
- /package/{src/functions-templates → functions-templates}/javascript/hello/.netlify-function-template.js +0 -0
- /package/{src/functions-templates → functions-templates}/javascript/hello/{{name}}.js +0 -0
- /package/{src/functions-templates → functions-templates}/javascript/hello-world/.netlify-function-template.js +0 -0
- /package/{src/functions-templates → functions-templates}/javascript/hello-world/{{name}}.js +0 -0
- /package/{src/functions-templates → functions-templates}/javascript/identity-signup/.netlify-function-template.js +0 -0
- /package/{src/functions-templates → functions-templates}/javascript/identity-signup/{{name}}.js +0 -0
- /package/{src/functions-templates → functions-templates}/javascript/image-external/.netlify-function-template.js +0 -0
- /package/{src/functions-templates → functions-templates}/javascript/image-external/{{name}}.js +0 -0
- /package/{src/functions-templates → functions-templates}/javascript/localized-content/.netlify-function-template.js +0 -0
- /package/{src/functions-templates → functions-templates}/javascript/localized-content/{{name}}.js +0 -0
- /package/{src/functions-templates → functions-templates}/javascript/sanity-create/.netlify-function-template.js +0 -0
- /package/{src/functions-templates → functions-templates}/javascript/sanity-create/package.json +0 -0
- /package/{src/functions-templates → functions-templates}/javascript/sanity-create/{{name}}.js +0 -0
- /package/{src/functions-templates → functions-templates}/javascript/sanity-groq/.netlify-function-template.js +0 -0
- /package/{src/functions-templates → functions-templates}/javascript/sanity-groq/package.json +0 -0
- /package/{src/functions-templates → functions-templates}/javascript/sanity-groq/{{name}}.js +0 -0
- /package/{src/functions-templates → functions-templates}/javascript/scheduled-function/.netlify-function-template.js +0 -0
- /package/{src/functions-templates → functions-templates}/javascript/scheduled-function/package.json +0 -0
- /package/{src/functions-templates → functions-templates}/javascript/scheduled-function/{{name}}.js +0 -0
- /package/{src/functions-templates → functions-templates}/javascript/set-cookies/.netlify-function-template.js +0 -0
- /package/{src/functions-templates → functions-templates}/javascript/set-cookies/{{name}}.js +0 -0
- /package/{src/functions-templates → functions-templates}/javascript/set-req-header/.netlify-function-template.js +0 -0
- /package/{src/functions-templates → functions-templates}/javascript/set-req-header/{{name}}.js +0 -0
- /package/{src/functions-templates → functions-templates}/javascript/set-res-header/.netlify-function-template.js +0 -0
- /package/{src/functions-templates → functions-templates}/javascript/set-res-header/{{name}}.js +0 -0
- /package/{src/functions-templates → functions-templates}/javascript/submission-created/.netlify-function-template.js +0 -0
- /package/{src/functions-templates → functions-templates}/javascript/submission-created/package.json +0 -0
- /package/{src/functions-templates → functions-templates}/javascript/submission-created/{{name}}.js +0 -0
- /package/{src/functions-templates → functions-templates}/javascript/transform-response/.netlify-function-template.js +0 -0
- /package/{src/functions-templates → functions-templates}/javascript/transform-response/{{name}}.js +0 -0
- /package/{src/functions-templates → functions-templates}/rust/hello-world/.netlify-function-template.js +0 -0
- /package/{src/functions-templates → functions-templates}/rust/hello-world/Cargo.lock +0 -0
- /package/{src/functions-templates → functions-templates}/rust/hello-world/Cargo.toml +0 -0
- /package/{src/functions-templates → functions-templates}/typescript/abtest/.netlify-function-template.js +0 -0
- /package/{src/functions-templates → functions-templates}/typescript/geolocation/.netlify-function-template.js +0 -0
- /package/{src/functions-templates → functions-templates}/typescript/hello-world/.netlify-function-template.js +0 -0
- /package/{src/functions-templates → functions-templates}/typescript/hello-world/package-lock.json +0 -0
- /package/{src/functions-templates → functions-templates}/typescript/hello-world/package.json +0 -0
- /package/{src/functions-templates → functions-templates}/typescript/json/.netlify-function-template.js +0 -0
- /package/{src/functions-templates → functions-templates}/typescript/log/.netlify-function-template.js +0 -0
- /package/{src/functions-templates → functions-templates}/typescript/scheduled-function/.netlify-function-template.js +0 -0
- /package/{src/functions-templates → functions-templates}/typescript/scheduled-function/package.json +0 -0
- /package/{src/functions-templates → functions-templates}/typescript/set-cookies/.netlify-function-template.js +0 -0
- /package/{src/functions-templates → functions-templates}/typescript/set-req-header/.netlify-function-template.js +0 -0
- /package/{src/functions-templates → functions-templates}/typescript/set-res-header/.netlify-function-template.js +0 -0
- /package/{src/functions-templates → functions-templates}/typescript/transform-response/.netlify-function-template.js +0 -0
- /package/{src/utils/lm/scripts → scripts}/bash.sh +0 -0
- /package/{src/utils/lm/scripts → scripts}/fish.sh +0 -0
- /package/{src/utils/lm/scripts → scripts}/path.ps1 +0 -0
- /package/{src/utils/lm/scripts → scripts}/zsh.sh +0 -0
|
@@ -1,311 +0,0 @@
|
|
|
1
|
-
<!DOCTYPE html>
|
|
2
|
-
<html>
|
|
3
|
-
<head>
|
|
4
|
-
<title>Invocation Failed</title>
|
|
5
|
-
<meta name="viewport" content="width=device-width,initial-scale=1" />
|
|
6
|
-
<style>
|
|
7
|
-
:root {
|
|
8
|
-
--colorDefaultTextColor: #a3a9ac;
|
|
9
|
-
--colorDefaultTextColorCard: #2d3b41;
|
|
10
|
-
--colorBgApp: rgb(14, 30, 37);
|
|
11
|
-
--colorBgInverse: hsl(175, 48%, 98%);
|
|
12
|
-
--colorTextMuted: rgb(100, 110, 115);
|
|
13
|
-
--colorError: #d32254;
|
|
14
|
-
--colorBgCard: #fff;
|
|
15
|
-
--colorShadow: #0e1e251f;
|
|
16
|
-
--colorErrorText: rgb(142, 11, 48);
|
|
17
|
-
--colorCardTitleCard: #2d3b41;
|
|
18
|
-
--colorStackText: #222;
|
|
19
|
-
--colorCodeText: #f5f5f5;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
body {
|
|
23
|
-
background-color: var(--colorBgApp);
|
|
24
|
-
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif,
|
|
25
|
-
'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
|
|
26
|
-
color: var(--colorDefaultTextColor);
|
|
27
|
-
margin: 0;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
main {
|
|
31
|
-
display: flex;
|
|
32
|
-
flex-direction: column;
|
|
33
|
-
align-items: center;
|
|
34
|
-
justify-content: center;
|
|
35
|
-
width: 100vw;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
a,
|
|
39
|
-
a:visited,
|
|
40
|
-
a:hover,
|
|
41
|
-
a:focus {
|
|
42
|
-
color: var(--colorDefaultTextColor);
|
|
43
|
-
border-bottom: 1px solid var(--colorDefaultTextColor);
|
|
44
|
-
text-decoration: none;
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
section {
|
|
48
|
-
width: 80%;
|
|
49
|
-
max-width: 800px;
|
|
50
|
-
margin: 40px auto;
|
|
51
|
-
position: relative;
|
|
52
|
-
padding: 24px;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
section.card {
|
|
56
|
-
border-radius: 8px;
|
|
57
|
-
background: var(--colorBgCard);
|
|
58
|
-
box-shadow: 0px 2px 4px rgba(14, 30, 37, 0.12);
|
|
59
|
-
border-top-width: 8px;
|
|
60
|
-
border-top-style: solid;
|
|
61
|
-
border-top-color: var(--colorError);
|
|
62
|
-
padding: 24px;
|
|
63
|
-
color: var(--colorDefaultTextColorCard);
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
.card h1 {
|
|
67
|
-
display: flex;
|
|
68
|
-
align-items: center;
|
|
69
|
-
margin-top: 0;
|
|
70
|
-
}
|
|
71
|
-
.card h1 svg {
|
|
72
|
-
margin-right: 16px;
|
|
73
|
-
}
|
|
74
|
-
.card a {
|
|
75
|
-
color: var(--colorDefaultTextColorCard);
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
p.error-message {
|
|
79
|
-
color: var(--colorErrorText);
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
h1 {
|
|
83
|
-
margin-bottom: 24px;
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
h2 {
|
|
87
|
-
font-size: 22px;
|
|
88
|
-
margin: 0;
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
.card h2,
|
|
92
|
-
.card h3,
|
|
93
|
-
.card h1 {
|
|
94
|
-
color: var(--colorCardTitleCard);
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
h3 {
|
|
98
|
-
font-size: 18px;
|
|
99
|
-
margin: 0;
|
|
100
|
-
color: var(--colorCardTitleCard);
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
pre {
|
|
104
|
-
background-color: var(--colorCodeText);
|
|
105
|
-
color: var(--colorStackText);
|
|
106
|
-
overflow: scroll;
|
|
107
|
-
padding: 8px 12px;
|
|
108
|
-
border-radius: 8px;
|
|
109
|
-
font-size: 16px;
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
.no-js pre {
|
|
113
|
-
white-space: pre-wrap;
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
.inline-code {
|
|
117
|
-
background-color: var(--colorCodeText);
|
|
118
|
-
color: var(--colorStackText);
|
|
119
|
-
overflow: scroll;
|
|
120
|
-
padding: 4px 8px;
|
|
121
|
-
border-radius: 8px;
|
|
122
|
-
font-size: 16px;
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
ul,
|
|
126
|
-
li {
|
|
127
|
-
list-style-type: none;
|
|
128
|
-
margin: 0;
|
|
129
|
-
padding: 0;
|
|
130
|
-
}
|
|
131
|
-
|
|
132
|
-
svg {
|
|
133
|
-
width: 40px;
|
|
134
|
-
height: 40px;
|
|
135
|
-
}
|
|
136
|
-
|
|
137
|
-
.sad path {
|
|
138
|
-
fill: #d32254;
|
|
139
|
-
}
|
|
140
|
-
|
|
141
|
-
.next-steps li {
|
|
142
|
-
margin: 16px 0;
|
|
143
|
-
}
|
|
144
|
-
|
|
145
|
-
.connection-details {
|
|
146
|
-
display: block;
|
|
147
|
-
margin-top: 32px;
|
|
148
|
-
}
|
|
149
|
-
|
|
150
|
-
.error-message-details {
|
|
151
|
-
font-family: monospace;
|
|
152
|
-
padding: 8px 12px;
|
|
153
|
-
}
|
|
154
|
-
|
|
155
|
-
.stack-trace {
|
|
156
|
-
margin-top: 32px;
|
|
157
|
-
}
|
|
158
|
-
|
|
159
|
-
.no-js .error-message-details,
|
|
160
|
-
.no-js .stack-trace {
|
|
161
|
-
display: none;
|
|
162
|
-
}
|
|
163
|
-
|
|
164
|
-
.raw-error-details,
|
|
165
|
-
.hidden {
|
|
166
|
-
display: none;
|
|
167
|
-
}
|
|
168
|
-
|
|
169
|
-
.no-js .raw-error-details {
|
|
170
|
-
display: block;
|
|
171
|
-
}
|
|
172
|
-
</style>
|
|
173
|
-
</head>
|
|
174
|
-
|
|
175
|
-
<body class="netlify-function-error-page no-js">
|
|
176
|
-
<script>
|
|
177
|
-
document.body.classList.remove('no-js')
|
|
178
|
-
</script>
|
|
179
|
-
|
|
180
|
-
<main>
|
|
181
|
-
<section class="card">
|
|
182
|
-
<header>
|
|
183
|
-
<h1>
|
|
184
|
-
<svg
|
|
185
|
-
class="sad"
|
|
186
|
-
aria-hidden="true"
|
|
187
|
-
width="22"
|
|
188
|
-
height="22"
|
|
189
|
-
viewBox="0 0 22 22"
|
|
190
|
-
fill="none"
|
|
191
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
192
|
-
>
|
|
193
|
-
<path
|
|
194
|
-
fill-rule="evenodd"
|
|
195
|
-
clip-rule="evenodd"
|
|
196
|
-
d="M11 21.5C16.799 21.5 21.5 16.799 21.5 11C21.5 5.20101 16.799 0.5 11 0.5C5.20101 0.5 0.5 5.20101 0.5 11C0.5 16.799 5.20101 21.5 11 21.5ZM12.125 6.125C12.125 5.82663 12.0065 5.54048 11.7955 5.3295C11.5845 5.11853 11.2984 5 11 5C10.7016 5 10.4155 5.11853 10.2045 5.3295C9.99353 5.54048 9.875 5.82663 9.875 6.125V11.375C9.875 11.6734 9.99353 11.9595 10.2045 12.1705C10.4155 12.3815 10.7016 12.5 11 12.5C11.2984 12.5 11.5845 12.3815 11.7955 12.1705C12.0065 11.9595 12.125 11.6734 12.125 11.375V6.125ZM12.5 15.5C12.5 15.8978 12.342 16.2794 12.0607 16.5607C11.7794 16.842 11.3978 17 11 17C10.6022 17 10.2206 16.842 9.93934 16.5607C9.65804 16.2794 9.5 15.8978 9.5 15.5C9.5 15.1022 9.65804 14.7206 9.93934 14.4393C10.2206 14.158 10.6022 14 11 14C11.3978 14 11.7794 14.158 12.0607 14.4393C12.342 14.7206 12.5 15.1022 12.5 15.5Z"
|
|
197
|
-
fill="#900B31"
|
|
198
|
-
/>
|
|
199
|
-
</svg>
|
|
200
|
-
This
|
|
201
|
-
<!--@FUNCTION-TYPE-->
|
|
202
|
-
has crashed
|
|
203
|
-
</h1>
|
|
204
|
-
<p>An unhandled error in the function code triggered the following message:</p>
|
|
205
|
-
<p class="error-message-details hidden inline-code">
|
|
206
|
-
<span class="error-type"></span><span class="error-message"></span>
|
|
207
|
-
</p>
|
|
208
|
-
</header>
|
|
209
|
-
|
|
210
|
-
<pre class="raw-error-details"><code><!--@ERROR-DETAILS--></code></pre>
|
|
211
|
-
|
|
212
|
-
<div class="stack-trace hidden">
|
|
213
|
-
<h3>Stack trace</h3>
|
|
214
|
-
<pre><code></code></pre>
|
|
215
|
-
</div>
|
|
216
|
-
</section>
|
|
217
|
-
<script>
|
|
218
|
-
/* eslint eslint-comments/no-use: off */
|
|
219
|
-
// eslint-disable-next-line func-names
|
|
220
|
-
;(function () {
|
|
221
|
-
const rawErrorDetails = document.querySelector('.raw-error-details code').textContent
|
|
222
|
-
const errorMessageDetailsElement = document.querySelector('.error-message-details')
|
|
223
|
-
const errorTypeElement = document.querySelector('.error-type')
|
|
224
|
-
const errorMessageElement = document.querySelector('.error-message')
|
|
225
|
-
const stackTraceElement = document.querySelector('.stack-trace')
|
|
226
|
-
const stackTraceCodeElement = document.querySelector('.stack-trace code')
|
|
227
|
-
|
|
228
|
-
// Enriching the error details
|
|
229
|
-
let parsedErrorDetails
|
|
230
|
-
try {
|
|
231
|
-
parsedErrorDetails = JSON.parse(rawErrorDetails.trim())
|
|
232
|
-
} catch (error) {
|
|
233
|
-
console.error(error)
|
|
234
|
-
document.body.classList.add('no-js')
|
|
235
|
-
return
|
|
236
|
-
}
|
|
237
|
-
|
|
238
|
-
if (!parsedErrorDetails) {
|
|
239
|
-
return
|
|
240
|
-
}
|
|
241
|
-
|
|
242
|
-
const hasTrace =
|
|
243
|
-
(Array.isArray(parsedErrorDetails.trace) && parsedErrorDetails.trace.length !== 0) ||
|
|
244
|
-
(Array.isArray(parsedErrorDetails.stackTrace) && parsedErrorDetails.stackTrace.length !== 0)
|
|
245
|
-
|
|
246
|
-
if (parsedErrorDetails && hasTrace) {
|
|
247
|
-
stackTraceElement.classList.remove('hidden')
|
|
248
|
-
}
|
|
249
|
-
|
|
250
|
-
if (parsedErrorDetails.errorType) {
|
|
251
|
-
// enriching error types via allowing them to be linked to a relevant MDN article if they are in the known list
|
|
252
|
-
// https://developer.mozilla.org/en-US/docs/web/javascript/reference/global_objects/error#error_types
|
|
253
|
-
const errorTypes = [
|
|
254
|
-
'EvalError',
|
|
255
|
-
'RangeError',
|
|
256
|
-
'ReferenceError',
|
|
257
|
-
'SyntaxError',
|
|
258
|
-
'TypeError',
|
|
259
|
-
'URIError',
|
|
260
|
-
'AggregateError',
|
|
261
|
-
'InternalError',
|
|
262
|
-
]
|
|
263
|
-
if (errorTypes.includes(parsedErrorDetails.errorType)) {
|
|
264
|
-
const mdnLink = document.createElement('a')
|
|
265
|
-
mdnLink.href = `https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/${parsedErrorDetails.errorType}`
|
|
266
|
-
mdnLink.textContent = parsedErrorDetails.errorType
|
|
267
|
-
mdnLink.target = '_blank'
|
|
268
|
-
errorTypeElement.append(mdnLink)
|
|
269
|
-
} else {
|
|
270
|
-
errorTypeElement.textContent = parsedErrorDetails.errorType
|
|
271
|
-
}
|
|
272
|
-
}
|
|
273
|
-
|
|
274
|
-
if (parsedErrorDetails.errorMessage || parsedErrorDetails.errorType) {
|
|
275
|
-
errorMessageDetailsElement.classList.remove('hidden')
|
|
276
|
-
}
|
|
277
|
-
|
|
278
|
-
if (parsedErrorDetails.errorMessage) {
|
|
279
|
-
errorMessageElement.textContent =
|
|
280
|
-
(parsedErrorDetails.errorType ? ' - ' : ' ') + parsedErrorDetails.errorMessage
|
|
281
|
-
}
|
|
282
|
-
|
|
283
|
-
// Go errors currently use "stackTrace" with a different structure than "trace"
|
|
284
|
-
// map these into a shared format.
|
|
285
|
-
if (Array.isArray(parsedErrorDetails.stackTrace) && parsedErrorDetails.stackTrace.length !== 0) {
|
|
286
|
-
parsedErrorDetails.trace = parsedErrorDetails.stackTrace.reduce((newTrace, traceDetail) => {
|
|
287
|
-
let traceLine = ''
|
|
288
|
-
if (traceDetail.path) {
|
|
289
|
-
/* eslint-disable no-negated-condition */
|
|
290
|
-
traceLine += `${traceDetail.path}${traceDetail.line !== undefined ? `:${traceDetail.line}` : ''} ${
|
|
291
|
-
traceDetail.label !== undefined ? `${traceDetail.label} ` : ''
|
|
292
|
-
}`
|
|
293
|
-
/* eslint-enable no-negated-condition */
|
|
294
|
-
if (traceLine) {
|
|
295
|
-
newTrace.push(traceLine)
|
|
296
|
-
}
|
|
297
|
-
}
|
|
298
|
-
return newTrace
|
|
299
|
-
}, [])
|
|
300
|
-
}
|
|
301
|
-
|
|
302
|
-
if (Array.isArray(parsedErrorDetails.trace) && parsedErrorDetails.trace.length !== 0) {
|
|
303
|
-
stackTraceCodeElement.textContent = parsedErrorDetails.trace.join('\n')
|
|
304
|
-
} else {
|
|
305
|
-
stackTraceCodeElement.remove()
|
|
306
|
-
}
|
|
307
|
-
})()
|
|
308
|
-
</script>
|
|
309
|
-
</main>
|
|
310
|
-
</body>
|
|
311
|
-
</html>
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/{src → dist}/lib/api.js
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/{src → dist}/lib/fs.js
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/{src → dist}/lib/log.js
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|