Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: platform api usage based billing using queue #15085

Open
wants to merge 24 commits into
base: main
Choose a base branch
from

Conversation

ThyMinimalDev
Copy link
Contributor

What does this PR do?

Usage based billing for platform api using Bull Queue

  • Creating a booking
    • a job is created to increment the usage when the booking will start
  • Canceling a booking
    • cancel the job that was supposed to run to increment usage when booking would start
  • Reschedule
    • cancel the job that was supposed to run to increment usage when booking would start
    • create a new job to increment usage when rescheduled booking will happen

if you are wondering why we don't simply tell stripe to decrement usage, it's simply because stripe does not allow it.

@graphite-app graphite-app bot requested a review from a team May 16, 2024 23:29
Copy link
Contributor

github-actions bot commented May 16, 2024

Thank you for following the naming conventions! 🙏 Feel free to join our discord and post your PR link.

@keithwillcode keithwillcode added core area: core, team members only platform Anything related to our platform plan labels May 16, 2024
@graphite-app graphite-app bot requested a review from a team May 16, 2024 23:30
@dosubot dosubot bot added the billing area: billing, stripe, payments, paypal, get paid label May 16, 2024
Copy link

graphite-app bot commented May 16, 2024

Graphite Automations

"Add foundation team as reviewer" took an action on this PR • (05/16/24)

1 reviewer was added to this PR based on Keith Williams's automation.

"Add platform team as reviewer" took an action on this PR • (05/16/24)

1 reviewer was added to this PR based on Keith Williams's automation.

@dosubot dosubot bot added the bookings area: bookings, availability, timezones, double booking label May 16, 2024
Copy link

socket-security bot commented May 16, 2024

New and removed dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher
npm/@0no-co/graphql.web@1.0.4 None 0 153 kB philpl
npm/@47ng/cloak@1.1.0 Transitive: environment, filesystem, shell +3 248 kB franky47
npm/@47ng/codec@1.1.0 None 0 14.1 kB franky47
npm/@aashutoshrathi/word-wrap@1.2.6 None 0 10.9 kB aashutoshrathi
npm/@adobe/css-tools@4.3.3 None 0 180 kB adobe-admin
npm/@algora/sdk@0.1.3 None 0 328 kB zcesur
npm/@alloc/quick-lru@5.2.0 None 0 14.1 kB aleclarson
npm/@ampproject/remapping@2.2.1 None 0 76 kB jridgewell
npm/@angular-devkit/core@17.1.2 eval, network Transitive: filesystem +3 1.6 MB google-wombot
npm/@angular-devkit/schematics-cli@17.1.2 Transitive: environment, filesystem +10 379 kB google-wombot
npm/@angular-devkit/schematics@17.1.2 None +1 698 kB google-wombot
npm/@antfu/ni@0.21.5 environment, filesystem, shell 0 424 kB antfu
npm/@anthropic-ai/sdk@0.9.1 environment, network +1 2.45 MB zak-anthropic
npm/@apidevtools/json-schema-ref-parser@9.0.9 filesystem, network +1 556 kB jamesmessinger
npm/@apidevtools/openapi-schemas@2.1.0 None 0 189 kB jamesmessinger
npm/@apidevtools/swagger-methods@3.0.2 None 0 6.79 kB jamesmessinger
npm/@apidevtools/swagger-parser@10.0.2 None 0 75.3 kB jamesmessinger
npm/@ardatan/relay-compiler@12.0.0 environment, eval, filesystem, shell +5 2.82 MB ardatan
npm/@ardatan/sync-fetch@0.0.1 network, shell 0 85.7 kB ardatan
npm/@aw-web-design/x-default-browser@1.4.126 shell 0 50.5 kB the-code-monkey
npm/@aws-crypto/crc32@3.0.0 None +1 66.6 kB aws-crypto-tools-ci-bot
npm/@aws-crypto/ie11-detection@3.0.0 None 0 28.6 kB aws-crypto-tools-ci-bot
npm/@aws-crypto/sha256-browser@3.0.0 None 0 42.6 kB aws-crypto-tools-ci-bot
npm/@aws-crypto/sha256-js@3.0.0 None 0 87.4 kB aws-crypto-tools-ci-bot
npm/@aws-crypto/supports-web-crypto@3.0.0 None 0 26 kB aws-crypto-tools-ci-bot
npm/@aws-crypto/util@3.0.0 None 0 24.3 kB aws-crypto-tools-ci-bot
npm/@aws-sdk/client-cognito-identity@3.507.0 None +2 745 kB aws-sdk-bot
npm/@aws-sdk/client-dynamodb@3.507.0 None 0 1.74 MB aws-sdk-bot
npm/@aws-sdk/client-sso-oidc@3.507.0 None 0 253 kB aws-sdk-bot
npm/@aws-sdk/client-sso@3.507.0 None 0 173 kB aws-sdk-bot
npm/@aws-sdk/client-sts@3.507.0 None 0 441 kB aws-sdk-bot
npm/@aws-sdk/core@3.496.0 None 0 230 kB aws-sdk-bot
npm/@aws-sdk/credential-provider-cognito-identity@3.507.0 None 0 41.3 kB aws-sdk-bot
npm/@aws-sdk/credential-provider-env@3.502.0 environment 0 18.9 kB aws-sdk-bot
npm/@aws-sdk/credential-provider-http@3.503.1 environment, filesystem 0 27.1 kB aws-sdk-bot
npm/@aws-sdk/credential-provider-ini@3.507.0 None 0 43.3 kB aws-sdk-bot
npm/@aws-sdk/credential-provider-node@3.507.0 environment 0 33.3 kB aws-sdk-bot
npm/@aws-sdk/credential-provider-process@3.502.0 shell 0 23.1 kB aws-sdk-bot
npm/@aws-sdk/credential-provider-sso@3.507.0 None 0 34 kB aws-sdk-bot
npm/@aws-sdk/credential-provider-web-identity@3.507.0 environment, filesystem 0 32.8 kB aws-sdk-bot
npm/@aws-sdk/credential-providers@3.507.0 None 0 89.9 kB aws-sdk-bot
npm/@aws-sdk/endpoint-cache@3.495.0 None 0 21.8 kB aws-sdk-bot
npm/@aws-sdk/middleware-endpoint-discovery@3.502.0 None 0 40 kB aws-sdk-bot
npm/@aws-sdk/middleware-host-header@3.502.0 None 0 19 kB aws-sdk-bot
npm/@aws-sdk/middleware-logger@3.502.0 None 0 19.4 kB aws-sdk-bot
npm/@aws-sdk/middleware-recursion-detection@3.502.0 environment 0 18.7 kB aws-sdk-bot
npm/@aws-sdk/middleware-signing@3.502.0 None 0 38.6 kB aws-sdk-bot
npm/@aws-sdk/middleware-user-agent@3.502.0 None 0 25.8 kB aws-sdk-bot
npm/@aws-sdk/region-config-resolver@3.502.0 None 0 24.5 kB aws-sdk-bot
npm/@aws-sdk/token-providers@3.507.0 filesystem 0 35.9 kB aws-sdk-bot
npm/@aws-sdk/types@3.577.0 None 0 48.5 kB aws-sdk-bot
npm/@aws-sdk/util-dynamodb@3.507.0 None 0 50.3 kB aws-sdk-bot
npm/@aws-sdk/util-endpoints@3.502.0 None 0 49.6 kB aws-sdk-bot
npm/@aws-sdk/util-locate-window@3.568.0 None 0 15.1 kB aws-sdk-bot
npm/@aws-sdk/util-user-agent-browser@3.502.0 None 0 18 kB aws-sdk-bot
npm/@aws-sdk/util-user-agent-node@3.502.0 None 0 19.9 kB aws-sdk-bot
npm/@aws-sdk/util-utf8-browser@3.259.0 None 0 20 kB aws-sdk-bot
npm/@azure/abort-controller@1.1.0 None 0 65 kB azure-sdk
npm/@azure/core-auth@1.4.0 None 0 64.5 kB azure-sdk
npm/@azure/core-client@1.6.1 None 0 662 kB azure-sdk
npm/@azure/core-http-compat@1.3.0 None 0 69.8 kB azure-sdk
npm/@azure/core-lro@2.4.0 None 0 312 kB azure-sdk
npm/@azure/core-paging@1.4.0 None 0 37.5 kB azure-sdk
npm/@azure/core-rest-pipeline@1.16.0 environment, network +4 2.1 MB microsoft1es
npm/@azure/core-tracing@1.1.2 None 0 233 kB microsoft1es
npm/@azure/core-util@1.9.0 None 0 248 kB microsoft1es
npm/@azure/identity@3.4.2 environment, filesystem, network, shell +1 1.63 MB azure-sdk
npm/@azure/keyvault-keys@4.6.0 None 0 1.25 MB azure-sdk
npm/@azure/logger@1.1.2 environment 0 124 kB microsoft1es
npm/@azure/msal-browser@3.16.0 None 0 5.59 MB azuread
npm/@azure/msal-common@14.11.0 None 0 0 B
npm/@azure/msal-node@2.6.2 environment, network +1 2.86 MB azuread
npm/@babel/code-frame@7.24.6 environment 0 24.1 kB nicolo-ribaudo
npm/@babel/compat-data@7.24.6 None 0 65.2 kB nicolo-ribaudo
npm/@babel/core@7.24.6 environment, filesystem, unsafe 0 785 kB nicolo-ribaudo
npm/@babel/generator@7.24.6 None +1 663 kB nicolo-ribaudo
npm/@babel/helper-annotate-as-pure@7.24.6 None 0 56.6 kB nicolo-ribaudo
npm/@babel/helper-builder-binary-assignment-operator-visitor@7.22.15 None 0 13.5 kB nicolo-ribaudo
npm/@babel/helper-compilation-targets@7.24.6 None +2 82.7 kB nicolo-ribaudo
npm/@babel/helper-create-class-features-plugin@7.24.6 None 0 507 kB nicolo-ribaudo
npm/@babel/helper-create-regexp-features-plugin@7.22.9 None 0 27 kB nicolo-ribaudo
npm/@babel/helper-define-polyfill-provider@0.4.3 unsafe 0 202 kB nicolo-ribaudo
npm/@babel/helper-environment-visitor@7.24.6 None 0 6.61 kB nicolo-ribaudo
npm/@babel/helper-function-name@7.24.6 None 0 21.7 kB nicolo-ribaudo
npm/@babel/helper-hoist-variables@7.24.6 None 0 7.04 kB nicolo-ribaudo
npm/@babel/helper-member-expression-to-functions@7.24.6 None 0 107 kB nicolo-ribaudo
npm/@babel/helper-module-imports@7.24.6 None 0 63.8 kB nicolo-ribaudo
npm/@babel/helper-module-transforms@7.24.6 None 0 158 kB nicolo-ribaudo
npm/@babel/helper-optimise-call-expression@7.24.6 None 0 55 kB nicolo-ribaudo
npm/@babel/helper-plugin-utils@7.24.6 None 0 127 kB nicolo-ribaudo
npm/@babel/helper-remap-async-to-generator@7.22.20 None 0 9.96 kB nicolo-ribaudo
npm/@babel/helper-replace-supers@7.24.6 None 0 98.6 kB nicolo-ribaudo
npm/@babel/helper-simple-access@7.24.6 None 0 14.1 kB nicolo-ribaudo
npm/@babel/helper-skip-transparent-expression-wrappers@7.24.6 None 0 58.6 kB nicolo-ribaudo
npm/@babel/helper-split-export-declaration@7.24.6 None 0 10.7 kB nicolo-ribaudo
npm/@babel/helper-string-parser@7.24.6 None 0 31.7 kB nicolo-ribaudo
npm/@babel/helper-validator-identifier@7.24.6 None 0 49.2 kB nicolo-ribaudo
npm/@babel/helper-validator-option@7.24.6 None 0 11.8 kB nicolo-ribaudo
npm/@babel/helper-wrap-function@7.24.6 None 0 73.7 kB nicolo-ribaudo
npm/@babel/helpers@7.24.6 None 0 858 kB nicolo-ribaudo
npm/@babel/highlight@7.24.6 environment 0 20.3 kB nicolo-ribaudo
npm/@babel/parser@7.24.6 None 0 1.89 MB nicolo-ribaudo
npm/@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression@7.23.3 None 0 7.83 kB nicolo-ribaudo
npm/@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining@7.23.3 None 0 10.7 kB nicolo-ribaudo
npm/@babel/plugin-bugfix-v8-static-class-fields-redefine-readonly@7.23.3 None 0 25.1 kB nicolo-ribaudo
npm/@babel/plugin-proposal-class-properties@7.18.6 None 0 3.34 kB nicolo-ribaudo
npm/@babel/plugin-proposal-object-rest-spread@7.20.7 None 0 70.5 kB nicolo-ribaudo
npm/@babel/plugin-proposal-private-property-in-object@7.21.0-placeholder-for-preset-env.2 None 0 16.3 kB nicolo-ribaudo
npm/@babel/plugin-syntax-async-generators@7.8.4 None 0 2.52 kB nicolo-ribaudo
npm/@babel/plugin-syntax-bigint@7.8.3 None 0 2.42 kB nicolo-ribaudo
npm/@babel/plugin-syntax-class-properties@7.12.13 None 0 2.68 kB nicolo-ribaudo
npm/@babel/plugin-syntax-class-static-block@7.14.5 None 0 2.74 kB nicolo-ribaudo
npm/@babel/plugin-syntax-dynamic-import@7.8.3 None 0 2.47 kB nicolo-ribaudo
npm/@babel/plugin-syntax-export-namespace-from@7.8.3 None 0 2.62 kB nicolo-ribaudo
npm/@babel/plugin-syntax-flow@7.24.6 None 0 71.3 kB nicolo-ribaudo
npm/@babel/plugin-syntax-import-assertions@7.24.1 None 0 3.65 kB nicolo-ribaudo
npm/@babel/plugin-syntax-import-attributes@7.23.3 None 0 5.19 kB nicolo-ribaudo
npm/@babel/plugin-syntax-import-meta@7.10.4 None 0 2.56 kB jlhwung
npm/@babel/plugin-syntax-json-strings@7.8.3 None 0 2.58 kB nicolo-ribaudo
npm/@babel/plugin-syntax-jsx@7.24.6 None 0 70 kB nicolo-ribaudo
npm/@babel/plugin-syntax-logical-assignment-operators@7.10.4 None 0 2.74 kB jlhwung
npm/@babel/plugin-syntax-nullish-coalescing-operator@7.8.3 None 0 2.63 kB nicolo-ribaudo
npm/@babel/plugin-syntax-numeric-separator@7.10.4 None 0 2.75 kB jlhwung
npm/@babel/plugin-syntax-object-rest-spread@7.8.3 None 0 2.53 kB nicolo-ribaudo
npm/@babel/plugin-syntax-optional-catch-binding@7.8.3 None 0 2.57 kB nicolo-ribaudo
npm/@babel/plugin-syntax-optional-chaining@7.8.3 None 0 2.52 kB nicolo-ribaudo
npm/@babel/plugin-syntax-private-property-in-object@7.14.5 None 0 2.82 kB nicolo-ribaudo
npm/@babel/plugin-syntax-top-level-await@7.14.5 None 0 2.74 kB nicolo-ribaudo
npm/@babel/plugin-syntax-typescript@7.23.3 None 0 6.94 kB nicolo-ribaudo
npm/@babel/plugin-syntax-unicode-sets-regex@7.18.6 None 0 3.4 kB nicolo-ribaudo
npm/@babel/plugin-transform-arrow-functions@7.24.6 None 0 71.5 kB nicolo-ribaudo
npm/@babel/plugin-transform-async-generator-functions@7.23.4 None 0 20.5 kB nicolo-ribaudo
npm/@babel/plugin-transform-async-to-generator@7.23.3 None 0 8.04 kB nicolo-ribaudo
npm/@babel/plugin-transform-block-scoped-functions@7.24.6 None 0 72.5 kB nicolo-ribaudo
npm/@babel/plugin-transform-block-scoping@7.24.6 None 0 155 kB nicolo-ribaudo
npm/@babel/plugin-transform-class-properties@7.22.5 None 0 4.86 kB nicolo-ribaudo
npm/@babel/plugin-transform-class-static-block@7.23.4 None 0 10.2 kB nicolo-ribaudo
npm/@babel/plugin-transform-classes@7.24.6 None +1 200 kB nicolo-ribaudo
npm/@babel/plugin-transform-computed-properties@7.24.6 None 0 88.7 kB nicolo-ribaudo
npm/@babel/plugin-transform-destructuring@7.24.6 None 0 148 kB nicolo-ribaudo
npm/@babel/plugin-transform-dotall-regex@7.23.3 None +1 97.7 kB nicolo-ribaudo
npm/@babel/plugin-transform-duplicate-keys@7.23.3 None 0 9.18 kB nicolo-ribaudo
npm/@babel/plugin-transform-dynamic-import@7.23.4 None 0 6.21 kB nicolo-ribaudo
npm/@babel/plugin-transform-exponentiation-operator@7.23.3 None 0 5.02 kB nicolo-ribaudo
npm/@babel/plugin-transform-export-namespace-from@7.22.11 None 0 8.04 kB nicolo-ribaudo
npm/@babel/plugin-transform-flow-strip-types@7.24.6 None 0 83.9 kB nicolo-ribaudo
npm/@babel/plugin-transform-for-of@7.24.6 None 0 111 kB nicolo-ribaudo
npm/@babel/plugin-transform-function-name@7.24.6 None 0 72.3 kB nicolo-ribaudo
npm/@babel/plugin-transform-json-strings@7.23.4 None 0 5.86 kB nicolo-ribaudo
npm/@babel/plugin-transform-literals@7.24.6 None 0 70.5 kB nicolo-ribaudo
npm/@babel/plugin-transform-logical-assignment-operators@7.23.4 None 0 8.59 kB nicolo-ribaudo
npm/@babel/plugin-transform-member-expression-literals@7.24.6 None 0 70.9 kB nicolo-ribaudo
npm/@babel/plugin-transform-modules-amd@7.23.3 None 0 21 kB nicolo-ribaudo
npm/@babel/plugin-transform-modules-commonjs@7.24.6 None 0 111 kB nicolo-ribaudo
npm/@babel/plugin-transform-modules-systemjs@7.23.3 None 0 65.7 kB nicolo-ribaudo
npm/@babel/plugin-transform-modules-umd@7.23.3 None 0 25.7 kB nicolo-ribaudo
npm/@babel/plugin-transform-named-capturing-groups-regex@7.22.5 None 0 4.87 kB nicolo-ribaudo
npm/@babel/plugin-transform-new-target@7.23.3 None 0 10.3 kB nicolo-ribaudo
npm/@babel/plugin-transform-nullish-coalescing-operator@7.22.11 None 0 9 kB nicolo-ribaudo
npm/@babel/plugin-transform-numeric-separator@7.22.11 None 0 5.33 kB nicolo-ribaudo
npm/@babel/plugin-transform-object-rest-spread@7.23.4 None 0 70.7 kB nicolo-ribaudo
npm/@babel/plugin-transform-object-super@7.24.6 None 0 75.4 kB nicolo-ribaudo
npm/@babel/plugin-transform-optional-catch-binding@7.23.4 None 0 4.81 kB nicolo-ribaudo
npm/@babel/plugin-transform-optional-chaining@7.24.6 None 0 105 kB nicolo-ribaudo
npm/@babel/plugin-transform-parameters@7.24.6 None 0 132 kB nicolo-ribaudo
npm/@babel/plugin-transform-private-methods@7.22.5 None 0 4.68 kB nicolo-ribaudo
npm/@babel/plugin-transform-private-property-in-object@7.23.4 None 0 20 kB nicolo-ribaudo
npm/@babel/plugin-transform-property-literals@7.24.6 None 0 70.6 kB nicolo-ribaudo
npm/@babel/plugin-transform-react-display-name@7.24.6 None 0 78.4 kB nicolo-ribaudo
npm/@babel/plugin-transform-react-jsx-development@7.22.5 None 0 2.98 kB nicolo-ribaudo
npm/@babel/plugin-transform-react-jsx-self@7.22.5 None 0 9.11 kB nicolo-ribaudo
npm/@babel/plugin-transform-react-jsx-source@7.22.5 None 0 9.18 kB nicolo-ribaudo
npm/@babel/plugin-transform-react-jsx@7.24.6 None 0 147 kB nicolo-ribaudo
npm/@babel/plugin-transform-react-pure-annotations@7.23.3 None 0 8.41 kB nicolo-ribaudo
npm/@babel/plugin-transform-regenerator@7.23.3 None 0 6.57 kB nicolo-ribaudo
npm/@babel/plugin-transform-reserved-words@7.23.3 None 0 4.35 kB nicolo-ribaudo
npm/@babel/plugin-transform-runtime@7.23.4 unsafe 0 41.1 kB nicolo-ribaudo
npm/@babel/plugin-transform-shorthand-properties@7.24.6 None 0 73 kB nicolo-ribaudo
npm/@babel/plugin-transform-spread@7.24.6 None 0 87.4 kB nicolo-ribaudo
npm/@babel/plugin-transform-sticky-regex@7.23.3 None 0 4.71 kB nicolo-ribaudo
npm/@babel/plugin-transform-template-literals@7.24.6 None 0 81.8 kB nicolo-ribaudo
npm/@babel/plugin-transform-typeof-symbol@7.23.3 None 0 10.6 kB nicolo-ribaudo
npm/@babel/plugin-transform-typescript@7.23.5 None 0 132 kB nicolo-ribaudo
npm/@babel/plugin-transform-unicode-escapes@7.23.3 None 0 14 kB nicolo-ribaudo
npm/@babel/plugin-transform-unicode-property-regex@7.23.3 None 0 5.07 kB nicolo-ribaudo
npm/@babel/plugin-transform-unicode-regex@7.23.3 None 0 4 kB nicolo-ribaudo
npm/@babel/plugin-transform-unicode-sets-regex@7.23.3 None 0 4.74 kB nicolo-ribaudo
npm/@babel/preset-env@7.23.5 environment +5 512 kB nicolo-ribaudo
npm/@babel/preset-flow@7.23.3 None 0 7.42 kB nicolo-ribaudo
npm/@babel/preset-modules@0.1.6-no-external-plugins None 0 38.6 kB nicolo-ribaudo
npm/@babel/preset-react@7.23.3 None 0 12.3 kB nicolo-ribaudo
npm/@babel/preset-typescript@7.23.3 None 0 21.6 kB nicolo-ribaudo
npm/@babel/register@7.22.15 environment, filesystem, unsafe +2 134 kB nicolo-ribaudo
npm/@babel/regjsgen@0.8.0 None 0 15.4 kB nicolo-ribaudo
npm/@babel/runtime-corejs3@7.22.11 None 0 321 kB nicolo-ribaudo
npm/@babel/runtime@7.24.6 None 0 249 kB nicolo-ribaudo
npm/@babel/template@7.24.6 None 0 69 kB nicolo-ribaudo
npm/@babel/traverse@7.24.6 None 0 634 kB nicolo-ribaudo
npm/@babel/types@7.24.6 environment 0 2.41 MB nicolo-ribaudo
npm/@base2/pretty-print-object@1.0.1 None 0 18.1 kB chris-baker
npm/@bcoe/v8-coverage@0.2.3 None 0 277 kB bcoe
npm/@boxyhq/error-code-mnemonic@0.1.1 None 0 29.5 kB deepakp
npm/@boxyhq/metrics@0.2.6 environment 0 26.6 kB deepakp
npm/@boxyhq/saml-jackson@1.18.6 filesystem Transitive: network +1 2.77 MB deepakp
npm/@boxyhq/saml20@1.4.10 None 0 62 kB deepakp
npm/@braintree/sanitize-url@6.0.0 None 0 15.5 kB braintree
npm/@calcom/atoms@1.0.47 environment, eval, network +2 22.5 MB morgan-calcom
npm/@calcom/platform-libraries@0.0.2 environment, network, unsafe 0 3.55 MB morgan-calcom
npm/@calcom/platform-libraries@0.0.3 None 0 0 B
npm/@changesets/apply-release-plan@7.0.3 filesystem 0 179 kB changesets-release-bot
npm/@changesets/assemble-release-plan@6.0.2 None 0 154 kB changesets-release-bot
npm/@changesets/changelog-git@0.2.0 None 0 9.82 kB changesets-release-bot
npm/@changesets/cli@2.27.5 environment, filesystem, shell 0 124 kB changesets-release-bot
npm/@changesets/config@3.0.1 filesystem 0 41.3 kB changesets-release-bot
npm/@changesets/errors@0.2.0 None 0 8.24 kB changesets-release-bot
npm/@changesets/get-dependents-graph@2.1.0 None 0 26.4 kB changesets-release-bot
npm/@changesets/get-release-plan@4.0.2 None 0 23.1 kB changesets-release-bot
npm/@changesets/get-version-range-type@0.4.0 None 0 5.98 kB changesets-release-bot
npm/@changesets/git@3.0.0 filesystem 0 70.8 kB changesets-release-bot
npm/@changesets/logger@0.1.0 None 0 9.81 kB changesets-release-bot
npm/@changesets/parse@0.4.0 None 0 18.8 kB changesets-release-bot
npm/@changesets/pre@2.0.0 filesystem 0 23.1 kB changesets-release-bot
npm/@changesets/read@0.6.0 filesystem 0 30.4 kB changesets-release-bot
npm/@changesets/types@6.0.0 None 0 22.1 kB changesets-release-bot
npm/@changesets/write@0.3.1 filesystem 0 14.9 kB changesets-release-bot
npm/@chevrotain/cst-dts-gen@10.5.0 None 0 37.8 kB bd82
npm/@chevrotain/gast@10.5.0 None 0 66.6 kB bd82
npm/@chevrotain/types@10.5.0 None 0 95.4 kB bd82
npm/@chevrotain/utils@10.5.0 None 0 19 kB bd82
npm/@colors/colors@1.5.0 environment 0 39.5 kB dabh
npm/@cspotcode/source-map-support@0.8.1 filesystem 0 102 kB cspotcode
npm/@dabh/diagnostics@2.0.3 environment 0 30.1 kB dabh
npm/@daily-co/daily-js@0.59.0 network 0 966 kB kompfner_daily
npm/@daily-co/daily-react@0.17.2 environment 0 1.27 MB christian-daily
npm/@date-io/core@1.3.13 None 0 5.24 kB dmtr.kovalenko
npm/@date-io/moment@1.3.13 None 0 28.3 kB dmtr.kovalenko
npm/@datocms/cma-client-node@2.2.6 filesystem 0 95.3 kB stefanoverna
npm/@datocms/cma-client@2.2.6 None 0 3.17 MB stefanoverna
npm/@datocms/rest-client-utils@1.3.3 None 0 189 kB souljuse
npm/@discoveryjs/json-ext@0.5.7 None 0 81.1 kB lahmatiy
npm/@emotion/babel-plugin@11.7.2 environment Transitive: filesystem +3 991 kB emotion-release-bot
npm/@emotion/cache@11.7.1 environment 0 97.2 kB emotion-release-bot
npm/@emotion/hash@0.8.0 environment 0 14.1 kB emotion-release-bot
npm/@emotion/is-prop-valid@0.8.8 environment +1 44.4 kB emotion-release-bot
npm/@emotion/memoize@0.7.5 environment 0 4.73 kB emotion-release-bot
npm/@emotion/react@11.9.0 environment 0 558 kB emotion-release-bot
npm/@emotion/serialize@1.1.4 environment +2 73.1 kB emotion-release-bot
npm/@emotion/sheet@1.2.2 environment 0 30.8 kB emotion-release-bot
npm/@emotion/unitless@0.8.1 environment 0 7.05 kB emotion-release-bot
npm/@emotion/use-insertion-effect-with-fallbacks@1.0.1 environment 0 7.38 kB emotion-release-bot
npm/@emotion/utils@1.2.1 environment 0 18.3 kB emotion-release-bot
npm/@emotion/weak-memoize@0.2.5 environment 0 8.03 kB emotion-release-bot
npm/@esbuild/android-arm@0.20.2 None 0 11.5 MB evanw
npm/@esbuild/android-arm64@0.20.2 None 0 9.83 MB evanw
npm/@esbuild/android-x64@0.20.2 None 0 11.5 MB evanw
npm/@esbuild/darwin-arm64@0.20.2 None 0 9.78 MB evanw
npm/@esbuild/darwin-x64@0.20.2 None 0 10.2 MB evanw
npm/@esbuild/freebsd-arm64@0.20.2 None 0 8.85 MB evanw
npm/@esbuild/freebsd-x64@0.20.2 None 0 9.63 MB evanw
npm/@esbuild/linux-arm@0.20.2 None 0 9.18 MB evanw
npm/@esbuild/linux-arm64@0.20.2 None 0 8.85 MB evanw
npm/@esbuild/linux-ia32@0.20.2 None 0 9.16 MB evanw
npm/@esbuild/linux-loong64@0.20.2 None 0 9.37 MB evanw
npm/@esbuild/linux-mips64el@0.20.2 None 0 10.4 MB evanw
npm/@esbuild/linux-ppc64@0.20.2 None 0 9.18 MB evanw
npm/@esbuild/linux-riscv64@0.20.2 None 0 9.11 MB evanw
npm/@esbuild/linux-s390x@0.20.2 None 0 10.1 MB evanw
npm/@esbuild/linux-x64@0.20.2 None 0 9.62 MB evanw
npm/@esbuild/netbsd-x64@0.20.2 None 0 9.6 MB evanw
npm/@esbuild/openbsd-x64@0.20.2 None 0 9.64 MB evanw
npm/@esbuild/sunos-x64@0.20.2 None 0 9.6 MB evanw
npm/@esbuild/win32-arm64@0.20.2 None 0 9 MB evanw
npm/@esbuild/win32-ia32@0.20.2 None 0 9.47 MB evanw
npm/@esbuild/win32-x64@0.20.2 None 0 9.83 MB evanw
npm/@eslint-community/eslint-utils@4.4.0 None 0 379 kB eslint-community-bot
npm/@eslint-community/regexpp@4.10.1 None 0 432 kB eslint-community-bot
npm/@eslint/eslintrc@2.1.4 filesystem, unsafe 0 659 kB eslintbot
npm/@eslint/js@8.57.0 None 0 13.9 kB eslintbot
npm/@ewsjs/ntlm-client@1.0.0 None 0 25.1 kB gautamsi
npm/@ewsjs/xhr@1.4.4 network 0 103 kB gautamsi
npm/@faker-js/faker@8.4.1 None 0 10.2 MB shinigami92
npm/@fal-works/esbuild-plugin-global-externals@2.1.2 None 0 19.5 kB fal-works
npm/@fastify/busboy@2.1.1 None 0 80.2 kB gurgunday
npm/@figspec/components@1.0.1 None 0 291 kB pocka
npm/@figspec/react@1.0.2 None 0 10.3 kB pocka
npm/@floating-ui/core@1.2.6 None 0 193 kB atomiks
npm/@floating-ui/dom@1.2.6 None 0 125 kB atomiks
npm/@floating-ui/react-dom@1.3.0 None 0 33.8 kB atomiks
npm/@floating-ui/react@0.19.2 environment 0 527 kB atomiks
npm/@flodlc/nebula@1.0.56 None 0 51.6 kB flodlc
npm/@formatjs/ecma402-abstract@1.11.4 None 0 275 kB longlho
npm/@formatjs/fast-memoize@1.2.1 None 0 12.2 kB longlho
npm/@formatjs/icu-messageformat-parser@2.1.0 None 0 216 kB longlho
npm/@formatjs/icu-skeleton-parser@1.3.6 None 0 39.3 kB longlho
npm/@formatjs/intl-displaynames@5.4.3 None 0 15.6 MB longlho
npm/@formatjs/intl-listformat@6.5.3 None 0 659 kB longlho
npm/@formatjs/intl-localematcher@0.2.25 None 0 38.2 kB longlho
npm/@formatjs/intl@2.2.1 environment 0 137 kB longlho
npm/@formbricks/api@1.4.0 network 0 102 kB matthiasnannt
npm/@formbricks/js@1.5.0 network 0 500 kB matthiasnannt
npm/@formkit/auto-animate@1.0.0-beta.5 None 0 35.4 kB justin-schroeder
npm/@gar/promisify@1.1.3 None 0 4.2 kB gar
npm/@getalby/lightning-tools@4.0.2 network 0 291 kB reneaaron
npm/@getalby/sdk@2.4.0 network 0 899 kB reneaaron
npm/@glidejs/glide@3.5.2 None 0 447 kB jedrzejchalubek
npm/@golevelup/ts-jest@0.4.0 None 0 20.1 kB wonderpanda
npm/@googleapis/admin@15.0.0 None 0 1.36 MB google-wombot
npm/@graphql-codegen/add@5.0.2 None 0 4.47 kB dotansimha
npm/@graphql-codegen/cli@5.0.2 environment, filesystem, network, shell, unsafe +5 1.32 MB dotansimha
npm/@graphql-codegen/client-preset@4.2.6 None 0 65 kB dotansimha
npm/@graphql-codegen/core@4.0.2 None 0 39.2 kB dotansimha
npm/@graphql-codegen/gql-tag-operations@4.0.7 None 0 14.2 kB dotansimha
npm/@graphql-codegen/plugin-helpers@5.0.4 unsafe 0 114 kB dotansimha
npm/@graphql-codegen/schema-ast@4.0.2 None 0 11.3 kB dotansimha
npm/@graphql-codegen/typed-document-node@5.0.7 None 0 17.9 kB dotansimha
npm/@graphql-codegen/typescript-operations@4.2.1 None 0 45.1 kB dotansimha
npm/@graphql-codegen/typescript@4.0.7 None 0 90.2 kB dotansimha
npm/@graphql-codegen/visitor-plugin-common@5.2.0 None 0 562 kB dotansimha
npm/@graphql-tools/apollo-engine-loader@8.0.1 network Transitive: environment, filesystem +3 253 kB ardatan
npm/@graphql-tools/batch-execute@9.0.4 None 0 37.4 kB ardatan
npm/@graphql-tools/code-file-loader@8.1.2 filesystem, unsafe 0 37.4 kB ardatan
npm/@graphql-tools/delegate@10.0.11 None 0 218 kB ardatan
npm/@graphql-tools/documents@1.0.1 None 0 18.5 kB ardatan
npm/@graphql-tools/executor-graphql-ws@1.1.2 None 0 6.98 kB ardatan
npm/@graphql-tools/executor-http@1.0.9 None 0 58.4 kB ardatan
npm/@graphql-tools/executor-legacy-ws@1.0.6 None 0 15.8 kB ardatan
npm/@graphql-tools/executor@1.2.6 None 0 165 kB ardatan
npm/@graphql-tools/git-loader@8.0.6 shell 0 26.8 kB ardatan
npm/@graphql-tools/github-loader@8.0.1 None 0 16 kB ardatan
npm/@graphql-tools/graphql-file-loader@8.0.1 filesystem 0 17.6 kB ardatan
npm/@graphql-tools/graphql-tag-pluck@8.3.1 None 0 66.4 kB ardatan
npm/@graphql-tools/import@7.0.1 filesystem 0 62.4 kB ardatan
npm/@graphql-tools/json-file-loader@8.0.1 filesystem 0 15.5 kB ardatan
npm/@graphql-tools/load@8.0.2 unsafe +1 83.7 kB ardatan
npm/@graphql-tools/merge@9.0.4 None 0 96.4 kB ardatan
npm/@graphql-tools/optimize@2.0.0 None 0 16.2 kB ardatan
npm/@graphql-tools/prisma-loader@8.0.4 environment, filesystem, network 0 131 kB ardatan
npm/@graphql-tools/relay-operation-optimizer@7.0.1 None 0 8.47 kB ardatan
npm/@graphql-tools/schema@10.0.4 None 0 68.3 kB ardatan
npm/@graphql-tools/url-loader@8.0.2 network 0 35.9 kB ardatan
npm/@graphql-tools/utils@10.2.1 None 0 500 kB ardatan
npm/@graphql-tools/wrap@10.0.5 None 0 281 kB ardatan
npm/@graphql-typed-document-node/core@3.2.0 None 0 2.96 kB dotansimha
npm/@grpc/grpc-js@1.10.8 environment, filesystem, network 0 1.85 MB murgatroid99
npm/@grpc/proto-loader@0.7.13 filesystem 0 120 kB murgatroid99
npm/@hapi/hoek@9.3.0 None 0 51.5 kB devinivy
npm/@hapi/topo@5.1.0 None 0 10.7 kB devinivy
npm/@headlessui/react@1.7.18 environment 0 2.06 MB malfaitrobin
npm/@heroicons/react@1.0.6 None 0 860 kB bradlc
npm/@hookform/error-message@2.0.0 None 0 21.3 kB bluebill1049
npm/@hookform/resolvers@2.9.7 None 0 2.86 MB bluebill1049
npm/@hubspot/api-client@6.0.1 Transitive: filesystem, network +1 9.53 MB ksvirkou-hubspot
npm/@humanwhocodes/config-array@0.11.14 None 0 55.6 kB nzakas
npm/@humanwhocodes/module-importer@1.0.1 unsafe 0 21.2 kB nzakas
npm/@humanwhocodes/object-schema@2.0.3 None 0 23.3 kB nzakas
npm/@iarna/toml@2.2.5 eval 0 99 kB iarna
npm/@ioredis/commands@1.2.0 None 0 55.6 kB ioredis-robot
npm/@isaacs/cliui@8.0.2 None +4 67.2 kB isaacs
npm/@istanbuljs/load-nyc-config@1.1.0 environment, filesystem 0 10.9 kB coreyfarrell
npm/@istanbuljs/schema@0.1.3 None 0 17.2 kB coreyfarrell
npm/@jest/console@29.7.0 None 0 19 kB simenb
npm/@jest/core@29.7.0 unsafe 0 145 kB simenb
npm/@jest/environment@29.7.0 None 0 15.9 kB simenb
npm/@jest/expect-utils@29.7.0 None 0 28.3 kB simenb
npm/@jest/expect@29.7.0 None 0 5.23 kB simenb
npm/@jest/fake-timers@29.7.0 None 0 26.3 kB simenb
npm/@jest/globals@29.7.0 None 0 5.26 kB simenb
npm/@jest/reporters@29.7.0 environment, unsafe 0 115 kB simenb
npm/@jest/schemas@29.6.3 None 0 6.07 kB simenb
npm/@jest/source-map@29.6.3 None 0 5.07 kB simenb
npm/@jest/test-result@29.7.0 None 0 15.8 kB simenb
npm/@jest/test-sequencer@29.7.0 None 0 13.6 kB simenb
npm/@jest/transform@29.7.0 None 0 52.4 kB simenb
npm/@jest/types@29.6.3 None 0 32.7 kB simenb
npm/@jimp/bmp@0.16.1 None 0 263 kB alisowski
npm/@jimp/core@0.22.12 environment, filesystem, network +2 434 kB alisowski
npm/@jimp/custom@0.22.12 None 0 35.1 kB alisowski
npm/@jimp/gif@0.16.1 None 0 150 kB alisowski
npm/@jimp/jpeg@0.16.1 None 0 163 kB alisowski
npm/@jimp/plugin-blit@0.16.1 None 0 732 kB alisowski
npm/@jimp/plugin-blur@0.16.1 None 0 74.6 kB alisowski
npm/@jimp/plugin-circle@0.16.1 None 0 18.7 kB alisowski
npm/@jimp/plugin-color@0.16.1 None 0 409 kB alisowski
npm/@jimp/plugin-contain@0.16.1 None 0 29 kB alisowski
npm/@jimp/plugin-cover@0.16.1 None 0 24.3 kB alisowski
npm/@jimp/plugin-crop@0.22.12 None 0 89.1 kB alisowski
npm/@jimp/plugin-displace@0.16.1 None 0 14.7 kB alisowski
npm/@jimp/plugin-dither@0.16.1 None 0 12.5 kB alisowski
npm/@jimp/plugin-fisheye@0.16.1 None 0 18.7 kB alisowski
npm/@jimp/plugin-flip@0.16.1 None 0 16 kB alisowski
npm/@jimp/plugin-gaussian@0.16.1 None 0 22.9 kB alisowski
npm/@jimp/plugin-invert@0.16.1 None 0 9.55 kB alisowski
npm/@jimp/plugin-mask@0.16.1 None 0 23.9 kB alisowski
npm/@jimp/plugin-normalize@0.16.1 None 0 22.3 kB alisowski
npm/@jimp/plugin-print@0.16.1 environment 0 899 kB alisowski
npm/@jimp/plugin-resize@0.22.12 None 0 227 kB alisowski
npm/@jimp/plugin-rotate@0.22.12 None 0 75.6 kB alisowski
npm/@jimp/plugin-scale@0.22.12 None 0 19.6 kB alisowski
npm/@jimp/plugin-shadow@0.16.1 None 0 21.8 kB alisowski
npm/@jimp/plugin-threshold@0.16.1 None 0 672 kB alisowski
npm/@jimp/plugins@0.16.1 None +4 269 kB alisowski
npm/@jimp/png@0.16.1 None 0 257 kB alisowski
npm/@jimp/tiff@0.16.1 None 0 1.46 MB alisowski
npm/@jimp/types@0.16.1 None 0 7.56 kB alisowski
npm/@jimp/utils@0.16.13 None 0 12 kB alisowski
npm/@jridgewell/gen-mapping@0.3.5 None 0 81.6 kB jridgewell
npm/@jridgewell/resolve-uri@3.1.2 None 0 53.2 kB jridgewell
npm/@jridgewell/set-array@1.2.1 None 0 17.9 kB jridgewell
npm/@jridgewell/source-map@0.3.2 None 0 231 kB jridgewell
npm/@jridgewell/sourcemap-codec@1.4.15 None 0 45.9 kB jridgewell
npm/@jridgewell/trace-mapping@0.3.9 None 0 92.3 kB jridgewell
npm/@js-joda/core@5.6.2 None 0 7.72 MB pithu
npm/@jsdevtools/ono@7.1.3 None 0 105 kB jamesmessinger
npm/@juggle/resize-observer@3.4.0 None 0 73.7 kB trem
npm/@kamilkisiela/fast-url-parser@1.1.4 None 0 46.1 kB kamilkisiela
npm/@langchain/community@0.0.26 None +1 3.37 MB jacoblee93
npm/@langchain/core@0.1.63 Transitive: environment, filesystem, network, shell +4 2.48 MB jacoblee93
npm/@langchain/openai@0.0.14 None 0 256 kB jacoblee93
npm/@langchain/openai@0.0.34 None 0 262 kB jacoblee93
npm/@lexical/clipboard@0.9.1 environment 0 28.2 kB zurfyx
npm/@lexical/code@0.9.1 environment 0 57.9 kB zurfyx
npm/@lexical/dragon@0.9.1 environment 0 7.07 kB zurfyx
npm/@lexical/hashtag@0.9.1 environment 0 6.85 kB zurfyx
npm/@lexical/history@0.9.1 environment 0 19.1 kB zurfyx
npm/@lexical/html@0.9.1 environment 0 12.7 kB zurfyx
npm/@lexical/link@0.9.1 environment 0 20.6 kB zurfyx
npm/@lexical/list@0.9.1 environment 0 72.7 kB zurfyx
npm/@lexical/mark@0.9.1 environment 0 17.8 kB zurfyx
npm/@lexical/markdown@0.9.1 environment 0 62.8 kB zurfyx
npm/@lexical/offset@0.9.1 environment 0 20.3 kB zurfyx
npm/@lexical/overflow@0.9.1 environment 0 6.82 kB zurfyx
npm/@lexical/plain-text@0.9.1 environment 0 17.9 kB zurfyx
npm/@lexical/react@0.9.1 None 0 301 kB zurfyx
npm/@lexical/rich-text@0.9.1 environment 0 44.7 kB zurfyx
npm/@lexical/selection@0.9.1 environment 0 61.9 kB zurfyx
npm/@lexical/table@0.9.1 environment 0 118 kB zurfyx
npm/@lexical/text@0.9.1 environment 0 14.9 kB zurfyx
npm/@lexical/utils@0.9.1 environment 0 32.8 kB zurfyx
npm/@lexical/yjs@0.9.1 environment 0 99.4 kB zurfyx
npm/@lit-labs/react@1.2.1 None 0 173 kB lit-robot
npm/@lit/reactive-element@1.6.3 None 0 788 kB lit-robot
npm/@ljharb/through@2.3.13 None 0 31.7 kB ljharb
npm/@lukeed/csprng@1.1.0 None 0 5.97 kB lukeed
npm/@manypkg/find-root@1.1.0 environment, filesystem +1 159 kB manypkg-release-bot
npm/@manypkg/get-packages@1.1.3 environment, filesystem +1 52.8 kB manypkg-release-bot
npm/@mdx-js/react@2.3.0 None 0 14.6 kB wooorm
npm/@microsoft/api-extractor-model@7.28.3 None 0 789 kB odspnpm
npm/@microsoft/api-extractor@7.39.0 None +2 33.7 MB odspnpm
npm/@microsoft/microsoft-graph-types-beta@0.15.0-preview None 0 2.33 MB microsoftgraph
npm/@microsoft/microsoft-graph-types-beta@0.42.0-preview None 0 3.41 MB microsoftgraph
npm/@microsoft/tsdoc-config@0.16.2 filesystem +1 277 kB odspnpm
npm/@microsoft/tsdoc@0.14.2 None 0 2.62 MB odspnpm
npm/@mongodb-js/saslprep@1.1.7 None 0 648 kB devtoolsbot
npm/@mrleebo/prisma-ast@0.7.0 environment Transitive: filesystem +1 495 kB mrleebo
npm/@mswjs/cookies@0.2.1 None 0 11.9 kB kettanaito
npm/@mswjs/interceptors@0.16.6 None +1 550 kB kettanaito
npm/@mux/mux-player-react@2.7.0 None 0 149 kB mux-npmjs
npm/@mux/mux-player@2.7.0 network 0 3 MB mux-npmjs
npm/@mux/mux-video@0.19.0 network 0 6.02 MB mux-npmjs
npm/@mux/playback-core@0.24.0 network 0 5.58 MB mux-npmjs
npm/@ndelangen/get-tarball@3.0.9 network 0 586 kB ndelangen
npm/@nestjs/bull@10.1.1 None +1 84.3 kB nestjscore
npm/@nestjs/cli@10.3.2 Transitive: environment, filesystem, shell +9 2.23 MB nestjscore
npm/@prisma/client@5.4.2 environment, filesystem, shell +1 2.12 MB prismabot
npm/@radix-ui/react-dialog@1.0.5 None +7 423 kB benoitgrelard
npm/@sentry/node@7.116.0 environment, filesystem, network, shell, unsafe 0 2.13 MB sentry-bot
npm/@tanstack/react-query@5.40.0 environment +1 3.04 MB tannerlinsley
npm/@types/node@20.14.1 None 0 2.09 MB types
npm/@types/uuid@8.3.1 None 0 6.13 kB types
npm/babel-loader@8.3.0 filesystem Transitive: eval +6 1.15 MB nicolo-ribaudo
npm/bull@4.12.9 filesystem, shell Transitive: environment, eval, unsafe +10 2.9 MB manast
npm/eslint-config-next@13.5.6 unsafe Transitive: filesystem +5 426 kB vercel-release-bot
npm/fs-extra@11.2.0 Transitive: filesystem +2 79.3 kB ryanzim
npm/highlight.js@11.9.0 None 0 5.29 MB highlightjs_bot
npm/luxon@3.4.4 None 0 4.33 MB icambron
npm/next@13.5.6 environment, filesystem, network, shell, unsafe +12 1.11 GB vercel-release-bot
npm/next@14.0.4 environment, filesystem, network, shell, unsafe +10 1.15 GB vercel-release-bot
npm/prisma@5.14.0 environment 0 10.9 MB prismabot
npm/querystring@0.2.1 None 0 9.39 kB medikoo
npm/reflect-metadata@0.1.14 None 0 295 kB rbuckton
npm/stripe@9.16.0 network, shell 0 3.08 MB stripe-bindings
npm/supports-color@8.1.1 None +1 12.9 kB sindresorhus
npm/vite@4.5.3 environment, eval, filesystem, network, shell, unsafe +24 213 MB vitebot

🚮 Removed packages: npm/calcom-monorepo@0.0.0-use.local, npm/js-tokens@4.0.0, npm/lodash.isequal@4.5.0, npm/sisteransi@1.0.5, npm/wipemycal@0.0.0-use.local

View full report↗︎

Copy link

socket-security bot commented May 16, 2024

🚨 Potential security issues detected. Learn more about Socket for GitHub ↗︎

To accept the risk, merge this PR and you will not be notified again.

Alert Package NoteSource
Install scripts npm/esbuild@0.18.20
Install scripts npm/@prisma/client@5.4.2
  • Install script: postinstall
  • Source: node scripts/postinstall.js
Telemetry npm/next@13.5.6
  • Note: Can be disabled by setting the environment variable NEXT_TELEMETRY_DISABLED=1 . See https://nextjs.org/telemetry for more information
Telemetry npm/next@14.0.4
  • Note: Can be disabled by setting the environment variable NEXT_TELEMETRY_DISABLED=1 . See https://nextjs.org/telemetry for more information
Install scripts npm/prisma@5.14.0
  • Install script: preinstall
  • Source: node scripts/preinstall-entry.js
Install scripts npm/core-js@3.37.1
  • Install script: postinstall
  • Source: node -e "try{require('./postinstall')}catch(e){}"

View full report↗︎

Next steps

What is an install script?

Install scripts are run when the package is installed. The majority of malware in npm is hidden in install scripts.

Packages should not be running non-essential scripts during install and there are often solutions to problems people solve with install scripts that can be run at publish time instead.

What is telemetry?

This package contains telemetry which tracks how it is used.

Most telemetry comes with settings to disable it. Consider disabling telemetry if you do not want to be tracked.

Take a deeper look at the dependency

Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support [AT] socket [DOT] dev.

Remove the package

If you happen to install a dependency that Socket reports as Known Malware you should immediately remove it and select a different dependency. For other alert types, you may may wish to investigate alternative packages or consider if there are other ways to mitigate the specific risk posed by the dependency.

Mark a package as acceptable risk

To ignore an alert, reply with a comment starting with @SocketSecurity ignore followed by a space separated list of ecosystem/package-name@version specifiers. e.g. @SocketSecurity ignore npm/foo@1.0.0 or ignore all packages with @SocketSecurity ignore-all

  • @SocketSecurity ignore npm/esbuild@0.18.20
  • @SocketSecurity ignore npm/@prisma/client@5.4.2
  • @SocketSecurity ignore npm/next@13.5.6
  • @SocketSecurity ignore npm/next@14.0.4
  • @SocketSecurity ignore npm/prisma@5.14.0
  • @SocketSecurity ignore npm/core-js@3.37.1

Copy link

vercel bot commented May 16, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
ai ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 5, 2024 6:23am
2 Ignored Deployments
Name Status Preview Comments Updated (UTC)
cal ⬜️ Ignored (Inspect) Visit Preview Jun 5, 2024 6:23am
calcom-web-canary ⬜️ Ignored (Inspect) Visit Preview Jun 5, 2024 6:23am

Copy link
Contributor

github-actions bot commented May 16, 2024

📦 Next.js Bundle Analysis for @calcom/web

This analysis was generated by the Next.js Bundle Analysis action. 🤖

This PR introduced no changes to the JavaScript bundle! 🙌

Copy link

deploysentinel bot commented May 17, 2024

Current Playwright Test Results Summary

✅ 321 Passing - ⚠️ 13 Flaky

Run may still be in progress, this comment will be updated as current testing workflow or job completes...

(Last updated on 05/18/2024 06:12:57am UTC)

Run Details

Running Workflow PR Update on Github Actions

Commit: 2f0fdf0

Started: 05/18/2024 06:10:46am UTC

⚠️ Flakes

📄   apps/web/playwright/booking-seats.e2e.ts • 1 Flake

Test Case Results

Test Case Last 7 days Failures Last 7 days Flakes
Reschedule for booking with seats If rescheduled/cancelled booking with seats it should display the correct number of seats
Retry 1Initial Attempt
0% (0) 0 / 212 runs
failed over last 7 days
1.89% (4) 4 / 212 runs
flaked over last 7 days

📄   apps/web/playwright/profile.e2e.ts • 1 Flake

Test Case Results

Test Case Last 7 days Failures Last 7 days Flakes
Update Profile Can update a users email (verification enabled)
Retry 2Retry 1Initial Attempt
38.02% (92) 92 / 242 runs
failed over last 7 days
33.47% (81) 81 / 242 runs
flaked over last 7 days

📄   packages/app-store/routing-forms/playwright/tests/basic.e2e.ts • 1 Flake

Test Case Results

Test Case Last 7 days Failures Last 7 days Flakes
Routing Forms Seeded Routing Form Test preview should return correct route
Retry 1Initial Attempt
0.91% (2) 2 / 219 runs
failed over last 7 days
31.05% (68) 68 / 219 runs
flaked over last 7 days

📄   apps/web/playwright/event-types.e2e.ts • 1 Flake

Test Case Results

Test Case Last 7 days Failures Last 7 days Flakes
Event Types tests -- legacy user Different Locations Tests Can remove location from multiple locations that are saved
Retry 1Initial Attempt
4.48% (10) 10 / 223 runs
failed over last 7 days
19.28% (43) 43 / 223 runs
flaked over last 7 days

📄   apps/web/playwright/managedBooking/advancedOptions.e2e.ts • 1 Flake

Test Case Results

Test Case Last 7 days Failures Last 7 days Flakes
Check advanced options in a managed team event type Check advanced options in a managed team event type without offer seats
Retry 1Initial Attempt
0.45% (1) 1 / 220 run
failed over last 7 days
48.18% (106) 106 / 220 runs
flaked over last 7 days

📄   apps/web/playwright/signup.e2e.ts • 1 Flake

Test Case Results

Test Case Last 7 days Failures Last 7 days Flakes
Signup Flow Test Email verification sent if enabled
Retry 1Initial Attempt
0.85% (2) 2 / 234 runs
failed over last 7 days
25.64% (60) 60 / 234 runs
flaked over last 7 days

📄   packages/embeds/embed-core/playwright/tests/namespacing.e2e.ts • 4 Flakes

Top 1 Common Error Messages

null

4 Test Cases Affected

Test Case Results

Test Case Last 7 days Failures Last 7 days Flakes
Namespacing Inline Embed Add inline embed using a namespace without reload
Retry 1Initial Attempt
0.46% (1) 1 / 219 run
failed over last 7 days
60.27% (132) 132 / 219 runs
flaked over last 7 days
Namespacing Inline Embed Double install Embed Snippet with inline embed without a namespace(i.e. default namespace)
Retry 1Initial Attempt
0% (0) 0 / 219 runs
failed over last 7 days
63.01% (138) 138 / 219 runs
flaked over last 7 days
Namespacing Inline Embed Double install Embed Snippet with inline embed using a namespace
Retry 1Initial Attempt
0.46% (1) 1 / 219 run
failed over last 7 days
60.27% (132) 132 / 219 runs
flaked over last 7 days
Namespacing Different namespaces can have different init configs
Retry 1Initial Attempt
0% (0) 0 / 217 runs
failed over last 7 days
60.37% (131) 131 / 217 runs
flaked over last 7 days

📄   apps/web/playwright/hash-my-url.e2e.ts • 1 Flake

Test Case Results

Test Case Last 7 days Failures Last 7 days Flakes
hash my url generate url hash
Retry 2Retry 1Initial Attempt
5.96% (13) 13 / 218 runs
failed over last 7 days
27.98% (61) 61 / 218 runs
flaked over last 7 days

📄   apps/web/playwright/teams.e2e.ts • 1 Flake

Test Case Results

Test Case Last 7 days Failures Last 7 days Flakes
Teams - NonOrg -- legacy Can create a booking for Round Robin EventType
Retry 2Retry 1Initial Attempt
7.30% (17) 17 / 233 runs
failed over last 7 days
28.76% (67) 67 / 233 runs
flaked over last 7 days

📄   apps/web/playwright/organization/booking.e2e.ts • 1 Flake

Test Case Results

Test Case Last 7 days Failures Last 7 days Flakes
Bookings Team Event Can create a booking for Round Robin EventType
Retry 2Retry 1Initial Attempt
7.89% (18) 18 / 228 runs
failed over last 7 days
27.63% (63) 63 / 228 runs
flaked over last 7 days

View Detailed Build Results


Copy link
Contributor

@supalarry supalarry left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Have refactor suggestions below.

Also, do you think it's possible to add tests to ensure that queue works as expected? It's hard to test this one manually.

packages/features/bookings/lib/handleCancelBooking.ts Outdated Show resolved Hide resolved
apps/api/v2/src/modules/billing/billing.processor.ts Outdated Show resolved Hide resolved
…b.com:calcom/cal.com into chore-platformapi-billing-queue
@keithwillcode
Copy link
Contributor

@ThyMinimalDev Curious if you think we could achieve the same result by having a cron running every X minutes that calculates number of bookings completed and updates usage?

With that approach, we don't need to handle all this logic to chase down the message that was pushed to the queue in the future.

@ThyMinimalDev
Copy link
Contributor Author

ThyMinimalDev commented Jun 4, 2024

@ThyMinimalDev Curious if you think we could achieve the same result by having a cron running every X minutes that calculates number of bookings completed and updates usage?

With that approach, we don't need to handle all this logic to chase down the message that was pushed to the queue in the future.

@ThyMinimalDev Curious if you think we could achieve the same result by having a cron running every X minutes that calculates number of bookings completed and updates usage?

With that approach, we don't need to handle all this logic to chase down the message that was pushed to the queue in the future.

A cron is a good option as well, we could have it look at the non cancelled booking of managed users that are in the past, we would need to add en entry in the database to index and filter the ones that have not yet been counted toward usage

I don't think we would need to worry about stripe rate limiting until some time

@sean-brydon
Copy link
Member

need to add en entry in the database to index and filter the ones that have not yet been counted toward usage

Would we actually need this if you can just compare the count of the current bookings - even if you keep a running count elsewhere - redis for example?

Then every billing period we just compare the current usage to the value we have in redis and charge accordingly. I was just thinking of ways to do this without queues as it feels weird if i booking is 3 months in advance, do i want that job sitting waiting to run for that long?

@ThyMinimalDev
Copy link
Contributor Author

ThyMinimalDev commented Jun 4, 2024

need to add en entry in the database to index and filter the ones that have not yet been counted toward usage

Would we actually need this if you can just compare the count of the current bookings - even if you keep a running count elsewhere - redis for example?

Then every billing period we just compare the current usage to the value we have in redis and charge accordingly. I was just thinking of ways to do this without queues as it feels weird if i booking is 3 months in advance, do i want that job sitting waiting to run for that long?

that's a good idea, only difficulty I can see is that everyone has different billing cycles

in the end I think the complexity is same-same, but different

@sean-brydon
Copy link
Member

need to add en entry in the database to index and filter the ones that have not yet been counted toward usage

Would we actually need this if you can just compare the count of the current bookings - even if you keep a running count elsewhere - redis for example?
Then every billing period we just compare the current usage to the value we have in redis and charge accordingly. I was just thinking of ways to do this without queues as it feels weird if i booking is 3 months in advance, do i want that job sitting waiting to run for that long?

that's a good idea, only difficulty I can see is that everyone has different billing cycles

in the end I think the complexity is same-same, but different

Agreed - I just wonder if that is a easier / better approach than doing it via canceling a job.

I dont think billing cycles are an issue here if we already have a cron running every day to update this "count" we can check if its like a day before the billing date for that subscription then push the usage record to stripe?

Should probably be an RFC where we come up with a standard to do this cause private-api needs it too

@ThyMinimalDev
Copy link
Contributor Author

I think the ea

need to add en entry in the database to index and filter the ones that have not yet been counted toward usage

Would we actually need this if you can just compare the count of the current bookings - even if you keep a running count elsewhere - redis for example?
Then every billing period we just compare the current usage to the value we have in redis and charge accordingly. I was just thinking of ways to do this without queues as it feels weird if i booking is 3 months in advance, do i want that job sitting waiting to run for that long?

that's a good idea, only difficulty I can see is that everyone has different billing cycles
in the end I think the complexity is same-same, but different

Agreed - I just wonder if that is a easier / better approach than doing it via canceling a job.

I dont think billing cycles are an issue here if we already have a cron running every day to update this "count" we can check if its like a day before the billing date for that subscription then push the usage record to stripe?

Should probably be an RFC where we come up with a standard to do this cause private-api needs it too

If we don't want to use jobs, the easiest is to increment a count in a redis store, and have a cron that runs often enough to push the usage to stripe and reset it to 0, that way we don't to worry about billing cycles

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api area: API, enterprise API, access token, OAuth billing area: billing, stripe, payments, paypal, get paid bookings area: bookings, availability, timezones, double booking core area: core, team members only platform Anything related to our platform plan
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants