auth0-deploy-cli 7.15.1 → 7.16.0
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/.github/workflows/semgrep.yml +18 -0
- package/.nyc_output/{08f269c7-2bda-456b-9064-c7b1074e59c9.json → 0fafda5c-41f9-46fb-bd7b-6dab83c26135.json} +0 -0
- package/.nyc_output/{a6a342d6-c13c-4c02-9473-2dd51f10e305.json → a40df0b3-2286-48de-bc8c-3e7c403c0d90.json} +0 -0
- package/.nyc_output/d0ce7bd3-9483-465f-84b7-6b0c188b8615.json +1 -0
- package/.nyc_output/processinfo/0fafda5c-41f9-46fb-bd7b-6dab83c26135.json +1 -0
- package/.nyc_output/processinfo/a40df0b3-2286-48de-bc8c-3e7c403c0d90.json +1 -0
- package/.nyc_output/processinfo/d0ce7bd3-9483-465f-84b7-6b0c188b8615.json +1 -0
- package/.nyc_output/processinfo/index.json +1 -1
- package/CHANGELOG.md +33 -1
- package/README.md +35 -19
- package/coverage/lcov-report/index.html +53 -53
- package/coverage/lcov-report/src/args.ts.html +1 -1
- package/coverage/lcov-report/src/commands/export.ts.html +1 -1
- package/coverage/lcov-report/src/commands/import.ts.html +1 -1
- package/coverage/lcov-report/src/commands/index.html +1 -1
- package/coverage/lcov-report/src/configFactory.ts.html +1 -1
- package/coverage/lcov-report/src/context/defaults.ts.html +1 -1
- package/coverage/lcov-report/src/context/directory/handlers/actions.ts.html +1 -1
- package/coverage/lcov-report/src/context/directory/handlers/attackProtection.ts.html +1 -1
- package/coverage/lcov-report/src/context/directory/handlers/branding.ts.html +1 -1
- package/coverage/lcov-report/src/context/directory/handlers/clientGrants.ts.html +14 -5
- package/coverage/lcov-report/src/context/directory/handlers/clients.ts.html +1 -1
- package/coverage/lcov-report/src/context/directory/handlers/connections.ts.html +1 -1
- package/coverage/lcov-report/src/context/directory/handlers/customDomains.ts.html +1 -1
- package/coverage/lcov-report/src/context/directory/handlers/databases.ts.html +1 -1
- package/coverage/lcov-report/src/context/directory/handlers/emailProvider.ts.html +1 -1
- package/coverage/lcov-report/src/context/directory/handlers/emailTemplates.ts.html +1 -1
- package/coverage/lcov-report/src/context/directory/handlers/guardianFactorProviders.ts.html +1 -1
- package/coverage/lcov-report/src/context/directory/handlers/guardianFactorTemplates.ts.html +1 -1
- package/coverage/lcov-report/src/context/directory/handlers/guardianFactors.ts.html +1 -1
- package/coverage/lcov-report/src/context/directory/handlers/guardianPhoneFactorMessageTypes.ts.html +1 -1
- package/coverage/lcov-report/src/context/directory/handlers/guardianPhoneFactorSelectedProvider.ts.html +1 -1
- package/coverage/lcov-report/src/context/directory/handlers/guardianPolicies.ts.html +1 -1
- package/coverage/lcov-report/src/context/directory/handlers/hooks.ts.html +1 -1
- package/coverage/lcov-report/src/context/directory/handlers/index.html +1 -1
- package/coverage/lcov-report/src/context/directory/handlers/index.ts.html +1 -1
- package/coverage/lcov-report/src/context/directory/handlers/logStreams.ts.html +1 -1
- package/coverage/lcov-report/src/context/directory/handlers/migrations.ts.html +1 -1
- package/coverage/lcov-report/src/context/directory/handlers/organizations.ts.html +1 -1
- package/coverage/lcov-report/src/context/directory/handlers/pages.ts.html +1 -1
- package/coverage/lcov-report/src/context/directory/handlers/prompts.ts.html +1 -1
- package/coverage/lcov-report/src/context/directory/handlers/resourceServers.ts.html +1 -1
- package/coverage/lcov-report/src/context/directory/handlers/roles.ts.html +1 -1
- package/coverage/lcov-report/src/context/directory/handlers/rules.ts.html +1 -1
- package/coverage/lcov-report/src/context/directory/handlers/rulesConfigs.ts.html +1 -1
- package/coverage/lcov-report/src/context/directory/handlers/tenant.ts.html +11 -11
- package/coverage/lcov-report/src/context/directory/handlers/themes.ts.html +1 -1
- package/coverage/lcov-report/src/context/directory/handlers/triggers.ts.html +1 -1
- package/coverage/lcov-report/src/context/directory/index.html +11 -11
- package/coverage/lcov-report/src/context/directory/index.ts.html +30 -21
- package/coverage/lcov-report/src/context/index.html +19 -19
- package/coverage/lcov-report/src/context/index.ts.html +124 -37
- package/coverage/lcov-report/src/context/yaml/handlers/actions.ts.html +3 -3
- package/coverage/lcov-report/src/context/yaml/handlers/attackProtection.ts.html +3 -3
- package/coverage/lcov-report/src/context/yaml/handlers/branding.ts.html +2 -2
- package/coverage/lcov-report/src/context/yaml/handlers/clientGrants.ts.html +3 -3
- package/coverage/lcov-report/src/context/yaml/handlers/clients.ts.html +4 -4
- package/coverage/lcov-report/src/context/yaml/handlers/connections.ts.html +5 -5
- package/coverage/lcov-report/src/context/yaml/handlers/customDomains.ts.html +3 -3
- package/coverage/lcov-report/src/context/yaml/handlers/databases.ts.html +3 -3
- package/coverage/lcov-report/src/context/yaml/handlers/emailProvider.ts.html +3 -3
- package/coverage/lcov-report/src/context/yaml/handlers/emailTemplates.ts.html +3 -3
- package/coverage/lcov-report/src/context/yaml/handlers/guardianFactorProviders.ts.html +3 -3
- package/coverage/lcov-report/src/context/yaml/handlers/guardianFactorTemplates.ts.html +3 -3
- package/coverage/lcov-report/src/context/yaml/handlers/guardianFactors.ts.html +3 -3
- package/coverage/lcov-report/src/context/yaml/handlers/guardianPhoneFactorMessageTypes.ts.html +3 -3
- package/coverage/lcov-report/src/context/yaml/handlers/guardianPhoneFactorSelectedProvider.ts.html +3 -3
- package/coverage/lcov-report/src/context/yaml/handlers/guardianPolicies.ts.html +3 -3
- package/coverage/lcov-report/src/context/yaml/handlers/hooks.ts.html +3 -3
- package/coverage/lcov-report/src/context/yaml/handlers/index.html +1 -1
- package/coverage/lcov-report/src/context/yaml/handlers/index.ts.html +1 -1
- package/coverage/lcov-report/src/context/yaml/handlers/logStreams.ts.html +3 -3
- package/coverage/lcov-report/src/context/yaml/handlers/migrations.ts.html +3 -3
- package/coverage/lcov-report/src/context/yaml/handlers/organizations.ts.html +3 -3
- package/coverage/lcov-report/src/context/yaml/handlers/pages.ts.html +3 -3
- package/coverage/lcov-report/src/context/yaml/handlers/prompts.ts.html +3 -3
- package/coverage/lcov-report/src/context/yaml/handlers/resourceServers.ts.html +4 -4
- package/coverage/lcov-report/src/context/yaml/handlers/roles.ts.html +3 -3
- package/coverage/lcov-report/src/context/yaml/handlers/rules.ts.html +3 -3
- package/coverage/lcov-report/src/context/yaml/handlers/rulesConfigs.ts.html +3 -3
- package/coverage/lcov-report/src/context/yaml/handlers/tenant.ts.html +8 -8
- package/coverage/lcov-report/src/context/yaml/handlers/themes.ts.html +3 -3
- package/coverage/lcov-report/src/context/yaml/handlers/triggers.ts.html +2 -2
- package/coverage/lcov-report/src/context/yaml/index.html +17 -17
- package/coverage/lcov-report/src/context/yaml/index.ts.html +75 -48
- package/coverage/lcov-report/src/index.html +1 -1
- package/coverage/lcov-report/src/index.ts.html +1 -1
- package/coverage/lcov-report/src/logger.ts.html +2 -2
- package/coverage/lcov-report/src/readonly.ts.html +3 -6
- package/coverage/lcov-report/src/sessionDurationsToMinutes.ts.html +5 -5
- package/coverage/lcov-report/src/tools/auth0/client.ts.html +4 -4
- package/coverage/lcov-report/src/tools/auth0/handlers/actions.ts.html +32 -14
- package/coverage/lcov-report/src/tools/auth0/handlers/attackProtection.ts.html +2 -2
- package/coverage/lcov-report/src/tools/auth0/handlers/branding.ts.html +2 -2
- package/coverage/lcov-report/src/tools/auth0/handlers/clientGrants.ts.html +2 -2
- package/coverage/lcov-report/src/tools/auth0/handlers/clients.ts.html +2 -2
- package/coverage/lcov-report/src/tools/auth0/handlers/connections.ts.html +2 -2
- package/coverage/lcov-report/src/tools/auth0/handlers/customDomains.ts.html +2 -2
- package/coverage/lcov-report/src/tools/auth0/handlers/databases.ts.html +2 -2
- package/coverage/lcov-report/src/tools/auth0/handlers/default.ts.html +37 -37
- package/coverage/lcov-report/src/tools/auth0/handlers/emailProvider.ts.html +26 -32
- package/coverage/lcov-report/src/tools/auth0/handlers/emailTemplates.ts.html +2 -2
- package/coverage/lcov-report/src/tools/auth0/handlers/guardianFactorProviders.ts.html +2 -2
- package/coverage/lcov-report/src/tools/auth0/handlers/guardianFactorTemplates.ts.html +2 -2
- package/coverage/lcov-report/src/tools/auth0/handlers/guardianFactors.ts.html +2 -2
- package/coverage/lcov-report/src/tools/auth0/handlers/guardianPhoneFactorMessageTypes.ts.html +2 -2
- package/coverage/lcov-report/src/tools/auth0/handlers/guardianPhoneFactorSelectedProvider.ts.html +2 -2
- package/coverage/lcov-report/src/tools/auth0/handlers/guardianPolicies.ts.html +2 -2
- package/coverage/lcov-report/src/tools/auth0/handlers/hooks.ts.html +2 -2
- package/coverage/lcov-report/src/tools/auth0/handlers/index.html +41 -41
- package/coverage/lcov-report/src/tools/auth0/handlers/index.ts.html +1 -1
- package/coverage/lcov-report/src/tools/auth0/handlers/logStreams.ts.html +44 -23
- package/coverage/lcov-report/src/tools/auth0/handlers/migrations.ts.html +2 -2
- package/coverage/lcov-report/src/tools/auth0/handlers/organizations.ts.html +2 -2
- package/coverage/lcov-report/src/tools/auth0/handlers/pages.ts.html +2 -2
- package/coverage/lcov-report/src/tools/auth0/handlers/prompts.ts.html +25 -16
- package/coverage/lcov-report/src/tools/auth0/handlers/resourceServers.ts.html +2 -2
- package/coverage/lcov-report/src/tools/auth0/handlers/roles.ts.html +2 -2
- package/coverage/lcov-report/src/tools/auth0/handlers/rules.ts.html +2 -2
- package/coverage/lcov-report/src/tools/auth0/handlers/rulesConfigs.ts.html +2 -2
- package/coverage/lcov-report/src/tools/auth0/handlers/tenant.ts.html +7 -7
- package/coverage/lcov-report/src/tools/auth0/handlers/themes.ts.html +2 -2
- package/coverage/lcov-report/src/tools/auth0/handlers/triggers.ts.html +2 -2
- package/coverage/lcov-report/src/tools/auth0/index.html +18 -18
- package/coverage/lcov-report/src/tools/auth0/index.ts.html +64 -34
- package/coverage/lcov-report/src/tools/auth0/schema.ts.html +1 -1
- package/coverage/lcov-report/src/tools/calculateChanges.ts.html +16 -16
- package/coverage/lcov-report/src/tools/constants.ts.html +1 -1
- package/coverage/lcov-report/src/tools/deploy.ts.html +1 -1
- package/coverage/lcov-report/src/tools/index.html +1 -1
- package/coverage/lcov-report/src/tools/index.ts.html +2 -2
- package/coverage/lcov-report/src/tools/utils.ts.html +18 -18
- package/coverage/lcov-report/src/tools/validationError.ts.html +1 -1
- package/coverage/lcov-report/src/types.ts.html +26 -5
- package/coverage/lcov-report/src/utils.ts.html +12 -12
- package/coverage/lcov.info +1054 -986
- package/docs/configuring-the-deploy-cli.md +18 -2
- package/docs/excluding-from-management.md +19 -4
- package/docs/resource-specific-documentation.md +162 -0
- package/lib/args.d.ts +6 -6
- package/lib/configFactory.d.ts +1 -1
- package/lib/context/directory/handlers/actions.d.ts +1 -1
- package/lib/context/directory/handlers/attackProtection.d.ts +1 -1
- package/lib/context/directory/handlers/branding.d.ts +1 -1
- package/lib/context/directory/handlers/clientGrants.d.ts +1 -1
- package/lib/context/directory/handlers/clientGrants.js +3 -2
- package/lib/context/directory/handlers/clientGrants.js.map +1 -1
- package/lib/context/directory/handlers/clients.d.ts +1 -1
- package/lib/context/directory/handlers/connections.d.ts +1 -1
- package/lib/context/directory/handlers/customDomains.d.ts +1 -1
- package/lib/context/directory/handlers/databases.d.ts +1 -1
- package/lib/context/directory/handlers/emailProvider.d.ts +1 -1
- package/lib/context/directory/handlers/emailTemplates.d.ts +1 -1
- package/lib/context/directory/handlers/guardianFactorProviders.d.ts +1 -1
- package/lib/context/directory/handlers/guardianFactorTemplates.d.ts +1 -1
- package/lib/context/directory/handlers/guardianFactors.d.ts +1 -1
- package/lib/context/directory/handlers/guardianPhoneFactorMessageTypes.d.ts +1 -1
- package/lib/context/directory/handlers/guardianPhoneFactorSelectedProvider.d.ts +1 -1
- package/lib/context/directory/handlers/guardianPolicies.d.ts +1 -1
- package/lib/context/directory/handlers/hooks.d.ts +1 -1
- package/lib/context/directory/handlers/index.d.ts +1 -1
- package/lib/context/directory/handlers/logStreams.d.ts +1 -1
- package/lib/context/directory/handlers/migrations.d.ts +1 -1
- package/lib/context/directory/handlers/organizations.d.ts +1 -1
- package/lib/context/directory/handlers/pages.d.ts +1 -1
- package/lib/context/directory/handlers/prompts.d.ts +1 -1
- package/lib/context/directory/handlers/resourceServers.d.ts +1 -1
- package/lib/context/directory/handlers/roles.d.ts +1 -1
- package/lib/context/directory/handlers/rules.d.ts +1 -1
- package/lib/context/directory/handlers/rulesConfigs.d.ts +1 -1
- package/lib/context/directory/handlers/tenant.d.ts +1 -1
- package/lib/context/directory/handlers/themes.d.ts +1 -1
- package/lib/context/directory/handlers/triggers.d.ts +1 -1
- package/lib/context/directory/index.d.ts +1 -1
- package/lib/context/directory/index.js +3 -0
- package/lib/context/directory/index.js.map +1 -1
- package/lib/context/index.d.ts +2 -1
- package/lib/context/index.js +22 -2
- package/lib/context/index.js.map +1 -1
- package/lib/context/yaml/handlers/actions.d.ts +1 -1
- package/lib/context/yaml/handlers/attackProtection.d.ts +1 -1
- package/lib/context/yaml/handlers/branding.d.ts +2 -2
- package/lib/context/yaml/handlers/clientGrants.d.ts +1 -1
- package/lib/context/yaml/handlers/clients.d.ts +1 -1
- package/lib/context/yaml/handlers/connections.d.ts +1 -1
- package/lib/context/yaml/handlers/customDomains.d.ts +1 -1
- package/lib/context/yaml/handlers/databases.d.ts +1 -1
- package/lib/context/yaml/handlers/emailProvider.d.ts +1 -1
- package/lib/context/yaml/handlers/emailTemplates.d.ts +1 -1
- package/lib/context/yaml/handlers/guardianFactorProviders.d.ts +1 -1
- package/lib/context/yaml/handlers/guardianFactorTemplates.d.ts +1 -1
- package/lib/context/yaml/handlers/guardianFactors.d.ts +1 -1
- package/lib/context/yaml/handlers/guardianPhoneFactorMessageTypes.d.ts +1 -1
- package/lib/context/yaml/handlers/guardianPhoneFactorSelectedProvider.d.ts +1 -1
- package/lib/context/yaml/handlers/guardianPolicies.d.ts +1 -1
- package/lib/context/yaml/handlers/hooks.d.ts +1 -1
- package/lib/context/yaml/handlers/index.d.ts +1 -1
- package/lib/context/yaml/handlers/logStreams.d.ts +1 -1
- package/lib/context/yaml/handlers/migrations.d.ts +1 -1
- package/lib/context/yaml/handlers/organizations.d.ts +1 -1
- package/lib/context/yaml/handlers/pages.d.ts +1 -1
- package/lib/context/yaml/handlers/prompts.d.ts +1 -1
- package/lib/context/yaml/handlers/resourceServers.d.ts +1 -1
- package/lib/context/yaml/handlers/roles.d.ts +1 -1
- package/lib/context/yaml/handlers/rules.d.ts +1 -1
- package/lib/context/yaml/handlers/rulesConfigs.d.ts +1 -1
- package/lib/context/yaml/handlers/tenant.d.ts +1 -1
- package/lib/context/yaml/handlers/themes.d.ts +1 -1
- package/lib/context/yaml/handlers/triggers.d.ts +1 -1
- package/lib/context/yaml/index.js +9 -2
- package/lib/context/yaml/index.js.map +1 -1
- package/lib/readonly.js +0 -1
- package/lib/readonly.js.map +1 -1
- package/lib/tools/auth0/handlers/actions.d.ts +1 -1
- package/lib/tools/auth0/handlers/actions.js +3 -0
- package/lib/tools/auth0/handlers/actions.js.map +1 -1
- package/lib/tools/auth0/handlers/default.d.ts +1 -1
- package/lib/tools/auth0/handlers/emailProvider.js +2 -2
- package/lib/tools/auth0/handlers/emailProvider.js.map +1 -1
- package/lib/tools/auth0/handlers/logStreams.d.ts +9 -0
- package/lib/tools/auth0/handlers/logStreams.js +13 -6
- package/lib/tools/auth0/handlers/logStreams.js.map +1 -1
- package/lib/tools/auth0/handlers/pages.d.ts +1 -1
- package/lib/tools/auth0/handlers/prompts.d.ts +6 -6
- package/lib/tools/auth0/handlers/prompts.js +5 -1
- package/lib/tools/auth0/handlers/prompts.js.map +1 -1
- package/lib/tools/auth0/handlers/tenant.d.ts +2 -2
- package/lib/tools/auth0/index.d.ts +1 -1
- package/lib/tools/auth0/index.js +9 -1
- package/lib/tools/auth0/index.js.map +1 -1
- package/lib/types.d.ts +27 -18
- package/lib/types.js.map +1 -1
- package/lib/utils.d.ts +2 -2
- package/package.json +9 -9
- package/.nyc_output/68afeb31-a1f4-4c3a-9fd6-ba40a6c4bbc6.json +0 -1
- package/.nyc_output/processinfo/08f269c7-2bda-456b-9064-c7b1074e59c9.json +0 -1
- package/.nyc_output/processinfo/68afeb31-a1f4-4c3a-9fd6-ba40a6c4bbc6.json +0 -1
- package/.nyc_output/processinfo/a6a342d6-c13c-4c02-9473-2dd51f10e305.json +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"logStreams.js","sourceRoot":"","sources":["../../../../src/tools/auth0/handlers/logStreams.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,wDAA0C;AAG7B,QAAA,MAAM,GAAG;IACpB,IAAI,EAAE,OAAO;IACb,KAAK,EAAE;QACL,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,EAAE,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;YACtB,IAAI,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;YACxB,IAAI,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;YACxB,MAAM,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC,QAAQ,EAAE,QAAQ,EAAE,WAAW,CAAC,EAAE;YACnE,IAAI,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;YACxB,OAAO,EAAE;gBACP,IAAI,EAAE,OAAO;gBACb,KAAK,EAAE;oBACL,IAAI,EAAE,QAAQ;iBACf;aACF;SACF;QACD,QAAQ,EAAE,CAAC,MAAM,CAAC;KACnB;CACF,CAAC;AAYF,MAAqB,iBAAkB,SAAQ,iBAAiB;IAG9D,YAAY,MAAyB;QACnC,KAAK,iCACA,MAAM,KACT,IAAI,EAAE,YAAY,EAClB,iBAAiB,EAAE,CAAC,MAAM,CAAC,EAC3B,iBAAiB,EAAE,CAAC,QAAQ,EAAE,4BAA4B,CAAC,EAC3D,0BAA0B,EAAE,CAAC,wBAAwB,CAAC,IACtD,CAAC;IACL,CAAC;IAED,SAAS,CAAC,IAAW;QACnB,OAAO,KAAK,CAAC,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IACpC,CAAC;IAEK,OAAO;;YACX,IAAI,IAAI,CAAC,QAAQ,EAAE;gBAC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AC,CAAC;QAC9C,CAAC;KAAA;CACF;AA3DD,oCA2DC"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import DefaultHandler from './default';
|
|
2
2
|
import { Assets, Language } from '../../../types';
|
|
3
3
|
declare const promptTypes: readonly ["login", "login-id", "login-password", "login-email-verification", "signup", "signup-id", "signup-password", "reset-password", "consent", "mfa-push", "mfa-otp", "mfa-voice", "mfa-phone", "mfa-webauthn", "mfa-sms", "mfa-email", "mfa-recovery-code", "mfa", "status", "device-flow", "email-verification", "email-otp-challenge", "organizations", "invitation", "common"];
|
|
4
|
-
export
|
|
4
|
+
export type PromptTypes = typeof promptTypes[number];
|
|
5
5
|
declare const screenTypes: readonly ["login", "login-id", "login-password", "login-email-verification", "signup", "signup-id", "signup-password", "reset-password-request", "reset-password-email", "reset-password", "reset-password-success", "reset-password-error", "consent", "status", "mfa-detect-browser-capabilities", "mfa-enroll-result", "mfa-login-options", "mfa-begin-enroll-options", "mfa-otp-enrollment-qr", "mfa-otp-enrollment-code", "mfa-otp-challenge", "mfa-voice-challenge", "mfa-sms-challenge", "mfa-recovery-code-enrollment", "mfa-recovery-code-challenge", "mfa-country-codes", "mfa-sms-enrollment", "mfa-voice-enrollment", "mfa-phone-challenge", "mfa-phone-enrollment", "mfa-webauthn-roaming-enrollment", "mfa-webauthn-platform-enrollment", "mfa-webauthn-platform-challenge", "mfa-webauthn-roaming-challenge", "mfa-webauthn-change-key-nickname", "mfa-webauthn-enrollment-success", "mfa-webauthn-error", "mfa-webauthn-not-available-error", "mfa-sms-list", "mfa-email-challenge", "mfa-email-list", "mfa-push-welcome", "mfa-push-list", "mfa-push-enrollment-qr", "mfa-push-enrollment-code", "mfa-push-success", "mfa-push-challenge-push", "device-code-activation", "device-code-activation-allowed", "device-code-activation-denied", "device-code-confirmation", "email-verification-result", "email-otp-challenge", "redeem-ticket", "organization-selection", "accept-invitation"];
|
|
6
|
-
export
|
|
6
|
+
export type ScreenTypes = typeof screenTypes[number];
|
|
7
7
|
export declare const schema: {
|
|
8
8
|
type: string;
|
|
9
9
|
properties: {
|
|
@@ -23,22 +23,22 @@ export declare const schema: {
|
|
|
23
23
|
};
|
|
24
24
|
};
|
|
25
25
|
};
|
|
26
|
-
export
|
|
26
|
+
export type PromptSettings = {
|
|
27
27
|
universal_login_experience?: 'new' | 'classic';
|
|
28
28
|
webauthn_platform_first_factor?: boolean;
|
|
29
29
|
identifier_first?: boolean;
|
|
30
30
|
};
|
|
31
|
-
export
|
|
31
|
+
export type PromptsCustomText = {
|
|
32
32
|
[key in PromptTypes]: Partial<{
|
|
33
33
|
[key in ScreenTypes]: {
|
|
34
34
|
[key: string]: string;
|
|
35
35
|
};
|
|
36
36
|
}>;
|
|
37
37
|
};
|
|
38
|
-
export
|
|
38
|
+
export type Prompts = Partial<PromptSettings & {
|
|
39
39
|
customText: AllPromptsByLanguage;
|
|
40
40
|
}>;
|
|
41
|
-
export
|
|
41
|
+
export type AllPromptsByLanguage = Partial<{
|
|
42
42
|
[key in Language]: Partial<PromptsCustomText>;
|
|
43
43
|
}>;
|
|
44
44
|
export default class PromptsHandler extends DefaultHandler {
|
|
@@ -163,7 +163,11 @@ class PromptsHandler extends default_1.default {
|
|
|
163
163
|
return __awaiter(this, void 0, void 0, function* () {
|
|
164
164
|
const supportedLanguages = yield this.client.tenant
|
|
165
165
|
.getSettings()
|
|
166
|
-
.then(({ enabled_locales }) =>
|
|
166
|
+
.then(({ enabled_locales }) => {
|
|
167
|
+
if (enabled_locales === undefined)
|
|
168
|
+
return []; // In rare cases, private cloud tenants may not have `enabled_locales` defined
|
|
169
|
+
return enabled_locales;
|
|
170
|
+
});
|
|
167
171
|
const data = yield Promise.all(supportedLanguages
|
|
168
172
|
.map((language) => {
|
|
169
173
|
return promptTypes.map((promptType) => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"prompts.js","sourceRoot":"","sources":["../../../../src/tools/auth0/handlers/prompts.ts"],"names":[],"mappings":";;;;;;;;;;;;;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M,CAAC,OAAO,CAAC,WAAW,EAAE,CAAC;YAEhE,MAAM,UAAU,GAAG,MAAM,IAAI,CAAC,qBAAqB,EAAE,CAAC;YAEtD,uCACK,eAAe,KAClB,UAAU,IACV;QACJ,CAAC;KAAA;IAEK,qBAAqB;;YACzB,MAAM,kBAAkB,GAAG,MAAM,IAAI,CAAC,MAAM,CAAC,MAAM;iBAChD,WAAW,EAAE;iBACb,IAAI,CAAC,CAAC,EAAE,eAAe,EAAE,EAAE,EAAE,CAAC,eAAe,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"prompts.js","sourceRoot":"","sources":["../../../../src/tools/auth0/handlers/prompts.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,wDAAuC;AACvC,0CAA6D;AAC7D,mCAAiC;AAEjC,MAAM,WAAW,GAAG;IAClB,OAAO;IACP,UAAU;IACV,gBAAgB;IAChB,0BAA0B;IAC1B,QAAQ;IACR,WAAW;IACX,iBAAiB;IACjB,gBAAgB;IAChB,SAAS;IACT,UAAU;IACV,SAAS;IACT,WAAW;IACX,WAAW;IACX,cAAc;IACd,SAAS;IACT,WAAW;IACX,mBAAmB;IACnB,KAAK;IACL,QAAQ;IACR,aAAa;IACb,oBAAoB;IACpB,qBAAqB;IACrB,eAAe;IACf,YAAY;IACZ,QAAQ;CACA,CAAC;AAIX,MAAM,WAAW,GAAG;IAClB,OAAO;IACP,UAAU;IACV,gBAAgB;IAChB,0BAA0B;IAC1B,QAAQ;IACR,WAAW;IACX,iBAAiB;IACjB,wBAAwB;IACxB,sBAAsB;IACtB,gBAAgB;IAChB,wBAAwB;IACxB,sBAAsB;IACtB,SAAS;IACT,QAAQ;IACR,iCAAiC;IACjC,mBAAmB;IACnB,mBAAmB;IACnB,0BAA0B;IAC1B,uBAAuB;IACvB,yBAAyB;IACzB,mBAAmB;IACnB,qBAAqB;IACrB,mBAAmB;IACnB,8BAA8B;IAC9B,6BAA6B;IAC7B,mBAAmB;IACnB,oBA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CAAC,IAAA,gBAAO,EAAC,cAAc,CAAC,EAAE;gBAC5B,MAAM,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC,cAAc,CAAC,EAAE,EAAE,cAAc,CAAC,CAAC;aAC9D;YAED,MAAM,IAAI,CAAC,wBAAwB,CAAC,UAAU,CAAC,CAAC;YAEhD,IAAI,CAAC,OAAO,IAAI,CAAC,CAAC;YAClB,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,CAAC;QAC1B,CAAC;KAAA;IAEK,wBAAwB,CAAC,UAAiC;;YAC9D;;cAEE;YACF,IAAI,CAAC,UAAU;gBAAE,OAAO;YAExB,MAAM,OAAO,CAAC,GAAG,CACf,MAAM,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,OAAO,CAAC,CAAC,QAAkB,EAAE,EAAE;gBACrD,MAAM,mBAAmB,GAAG,UAAU,CAAC,QAAQ,CAAC,CAAC;gBAEjD,IAAI,CAAC,mBAAmB;oBAAE,OAAO,EAAE,CAAC;gBAEpC,OAAO,MAAM,CAAC,IAAI,CAAC,mBAAmB,CAAC,CAAC,GAAG,CAAC,CAAC,MAAmB,EAAE,EAAE;oBAClE,MAAM,IAAI,GAAG,mBAAmB,CAAC,MAAM,CAAC,IAAI,EAAE,CAAC;oBAC/C,OAAO,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC,0BAA0B,CAAC;wBACpD,MAAM;wBACN,QAAQ;wBACR,IAAI;qBACL,CAAC,CAAC;gBACL,CAAC,CAAC,CAAC;YACL,CAAC,CAAC,CACH,CAAC;QACJ,CAAC;KAAA;CACF;AApHD,iCAoHC"}
|
|
@@ -3,8 +3,8 @@ import { Asset, Assets, Language } from '../../../types';
|
|
|
3
3
|
export declare const schema: {
|
|
4
4
|
type: string;
|
|
5
5
|
};
|
|
6
|
-
export
|
|
7
|
-
enabled_locales
|
|
6
|
+
export type Tenant = Asset & {
|
|
7
|
+
enabled_locales?: Language[];
|
|
8
8
|
flags: {
|
|
9
9
|
[key: string]: boolean;
|
|
10
10
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Assets, Auth0APIClient, BaseAuth0APIClient } from '../../types';
|
|
2
2
|
import APIHandler from './handlers/default';
|
|
3
3
|
import { ConfigFunction } from '../../configFactory';
|
|
4
|
-
export
|
|
4
|
+
export type Stage = 'load' | 'validate' | 'processChanges';
|
|
5
5
|
export default class Auth0 {
|
|
6
6
|
client: Auth0APIClient;
|
|
7
7
|
config: ConfigFunction;
|
package/lib/tools/auth0/index.js
CHANGED
|
@@ -39,8 +39,16 @@ class Auth0 {
|
|
|
39
39
|
return new handler.default({ client: this.client, config: this.config });
|
|
40
40
|
})
|
|
41
41
|
.filter((handler) => {
|
|
42
|
-
const excludedAssetTypes = config('AUTH0_EXCLUDED')
|
|
42
|
+
const excludedAssetTypes = config('AUTH0_EXCLUDED');
|
|
43
|
+
if (excludedAssetTypes === undefined)
|
|
44
|
+
return true;
|
|
43
45
|
return !excludedAssetTypes.includes(handler.type);
|
|
46
|
+
})
|
|
47
|
+
.filter((handler) => {
|
|
48
|
+
const onlyIncludedAssetTypes = config('AUTH0_INCLUDED_ONLY');
|
|
49
|
+
if (onlyIncludedAssetTypes === undefined)
|
|
50
|
+
return true;
|
|
51
|
+
return onlyIncludedAssetTypes.includes(handler.type);
|
|
44
52
|
});
|
|
45
53
|
}
|
|
46
54
|
runStage(stage) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/tools/auth0/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,sDAA8B;AAE9B,sDAAmC;AACnC,sDAA8B;AAC9B,0DAAkC;AAUlC,SAAS,WAAW,CAAC,MAAoB,EAAE,KAAY;IACrD,MAAM,YAAY,GAAG,EAAE,CAAC;IAExB,MAAM,MAAM,GAAG,CAAC,GAAG,MAAM,CAAC,CAAC;IAC3B,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE;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AI,KAAK,CAAC,oCAAoC,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,MAAM,EAAE,IAAI,EAAE,CAAC,CAAC,EAAE,CAAC,CAAC;aAC5F;YAED,MAAM,IAAI,CAAC,QAAQ,CAAC,UAAU,CAAC,CAAC;QAClC,CAAC;KAAA;IAEK,OAAO;;YACX,oCAAoC;YACpC,MAAM,IAAI,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC;QAC9B,CAAC;KAAA;IAEK,cAAc;;YAClB,MAAM,IAAI,CAAC,QAAQ,CAAC,gBAAgB,CAAC,CAAC;QACxC,CAAC;KAAA;CACF;AAvED,wBAuEC"}
|
package/lib/types.d.ts
CHANGED
|
@@ -3,7 +3,8 @@ import { PromptTypes, ScreenTypes, Prompts, PromptsCustomText, PromptSettings }
|
|
|
3
3
|
import { Tenant } from './tools/auth0/handlers/tenant';
|
|
4
4
|
import { Theme } from './tools/auth0/handlers/themes';
|
|
5
5
|
import { Page } from './tools/auth0/handlers/pages';
|
|
6
|
-
|
|
6
|
+
import { LogStream } from './tools/auth0/handlers/logStreams';
|
|
7
|
+
type SharedPaginationParams = {
|
|
7
8
|
checkpoint?: boolean;
|
|
8
9
|
paginate?: boolean;
|
|
9
10
|
is_global?: boolean;
|
|
@@ -11,15 +12,15 @@ declare type SharedPaginationParams = {
|
|
|
11
12
|
id?: string;
|
|
12
13
|
strategy?: 'auth0';
|
|
13
14
|
};
|
|
14
|
-
export
|
|
15
|
+
export type CheckpointPaginationParams = SharedPaginationParams & {
|
|
15
16
|
from: string;
|
|
16
17
|
take: number;
|
|
17
18
|
};
|
|
18
|
-
export
|
|
19
|
+
export type PagePaginationParams = SharedPaginationParams & {
|
|
19
20
|
page: number;
|
|
20
21
|
per_page: number;
|
|
21
22
|
};
|
|
22
|
-
|
|
23
|
+
type APIClientBaseFunctions = {
|
|
23
24
|
getAll: (arg0: SharedPaginationParams) => Promise<Asset[]>;
|
|
24
25
|
create: (arg0: {
|
|
25
26
|
id: string;
|
|
@@ -27,7 +28,7 @@ declare type APIClientBaseFunctions = {
|
|
|
27
28
|
update: (arg0: {}, arg1: Asset) => Promise<Asset>;
|
|
28
29
|
delete: (arg0: Asset) => Promise<void>;
|
|
29
30
|
};
|
|
30
|
-
export
|
|
31
|
+
export type ApiResponse = {
|
|
31
32
|
start: number;
|
|
32
33
|
limit: number;
|
|
33
34
|
total: number;
|
|
@@ -35,7 +36,7 @@ export declare type ApiResponse = {
|
|
|
35
36
|
} & {
|
|
36
37
|
[key in AssetTypes]: Asset[];
|
|
37
38
|
};
|
|
38
|
-
export
|
|
39
|
+
export type BaseAuth0APIClient = {
|
|
39
40
|
actions: {
|
|
40
41
|
getAll: (arg0: SharedPaginationParams) => Promise<Action[]>;
|
|
41
42
|
create: (arg0: {
|
|
@@ -128,7 +129,14 @@ export declare type BaseAuth0APIClient = {
|
|
|
128
129
|
}) => Promise<Promise<Asset[]>>;
|
|
129
130
|
addSecrets: (arg0: {}, arg1: Asset) => Promise<void>;
|
|
130
131
|
};
|
|
131
|
-
logStreams:
|
|
132
|
+
logStreams: {
|
|
133
|
+
getAll: (arg0: SharedPaginationParams) => Promise<LogStream[]>;
|
|
134
|
+
create: (arg0: {
|
|
135
|
+
id: string;
|
|
136
|
+
}) => Promise<LogStream>;
|
|
137
|
+
update: (arg0: {}, arg1: Partial<LogStream>) => Promise<LogStream>;
|
|
138
|
+
delete: (arg0: Asset) => Promise<void>;
|
|
139
|
+
};
|
|
132
140
|
migrations: APIClientBaseFunctions & {
|
|
133
141
|
getMigrations: () => Promise<{
|
|
134
142
|
flags: Asset[];
|
|
@@ -189,7 +197,7 @@ export declare type BaseAuth0APIClient = {
|
|
|
189
197
|
getTriggerBindings: () => Promise<Asset>;
|
|
190
198
|
};
|
|
191
199
|
};
|
|
192
|
-
export
|
|
200
|
+
export type Auth0APIClient = BaseAuth0APIClient & {
|
|
193
201
|
pool: {
|
|
194
202
|
addSingleTask: (arg0: {
|
|
195
203
|
data: Object;
|
|
@@ -205,13 +213,14 @@ export declare type Auth0APIClient = BaseAuth0APIClient & {
|
|
|
205
213
|
};
|
|
206
214
|
};
|
|
207
215
|
};
|
|
208
|
-
export
|
|
216
|
+
export type Config = {
|
|
209
217
|
AUTH0_DOMAIN: string;
|
|
210
218
|
AUTH0_CLIENT_ID: string;
|
|
211
219
|
AUTH0_CLIENT_SECRET: string;
|
|
212
220
|
AUTH0_INPUT_FILE: string;
|
|
213
221
|
AUTH0_ALLOW_DELETE: boolean;
|
|
214
|
-
AUTH0_EXCLUDED
|
|
222
|
+
AUTH0_EXCLUDED?: AssetTypes[];
|
|
223
|
+
AUTH0_INCLUDED_ONLY?: AssetTypes[];
|
|
215
224
|
EXTENSION_SECRET: string;
|
|
216
225
|
AUTH0_ACCESS_TOKEN?: string;
|
|
217
226
|
AUTH0_BASE_PATH?: string;
|
|
@@ -234,10 +243,10 @@ export declare type Config = {
|
|
|
234
243
|
AUTH0_EXCLUDED_RESOURCE_SERVERS?: string[];
|
|
235
244
|
AUTH0_EXCLUDED_DEFAULTS?: string[];
|
|
236
245
|
};
|
|
237
|
-
export
|
|
246
|
+
export type Asset = {
|
|
238
247
|
[key: string]: any;
|
|
239
248
|
};
|
|
240
|
-
export
|
|
249
|
+
export type Assets = Partial<{
|
|
241
250
|
actions: Action[] | null;
|
|
242
251
|
attackProtection: Asset | null;
|
|
243
252
|
branding: (Asset & {
|
|
@@ -264,7 +273,7 @@ export declare type Assets = Partial<{
|
|
|
264
273
|
policies: Asset[];
|
|
265
274
|
} | null;
|
|
266
275
|
hooks: Asset[] | null;
|
|
267
|
-
logStreams:
|
|
276
|
+
logStreams: LogStream[] | null;
|
|
268
277
|
migrations: Asset[] | null;
|
|
269
278
|
organizations: Asset[] | null;
|
|
270
279
|
pages: Page[] | null;
|
|
@@ -281,19 +290,19 @@ export declare type Assets = Partial<{
|
|
|
281
290
|
clientsOrig: Asset[] | null;
|
|
282
291
|
themes: Theme[] | null;
|
|
283
292
|
}>;
|
|
284
|
-
export
|
|
293
|
+
export type CalculatedChanges = {
|
|
285
294
|
del: Asset[];
|
|
286
295
|
update: Asset[];
|
|
287
296
|
conflicts: Asset[];
|
|
288
297
|
create: Asset[];
|
|
289
298
|
};
|
|
290
|
-
export
|
|
291
|
-
export
|
|
299
|
+
export type AssetTypes = 'rules' | 'rulesConfigs' | 'hooks' | 'pages' | 'databases' | 'clientGrants' | 'resourceServers' | 'clients' | 'connections' | 'tenant' | 'emailProvider' | 'emailTemplates' | 'guardianFactors' | 'guardianFactorProviders' | 'guardianFactorTemplates' | 'migrations' | 'guardianPhoneFactorMessageTypes' | 'guardianPhoneFactorSelectedProvider' | 'guardianPolicies' | 'roles' | 'actions' | 'organizations' | 'triggers' | 'attackProtection' | 'branding' | 'logStreams' | 'prompts' | 'customDomains' | 'themes';
|
|
300
|
+
export type KeywordMappings = {
|
|
292
301
|
[key: string]: (string | number)[] | string | number;
|
|
293
302
|
};
|
|
294
|
-
export
|
|
303
|
+
export type ParsedAsset<Key extends AssetTypes, T> = {
|
|
295
304
|
[key in Key]: T | null;
|
|
296
305
|
};
|
|
297
306
|
export declare const languages: readonly ["ar", "bg", "bs", "cs", "da", "de", "el", "en", "es", "et", "fi", "fr", "fr-CA", "fr-FR", "he", "hi", "hr", "hu", "id", "is", "it", "ja", "ko", "lt", "lv", "nb", "nl", "pl", "pt", "pt-BR", "pt-PT", "ro", "ru", "sk", "sl", "sr", "sv", "th", "tr", "uk", "vi", "zh-CN", "zh-TW"];
|
|
298
|
-
export
|
|
307
|
+
export type Language = typeof languages[number];
|
|
299
308
|
export {};
|
package/lib/types.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":";;;AAgTa,QAAA,SAAS,GAAG;IACvB,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,OAAO;IACP,OAAO;IACP,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,OAAO;IACP,OAAO;IACP,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,OAAO;IACP,OAAO;CACC,CAAC"}
|
package/lib/utils.d.ts
CHANGED
|
@@ -36,7 +36,7 @@ export declare function stripIdentifiers(auth0: Auth0, assets: Assets): {
|
|
|
36
36
|
policies: Asset[];
|
|
37
37
|
} | null | undefined;
|
|
38
38
|
hooks?: Asset[] | null | undefined;
|
|
39
|
-
logStreams?:
|
|
39
|
+
logStreams?: import("./tools/auth0/handlers/logStreams").LogStream[] | null | undefined;
|
|
40
40
|
migrations?: Asset[] | null | undefined;
|
|
41
41
|
organizations?: Asset[] | null | undefined;
|
|
42
42
|
pages?: import("./tools/auth0/handlers/pages").Page[] | null | undefined;
|
|
@@ -100,7 +100,7 @@ export declare function stripIdentifiers(auth0: Auth0, assets: Assets): {
|
|
|
100
100
|
themes?: import("./tools/auth0/handlers/themes").Theme[] | null | undefined;
|
|
101
101
|
};
|
|
102
102
|
export declare function sanitize(str: string): string;
|
|
103
|
-
|
|
103
|
+
type ImportantFields = {
|
|
104
104
|
name: string | null;
|
|
105
105
|
client_id: string | null;
|
|
106
106
|
audience: string | null;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "auth0-deploy-cli",
|
|
3
|
-
"version": "7.
|
|
3
|
+
"version": "7.16.0",
|
|
4
4
|
"description": "A command line tool for deploying updates to your Auth0 tenant",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"bin": {
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
"test": "ts-mocha -p tsconfig.json --recursive 'test/**/*.test*' --exclude 'test/e2e/*' --timeout 5000",
|
|
14
14
|
"test:e2e:node-module": "ts-mocha -p tsconfig.json --recursive 'test/e2e/*.test*' --timeout 120000",
|
|
15
15
|
"test:e2e:cli": "sh ./test/e2e/e2e-cli.sh",
|
|
16
|
-
"test:coverage": "nyc npm run test
|
|
16
|
+
"test:coverage": "nyc npm run test && nyc report --reporter=lcov",
|
|
17
17
|
"build": "rimraf ./lib && npx tsc",
|
|
18
18
|
"dev": "npx tsc --watch",
|
|
19
19
|
"prepublishOnly": "npm run build",
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"homepage": "https://github.com/auth0/auth0-deploy-cli#readme",
|
|
34
34
|
"dependencies": {
|
|
35
35
|
"ajv": "^6.12.6",
|
|
36
|
-
"auth0": "^
|
|
36
|
+
"auth0": "^3.0.0",
|
|
37
37
|
"dot-prop": "^5.2.0",
|
|
38
38
|
"fs-extra": "^10.1.0",
|
|
39
39
|
"global-agent": "^2.1.12",
|
|
@@ -48,11 +48,11 @@
|
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
50
|
"@types/fs-extra": "^9.0.13",
|
|
51
|
-
"@types/lodash": "^4.14.
|
|
52
|
-
"@types/mocha": "^
|
|
51
|
+
"@types/lodash": "^4.14.187",
|
|
52
|
+
"@types/mocha": "^10.0.0",
|
|
53
53
|
"@types/nconf": "^0.10.3",
|
|
54
54
|
"@typescript-eslint/parser": "^5.30.3",
|
|
55
|
-
"chai": "^4.3.
|
|
55
|
+
"chai": "^4.3.7",
|
|
56
56
|
"chai-as-promised": "^7.1.1",
|
|
57
57
|
"eslint": "^7.28.0",
|
|
58
58
|
"eslint-config-airbnb-base": "^14.2.1",
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
"eslint-plugin-import": "^2.26.0",
|
|
61
61
|
"husky": "^7.0.4",
|
|
62
62
|
"kacl": "^1.1.1",
|
|
63
|
-
"mocha": "^
|
|
63
|
+
"mocha": "^10.1.0",
|
|
64
64
|
"nock": "^13.2.9",
|
|
65
65
|
"nyc": "^15.0.1",
|
|
66
66
|
"prettier": "^2.6.2",
|
|
@@ -69,8 +69,8 @@
|
|
|
69
69
|
"rmdir-sync": "^1.0.1",
|
|
70
70
|
"sinon": "^13.0.2",
|
|
71
71
|
"sinon-chai": "^3.7.0",
|
|
72
|
-
"ts-mocha": "^
|
|
73
|
-
"typescript": "^4.8.
|
|
72
|
+
"ts-mocha": "^10.0.0",
|
|
73
|
+
"typescript": "^4.8.4",
|
|
74
74
|
"zlib": "^1.0.5"
|
|
75
75
|
},
|
|
76
76
|
"overrides": {
|